LLVM 20.0.0git
|
MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific information for each MachineFunction. More...
#include "Target/Mips/MipsMachineFunction.h"
Public Attributes | |
std::map< const char *, const Mips16HardFloatInfo::FuncSignature * > | StubsNeeded |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::MachineFunctionInfo | |
template<typename FuncInfoTy , typename SubtargetTy = TargetSubtargetInfo> | |
static FuncInfoTy * | create (BumpPtrAllocator &Allocator, const Function &F, const SubtargetTy *STI) |
Factory function: default behavior is to call new using the supplied allocator. | |
template<typename Ty > | |
static Ty * | create (BumpPtrAllocator &Allocator, const Ty &MFI) |
MipsFunctionInfo - This class is derived from MachineFunction private Mips target-specific information for each MachineFunction.
Definition at line 25 of file MipsMachineFunction.h.
|
inline |
Definition at line 27 of file MipsMachineFunction.h.
|
overridedefault |
MachinePointerInfo MipsFunctionInfo::callPtrInfo | ( | MachineFunction & | MF, |
const char * | ES | ||
) |
Create a MachinePointerInfo that has an ExternalSymbolPseudoSourceValue object representing a GOT entry for an external function.
Definition at line 191 of file MipsMachineFunction.cpp.
References llvm::PseudoSourceValueManager::getExternalSymbolCallEntry(), and llvm::MachineFunction::getPSVManager().
MachinePointerInfo MipsFunctionInfo::callPtrInfo | ( | MachineFunction & | MF, |
const GlobalValue * | GV | ||
) |
Create a MachinePointerInfo that has a GlobalValuePseudoSourceValue object representing a GOT entry for a global function.
Definition at line 196 of file MipsMachineFunction.cpp.
References llvm::PseudoSourceValueManager::getGlobalValueCallEntry(), and llvm::MachineFunction::getPSVManager().
|
inline |
Definition at line 58 of file MipsMachineFunction.h.
Referenced by llvm::MipsSEFrameLowering::determineCalleeSaves(), llvm::MipsSEFrameLowering::emitEpilogue(), and llvm::MipsSEFrameLowering::emitPrologue().
|
overridevirtual |
Make a functionally equivalent copy of this MachineFunctionInfo in MF
.
This requires remapping MachineBasicBlock references from the original parent to values in the new function. Targets may assume that virtual register and frame index values are preserved in the new function.
Reimplemented from llvm::MachineFunctionInfo.
Definition at line 27 of file MipsMachineFunction.cpp.
References llvm::MachineFunction::cloneInfo().
void MipsFunctionInfo::createEhDataRegsFI | ( | MachineFunction & | MF | ) |
Definition at line 157 of file MipsMachineFunction.cpp.
References llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), I, and TRI.
Referenced by llvm::MipsSEFrameLowering::determineCalleeSaves().
void MipsFunctionInfo::createISRRegFI | ( | MachineFunction & | MF | ) |
Definition at line 170 of file MipsMachineFunction.cpp.
References llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), I, and TRI.
Referenced by llvm::MipsSEFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 62 of file MipsMachineFunction.h.
References Reg.
Referenced by llvm::MipsSEFrameLowering::emitEpilogue(), and llvm::MipsSEFrameLowering::emitPrologue().
Register MipsFunctionInfo::getGlobalBaseReg | ( | MachineFunction & | MF | ) |
Definition at line 55 of file MipsMachineFunction.cpp.
References llvm::MachineRegisterInfo::createVirtualRegister(), getGlobalBaseRegClass(), and llvm::MachineFunction::getRegInfo().
Referenced by getGlobalBaseRegForGlobalISel(), and llvm::MipsTargetLowering::getGlobalReg().
Register MipsFunctionInfo::getGlobalBaseRegForGlobalISel | ( | MachineFunction & | MF | ) |
Definition at line 62 of file MipsMachineFunction.cpp.
References getGlobalBaseReg(), and initGlobalBaseReg().
Referenced by llvm::MipsCallLowering::lowerCall().
|
inline |
Definition at line 56 of file MipsMachineFunction.h.
|
inline |
Definition at line 74 of file MipsMachineFunction.h.
References Reg.
int MipsFunctionInfo::getMoveF64ViaSpillFI | ( | MachineFunction & | MF, |
const TargetRegisterClass * | RC | ||
) |
Definition at line 201 of file MipsMachineFunction.cpp.
References llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), and TRI.
|
inline |
Definition at line 36 of file MipsMachineFunction.h.
|
inline |
Definition at line 47 of file MipsMachineFunction.h.
bool MipsFunctionInfo::globalBaseRegSet | ( | ) | const |
Definition at line 35 of file MipsMachineFunction.cpp.
|
inline |
Definition at line 50 of file MipsMachineFunction.h.
|
inline |
Definition at line 82 of file MipsMachineFunction.h.
Referenced by llvm::MipsRegisterInfo::getReservedRegs().
void MipsFunctionInfo::initGlobalBaseReg | ( | MachineFunction & | MF | ) |
Definition at line 70 of file MipsMachineFunction.cpp.
References llvm::MachineInstrBuilder::addExternalSymbol(), llvm::MachineInstrBuilder::addGlobalAddress(), llvm::MachineBasicBlock::addLiveIn(), llvm::MachineRegisterInfo::addLiveIn(), llvm::MachineInstrBuilder::addReg(), assert(), llvm::MachineBasicBlock::begin(), llvm::BuildMI(), llvm::MachineRegisterInfo::createVirtualRegister(), DL, llvm::MachineFunction::front(), llvm::MachineFunction::getFunction(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), I, llvm::TargetMachine::isPositionIndependent(), MBB, llvm::MipsII::MO_ABS_HI, llvm::MipsII::MO_ABS_LO, llvm::MipsII::MO_GPOFF_HI, llvm::MipsII::MO_GPOFF_LO, and TII.
Referenced by getGlobalBaseRegForGlobalISel().
bool MipsFunctionInfo::isEhDataRegFI | ( | int | FI | ) | const |
Definition at line 183 of file MipsMachineFunction.cpp.
|
inline |
Definition at line 71 of file MipsMachineFunction.h.
Referenced by llvm::MipsSEFrameLowering::determineCalleeSaves().
bool MipsFunctionInfo::isISRRegFI | ( | int | FI | ) | const |
Definition at line 188 of file MipsMachineFunction.cpp.
|
inline |
Definition at line 59 of file MipsMachineFunction.h.
Definition at line 51 of file MipsMachineFunction.h.
References Size.
|
inline |
Definition at line 72 of file MipsMachineFunction.h.
|
inline |
Definition at line 81 of file MipsMachineFunction.h.
|
inline |
Definition at line 37 of file MipsMachineFunction.h.
References Reg.
|
inline |
Definition at line 48 of file MipsMachineFunction.h.
std::map<const char *, const Mips16HardFloatInfo::FuncSignature *> llvm::MipsFunctionInfo::StubsNeeded |
Definition at line 87 of file MipsMachineFunction.h.
Referenced by llvm::MipsAsmPrinter::runOnMachineFunction().