|
LLVM
3.7.0
|
#include <SparcSubtarget.h>
Public Member Functions | |
| SparcSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, TargetMachine &TM, bool is64bit) | |
| const SparcInstrInfo * | getInstrInfo () const override |
| const TargetFrameLowering * | getFrameLowering () const override |
| const SparcRegisterInfo * | getRegisterInfo () const override |
| const SparcTargetLowering * | getTargetLowering () const override |
| const TargetSelectionDAGInfo * | getSelectionDAGInfo () const override |
| bool | isV9 () const |
| bool | isVIS () const |
| bool | isVIS2 () const |
| bool | isVIS3 () const |
| bool | useDeprecatedV8Instructions () const |
| bool | hasHardQuad () const |
| bool | usePopc () const |
| void | ParseSubtargetFeatures (StringRef CPU, StringRef FS) |
| ParseSubtargetFeatures - Parses features string setting specified subtarget options. More... | |
| SparcSubtarget & | initializeSubtargetDependencies (StringRef CPU, StringRef FS) |
| bool | is64Bit () const |
| 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]. More... | |
| 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. More... | |
Definition at line 32 of file SparcSubtarget.h.
| SparcSubtarget::SparcSubtarget | ( | const Triple & | TT, |
| const std::string & | CPU, | ||
| const std::string & | FS, | ||
| TargetMachine & | TM, | ||
| bool | is64bit | ||
| ) |
Definition at line 52 of file SparcSubtarget.cpp.
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 59 of file SparcSubtarget.cpp.
References is64Bit(), and llvm::RoundUpToAlignment().
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex().
|
inlineoverride |
Definition at line 50 of file SparcSubtarget.h.
|
inlineoverride |
Definition at line 49 of file SparcSubtarget.h.
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::expandAtomicRMW(), and llvm::SparcTargetLowering::expandSelectCC().
|
inlineoverride |
Definition at line 53 of file SparcSubtarget.h.
References llvm::SparcInstrInfo::getRegisterInfo().
Referenced by llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::SparcTargetLowering::LowerGlobalTLSAddress(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inlineoverride |
Definition at line 59 of file SparcSubtarget.h.
|
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 80 of file SparcSubtarget.h.
References is64Bit().
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex(), getFRAMEADDR(), llvm::SparcTargetLowering::LowerCall_64(), LowerDYNAMIC_STACKALLOC(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
|
inlineoverride |
Definition at line 56 of file SparcSubtarget.h.
|
inline |
Definition at line 68 of file SparcSubtarget.h.
Referenced by llvm::SparcInstrInfo::copyPhysReg(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::LowerOperation(), and llvm::SparcTargetLowering::SparcTargetLowering().
| SparcSubtarget & SparcSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
| StringRef | FS | ||
| ) |
Definition at line 29 of file SparcSubtarget.cpp.
References ParseSubtargetFeatures().
|
inline |
Definition at line 76 of file SparcSubtarget.h.
Referenced by getAdjustedFrameSize(), getFRAMEADDR(), llvm::SparcInstrInfo::getGlobalBaseReg(), llvm::SparcRegisterInfo::getPointerRegClass(), llvm::SparcRegisterInfo::getReservedRegs(), getStackPointerBias(), llvm::SparcTargetLowering::LowerCall(), LowerDYNAMIC_STACKALLOC(), llvm::SparcTargetLowering::LowerF128Compare(), llvm::SparcTargetLowering::LowerF128Op(), llvm::SparcTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerReturn(), LowerRETURNADDR(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
|
inline |
Definition at line 64 of file SparcSubtarget.h.
|
inline |
Definition at line 65 of file SparcSubtarget.h.
|
inline |
Definition at line 66 of file SparcSubtarget.h.
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Definition of function is auto generated by tblgen.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 67 of file SparcSubtarget.h.
|
inline |
Definition at line 69 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().
1.8.6