14 #ifndef LLVM_TARGET_MSP430INSTRINFO_H
15 #define LLVM_TARGET_MSP430INSTRINFO_H
20 #define GET_INSTRINFO_HEADER
21 #include "MSP430GenInstrInfo.inc"
25 class MSP430TargetMachine;
45 virtual void anchor();
57 unsigned DestReg,
unsigned SrcReg,
62 unsigned SrcReg,
bool isKill,
68 unsigned DestReg,
int FrameIdx,
80 bool AllowModify)
const;
virtual void storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const
bool isUnpredicatedTerminator(const MachineInstr *MI) const
unsigned RemoveBranch(MachineBasicBlock &MBB) const
MSP430InstrInfo(MSP430TargetMachine &TM)
bool ReverseBranchCondition(SmallVectorImpl< MachineOperand > &Cond) const
virtual void loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIdx, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const
unsigned GetInstSizeInBytes(const MachineInstr *MI) const
void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const
virtual const TargetRegisterInfo & getRegisterInfo() const
bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl< MachineOperand > &Cond, bool AllowModify) const
unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl< MachineOperand > &Cond, DebugLoc DL) const