|
LLVM 22.0.0git
|
#include "Target/Sparc/SparcSubtarget.h"
Public Member Functions | |
| SparcSubtarget (const StringRef &CPU, const StringRef &TuneCPU, const StringRef &FS, const TargetMachine &TM) | |
| ~SparcSubtarget () override | |
| const SparcInstrInfo * | getInstrInfo () const override |
| const TargetFrameLowering * | getFrameLowering () const override |
| const SparcRegisterInfo * | getRegisterInfo () const override |
| const SparcTargetLowering * | getTargetLowering () const override |
| const SelectionDAGTargetInfo * | getSelectionDAGInfo () const override |
| bool | enableMachineScheduler () const override |
| void | ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS) |
| ParseSubtargetFeatures - Parses features string setting specified subtarget options. | |
| SparcSubtarget & | initializeSubtargetDependencies (StringRef CPU, StringRef TuneCPU, StringRef FS) |
| int64_t | getStackPointerBias () const |
| The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is the area from [sp+BIAS] to [fp+BIAS]. | |
| bool | isRegisterReserved (MCPhysReg PhysReg) const |
| int | getAdjustedFrameSize (int stackSize) const |
| Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which includes space for register window spills and arguments. | |
Definition at line 32 of file SparcSubtarget.h.
| SparcSubtarget::SparcSubtarget | ( | const StringRef & | CPU, |
| const StringRef & | TuneCPU, | ||
| const StringRef & | FS, | ||
| const TargetMachine & | TM ) |
Definition at line 56 of file SparcSubtarget.cpp.
References initializeSubtargetDependencies().
Referenced by initializeSubtargetDependencies(), and ParseSubtargetFeatures().
|
overridedefault |
|
override |
Definition at line 97 of file SparcSubtarget.cpp.
| int SparcSubtarget::getAdjustedFrameSize | ( | int | stackSize | ) | const |
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which includes space for register window spills and arguments.
Definition at line 71 of file SparcSubtarget.cpp.
References llvm::alignTo(), and is64Bit().
Referenced by llvm::SparcFrameLowering::emitPrologue().
|
inlineoverride |
Definition at line 55 of file SparcSubtarget.h.
|
inlineoverride |
Definition at line 54 of file SparcSubtarget.h.
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex().
|
inlineoverride |
Definition at line 58 of file SparcSubtarget.h.
Referenced by llvm::SparcFrameLowering::getFrameIndexReference().
|
override |
Definition at line 67 of file SparcSubtarget.cpp.
|
inline |
The 64-bit ABI uses biased stack and frame pointers, so the stack frame of the current function is the area from [sp+BIAS] to [fp+BIAS].
Definition at line 82 of file SparcSubtarget.h.
References is64Bit().
Referenced by getFRAMEADDR(), llvm::SparcFrameLowering::getFrameIndexReference(), and LowerDYNAMIC_STACKALLOC().
|
inlineoverride |
Definition at line 61 of file SparcSubtarget.h.
| SparcSubtarget & SparcSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
| StringRef | TuneCPU, | ||
| StringRef | FS ) |
Definition at line 29 of file SparcSubtarget.cpp.
References llvm::StringRef::empty(), ParseSubtargetFeatures(), llvm::FeatureBitset::set(), and SparcSubtarget().
Referenced by SparcSubtarget().
Definition at line 86 of file SparcSubtarget.h.
Referenced by llvm::SparcRegisterInfo::getReservedRegs().
| void llvm::SparcSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
| StringRef | TuneCPU, | ||
| StringRef | FS ) |
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Definition of function is auto generated by tblgen.
References SparcSubtarget().
Referenced by initializeSubtargetDependencies().