14 #ifndef LLVM_LIB_TARGET_BPF_BPFINSTRINFO_H 15 #define LLVM_LIB_TARGET_BPF_BPFINSTRINFO_H 20 #define GET_INSTRINFO_HEADER 21 #include "BPFGenInstrInfo.inc" 34 const DebugLoc &DL,
unsigned DestReg,
unsigned SrcReg,
35 bool KillSrc)
const override;
52 bool AllowModify)
const override;
55 int *BytesRemoved =
nullptr)
const override;
59 int *BytesAdded =
nullptr)
const override;
This class represents lattice values for constants.
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const override
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
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