LLVM
17.0.0git
|
#include "Target/Sparc/SparcSubtarget.h"
Public Member Functions | |
SparcSubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const 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 SelectionDAGTargetInfo * | getSelectionDAGInfo () const override |
bool | enableMachineScheduler () const override |
bool | useSoftMulDiv () const |
bool | isV9 () const |
bool | isLeon () const |
bool | isVIS () const |
bool | isVIS2 () const |
bool | isVIS3 () const |
bool | useDeprecatedV8Instructions () const |
bool | hasHardQuad () const |
bool | usePopc () const |
bool | useSoftFloat () const |
bool | hasNoFSMULD () const |
bool | hasNoFMULS () const |
bool | hasUmacSmac () const |
bool | hasLeonCasa () const |
bool | hasPWRPSR () const |
bool | insertNOPLoad () const |
bool | fixAllFDIVSQRT () const |
bool | detectRoundChange () const |
bool | hasLeonCycleCounter () const |
void | ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, 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... | |
bool | isTargetLinux () const |
Definition at line 31 of file SparcSubtarget.h.
SparcSubtarget::SparcSubtarget | ( | const Triple & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
const TargetMachine & | TM, | ||
bool | is64bit | ||
) |
Definition at line 67 of file SparcSubtarget.cpp.
|
inline |
Definition at line 99 of file SparcSubtarget.h.
|
override |
Definition at line 100 of file SparcSubtarget.cpp.
|
inline |
Definition at line 98 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().
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 74 of file SparcSubtarget.cpp.
References llvm::alignTo(), and is64Bit().
Referenced by llvm::SparcFrameLowering::emitPrologue().
|
inlineoverride |
Definition at line 65 of file SparcSubtarget.h.
Referenced by LowerDYNAMIC_STACKALLOC().
|
inlineoverride |
Definition at line 64 of file SparcSubtarget.h.
References InstrInfo.
Referenced by llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcFrameLowering::emitPrologue(), llvm::SparcTargetLowering::expandSelectCC(), llvm::InsertNOPLoad::runOnMachineFunction(), and llvm::FixAllFDIVSQRT::runOnMachineFunction().
|
inlineoverride |
Definition at line 68 of file SparcSubtarget.h.
References InstrInfo.
Referenced by llvm::SparcFrameLowering::emitPrologue(), llvm::SparcFrameLowering::getFrameIndexReference(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::SparcTargetLowering::LowerGlobalTLSAddress(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inlineoverride |
Definition at line 74 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 111 of file SparcSubtarget.h.
References is64Bit().
Referenced by llvm::SparcFrameLowering::emitPrologue(), getFRAMEADDR(), llvm::SparcFrameLowering::getFrameIndexReference(), llvm::SparcTargetLowering::LowerCall_64(), LowerDYNAMIC_STACKALLOC(), and llvm::SparcTargetLowering::LowerFormalArguments_64().
|
inlineoverride |
Definition at line 71 of file SparcSubtarget.h.
|
inline |
Definition at line 87 of file SparcSubtarget.h.
Referenced by llvm::SparcInstrInfo::copyPhysReg(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::LowerOperation(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 95 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 100 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::ReplaceNodeResults(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 91 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 90 of file SparcSubtarget.h.
|
inline |
Definition at line 96 of file SparcSubtarget.h.
|
inline |
Definition at line 94 of file SparcSubtarget.h.
SparcSubtarget & SparcSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Definition at line 28 of file SparcSubtarget.cpp.
References llvm::X86AS::FS, and ParseSubtargetFeatures().
|
inline |
Definition at line 97 of file SparcSubtarget.h.
|
inline |
Definition at line 107 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::CanLowerReturn(), llvm::SparcInstrInfo::expandPostRAPseudo(), getAdjustedFrameSize(), getFRAMEADDR(), llvm::SparcInstrInfo::getGlobalBaseReg(), llvm::SparcRegisterInfo::getPointerRegClass(), llvm::SparcTargetLowering::getRegForInlineAsmConstraint(), llvm::SparcRegisterInfo::getReservedRegs(), getStackPointerBias(), llvm::SparcTargetLowering::IsEligibleForTailCallOptimization(), llvm::SparcTargetLowering::LowerCall(), LowerDYNAMIC_STACKALLOC(), llvm::SparcTargetLowering::LowerF128Compare(), llvm::SparcTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerOperation(), llvm::SparcTargetLowering::LowerReturn(), LowerRETURNADDR(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 82 of file SparcSubtarget.h.
|
inline |
Definition at line 120 of file SparcSubtarget.h.
References llvm::Triple::isOSLinux().
Referenced by llvm::SparcInstrInfo::expandPostRAPseudo(), llvm::SparcTargetLowering::insertSSPDeclarations(), and llvm::SparcTargetLowering::useLoadStackGuardNode().
|
inline |
Definition at line 81 of file SparcSubtarget.h.
Referenced by llvm::SparcInstrInfo::copyPhysReg(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::SparcTargetLowering::EmitInstrWithCustomInserter(), llvm::SparcRegisterInfo::getReservedRegs(), llvm::SparcInstrInfo::insertBranch(), llvm::SparcTargetLowering::LowerOperation(), and llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 83 of file SparcSubtarget.h.
|
inline |
Definition at line 84 of file SparcSubtarget.h.
|
inline |
Definition at line 85 of file SparcSubtarget.h.
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.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 86 of file SparcSubtarget.h.
|
inline |
Definition at line 88 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().
|
inline |
Definition at line 89 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering(), and llvm::SparcTargetLowering::useSoftFloat().
|
inline |
Definition at line 80 of file SparcSubtarget.h.
Referenced by llvm::SparcTargetLowering::SparcTargetLowering().