LLVM
8.0.1
|
#include "Target/Sparc/SparcRegisterInfo.h"
Public Member Functions | |
SparcRegisterInfo () | |
const MCPhysReg * | getCalleeSavedRegs (const MachineFunction *MF) const override |
Code Generation virtual methods... More... | |
const uint32_t * | getCallPreservedMask (const MachineFunction &MF, CallingConv::ID CC) const override |
const uint32_t * | getRTCallPreservedMask (CallingConv::ID CC) const |
BitVector | getReservedRegs (const MachineFunction &MF) const override |
const TargetRegisterClass * | getPointerRegClass (const MachineFunction &MF, unsigned Kind) const override |
void | eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override |
unsigned | getFrameRegister (const MachineFunction &MF) const override |
bool | canRealignStack (const MachineFunction &MF) const override |
Definition at line 23 of file SparcRegisterInfo.h.
SparcRegisterInfo::SparcRegisterInfo | ( | ) |
Definition at line 37 of file SparcRegisterInfo.cpp.
|
override |
Definition at line 224 of file SparcRegisterInfo.cpp.
References llvm::TargetRegisterInfo::canRealignStack().
|
override |
Definition at line 165 of file SparcRegisterInfo.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::BuildMI(), llvm::ISD::FrameIndex, llvm::MCInstrInfo::get(), llvm::MachineInstr::getDebugLoc(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getIndex(), llvm::SparcSubtarget::getInstrInfo(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::MachineFunction::getSubtarget(), llvm::SparcSubtarget::hasHardQuad(), llvm::SparcSubtarget::isV9(), MI, replaceFI(), llvm::MachineInstr::setDesc(), llvm::MachineOperand::setReg(), and TII.
|
override |
Code Generation virtual methods...
Definition at line 40 of file SparcRegisterInfo.cpp.
|
override |
Definition at line 45 of file SparcRegisterInfo.cpp.
Referenced by llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::SparcTargetLowering::LowerGlobalTLSAddress().
|
override |
Definition at line 216 of file SparcRegisterInfo.cpp.
Referenced by llvm::SparcFrameLowering::getFrameIndexReference().
|
override |
Definition at line 106 of file SparcRegisterInfo.cpp.
References llvm::MachineFunction::getSubtarget(), and llvm::SparcSubtarget::is64Bit().
|
override |
Definition at line 55 of file SparcRegisterInfo.cpp.
References llvm::MachineFunction::getSubtarget(), llvm::SparcSubtarget::is64Bit(), llvm::SparcSubtarget::isV9(), llvm::MCRegAliasIterator::isValid(), ReserveAppRegisters, and llvm::BitVector::set().
const uint32_t * SparcRegisterInfo::getRTCallPreservedMask | ( | CallingConv::ID | CC | ) | const |
Definition at line 51 of file SparcRegisterInfo.cpp.
Referenced by llvm::SparcTargetLowering::LowerCall_32(), and llvm::SparcTargetLowering::LowerCall_64().