14 #ifndef LLVM_LIB_TARGET_ARC_ARCINSTRINFO_H 15 #define LLVM_LIB_TARGET_ARC_ARCINSTRINFO_H 20 #define GET_INSTRINFO_HEADER 21 #include "ARCGenInstrInfo.inc" 29 virtual void anchor();
50 int &FrameIndex)
const override;
57 bool AllowModify)
const override;
62 int *BytesAdded =
nullptr)
const override;
65 int *BytesRemoved =
nullptr)
const override;
68 const DebugLoc &dl,
unsigned DestReg,
unsigned SrcReg,
69 bool KillSrc)
const override;
73 bool isKill,
int FrameIndex,
94 #endif // LLVM_LIB_TARGET_ARC_ARCINSTRINFO_H const ARCRegisterInfo & getRegisterInfo() const
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 const TargetRegisterInfo * TRI
MachineBasicBlock::iterator loadImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned Reg, uint64_t Value) const
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 insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef< MachineOperand > Cond, const DebugLoc &dl, int *BytesAdded=nullptr) const override
void storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
unsigned isStoreToStackSlot(const MachineInstr &MI, int &FrameIndex) const override
If the specified machine instruction is a direct store to a stack slot, return the virtual or physica...
bool reverseBranchCondition(SmallVectorImpl< MachineOperand > &Cond) const override
Return the inverse opcode of the specified Branch instruction.
bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const override
Analyze the branching code at the end of MBB, returning true if it cannot be understood (e...
Representation of each machine instruction.
unsigned getInstSizeInBytes(const MachineInstr &MI) const override
LLVM Value Representation.
void loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const override
unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved=nullptr) const override
unsigned isLoadFromStackSlot(const MachineInstr &MI, int &FrameIndex) const override
If the specified machine instruction is a direct load from a stack slot, return the virtual or physic...