LLVM 20.0.0git
|
XCoreFunctionInfo - This class is derived from MachineFunction private XCore target-specific information for each MachineFunction. More...
#include "Target/XCore/XCoreMachineFunctionInfo.h"
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) |
XCoreFunctionInfo - This class is derived from MachineFunction private XCore target-specific information for each MachineFunction.
Definition at line 27 of file XCoreMachineFunctionInfo.h.
|
default |
|
inlineexplicit |
Definition at line 46 of file XCoreMachineFunctionInfo.h.
|
overridedefault |
|
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 18 of file XCoreMachineFunctionInfo.cpp.
References llvm::MachineFunction::cloneInfo().
const int * XCoreFunctionInfo::createEHSpillSlot | ( | MachineFunction & | MF | ) |
Definition at line 72 of file XCoreMachineFunctionInfo.cpp.
References llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), Size, and TRI.
Referenced by llvm::XCoreFrameLowering::determineCalleeSaves().
int XCoreFunctionInfo::createFPSpillSlot | ( | MachineFunction & | MF | ) |
Definition at line 59 of file XCoreMachineFunctionInfo.cpp.
References llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), and TRI.
Referenced by llvm::XCoreFrameLowering::determineCalleeSaves().
int XCoreFunctionInfo::createLRSpillSlot | ( | MachineFunction & | MF | ) |
Definition at line 41 of file XCoreMachineFunctionInfo.cpp.
References llvm::MachineFrameInfo::CreateFixedObject(), llvm::MachineFrameInfo::CreateStackObject(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunction(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), llvm::Function::isVarArg(), and TRI.
Referenced by llvm::XCoreFrameLowering::determineCalleeSaves().
|
inline |
Definition at line 75 of file XCoreMachineFunctionInfo.h.
References assert().
Referenced by GetEHSpillList().
|
inline |
Definition at line 68 of file XCoreMachineFunctionInfo.h.
References assert().
Referenced by GetSpillList().
|
inline |
Definition at line 61 of file XCoreMachineFunctionInfo.h.
References assert().
Referenced by llvm::XCoreFrameLowering::emitEpilogue(), llvm::XCoreFrameLowering::emitPrologue(), and GetSpillList().
|
inline |
Definition at line 86 of file XCoreMachineFunctionInfo.h.
References assert().
|
inline |
Definition at line 94 of file XCoreMachineFunctionInfo.h.
Referenced by llvm::XCoreFrameLowering::emitPrologue(), and llvm::XCoreFrameLowering::spillCalleeSavedRegisters().
|
inline |
Definition at line 57 of file XCoreMachineFunctionInfo.h.
|
inline |
Definition at line 74 of file XCoreMachineFunctionInfo.h.
Referenced by llvm::XCoreFrameLowering::emitPrologue(), and GetEHSpillList().
|
inline |
Definition at line 67 of file XCoreMachineFunctionInfo.h.
|
inline |
Definition at line 60 of file XCoreMachineFunctionInfo.h.
Referenced by llvm::XCoreFrameLowering::emitEpilogue(), and llvm::XCoreFrameLowering::emitPrologue().
bool XCoreFunctionInfo::isLargeFrame | ( | const MachineFunction & | MF | ) | const |
Definition at line 25 of file XCoreMachineFunctionInfo.cpp.
References llvm::MachineFrameInfo::estimateStackSize(), and llvm::MachineFunction::getFrameInfo().
Referenced by llvm::XCoreFrameLowering::processFunctionBeforeFrameFinalized().
|
inline |
Definition at line 80 of file XCoreMachineFunctionInfo.h.
|
inline |
Definition at line 56 of file XCoreMachineFunctionInfo.h.