13 #ifndef LLVM_LIB_TARGET_BPF_BPFINSTRINFO_H 14 #define LLVM_LIB_TARGET_BPF_BPFINSTRINFO_H 19 #define GET_INSTRINFO_HEADER 20 #include "BPFGenInstrInfo.inc" 34 bool KillSrc)
const override;
51 bool AllowModify)
const override;
54 int *BytesRemoved =
nullptr)
const override;
58 int *BytesAdded =
nullptr)
const override;
Wrapper class representing physical registers. Should be passed by value.
This class represents lattice values for constants.
unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &DL, int *BytesAdded=nullptr) const override
unsigned const TargetRegisterInfo * TRI
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override
bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override
const BPFRegisterInfo & getRegisterInfo() const
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
void loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, MCRegister DestReg, MCRegister SrcReg, bool KillSrc) const override
bool expandPostRAPseudo(MachineInstr &MI) const override
Representation of each machine instruction.
void storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override