Go to the documentation of this file.
33 #ifndef TCE_REGISTER_INFO_H
34 #define TCE_REGISTER_INFO_H
36 #include <llvm/ADT/BitVector.h>
40 #define GET_REGINFO_HEADER
41 #include "TCEGenRegisterInfo.inc"
43 #include "tce_config.h"
46 class TargetInstrInfo;
48 class TCEFrameLowering;
60 MachineBasicBlock &MBB,
61 MachineBasicBlock::iterator I)
const;
68 int SPAdj,
unsigned FIOperandNum,
69 RegScavenger *RS = NULL)
const override;
79 bool hasFP(
const MachineFunction &MF)
const;
84 const TargetInstrInfo&
tii_;
void setTFI(const TCEFrameLowering *tfi)
bool requiresRegisterScavenging(const MachineFunction &) const override
TCERegisterInfo(const TargetInstrInfo &tii)
int getLLVMRegNum(unsigned int, bool) const
virtual ~TCERegisterInfo()
Register getFrameRegister(const MachineFunction &mf) const override
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF=0) const override
bool hasFP(const MachineFunction &MF) const
void eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const
BitVector getReservedRegs(const MachineFunction &MF) const override
int getDwarfRegNum(unsigned regNum, bool isEH) const
void setReservedVectorRegs(llvm::BitVector &reserved) const
const TargetInstrInfo & tii_
unsigned getRARegister() const
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=NULL) const override
const TCEFrameLowering * tfi_