LLVM API Documentation
#include <SparcSubtarget.h>
Public Member Functions | |
SparcSubtarget (const std::string &TT, const std::string &CPU, const std::string &FS, bool is64bit) | |
bool | isV9 () const |
bool | isVIS () const |
bool | useDeprecatedV8Instructions () const |
bool | hasHardQuad () const |
void | ParseSubtargetFeatures (StringRef CPU, StringRef FS) |
bool | is64Bit () const |
std::string | getDataLayout () const |
int64_t | getStackPointerBias () const |
int | getAdjustedFrameSize (int stackSize) const |
Definition at line 26 of file SparcSubtarget.h.
SparcSubtarget::SparcSubtarget | ( | const std::string & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
bool | is64bit | ||
) |
Definition at line 27 of file SparcSubtarget.cpp.
References ParseSubtargetFeatures().
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 51 of file SparcSubtarget.cpp.
References is64Bit(), and llvm::RoundUpToAlignment().
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcFrameLowering::emitEpilogue(), and llvm::SparcFrameLowering::emitPrologue().
|
inline |
Definition at line 48 of file SparcSubtarget.h.
References is64Bit().
|
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 60 of file SparcSubtarget.h.
References is64Bit().
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
|
inline |
Definition at line 41 of file SparcSubtarget.h.
Referenced by llvm::SparcInstrInfo::copyPhysReg(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::LowerOperation(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 47 of file SparcSubtarget.h.
Referenced by getAdjustedFrameSize(), getDataLayout(), llvm::SparcRegisterInfo::getPointerRegClass(), llvm::SparcRegisterInfo::getReservedRegs(), getStackPointerBias(), llvm::SparcTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerF128Compare(), llvm::SparcTargetLowering::LowerF128Op(), llvm::SparcTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerOperation(), llvm::SparcTargetLowering::LowerReturn(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
|
inline |
Definition at line 39 of file SparcSubtarget.h.
ParseSubtargetFeatures - Parses features string setting specified subtarget options. Definition of function is auto generated by tblgen.
Referenced by SparcSubtarget().
|
inline |
Definition at line 40 of file SparcSubtarget.h.