LLVM 20.0.0git
|
#include "Target/VE/VESubtarget.h"
Public Member Functions | |
VESubtarget (const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM) | |
const VEInstrInfo * | getInstrInfo () const override |
const VEFrameLowering * | getFrameLowering () const override |
const VERegisterInfo * | getRegisterInfo () const override |
const VETargetLowering * | getTargetLowering () const override |
const SelectionDAGTargetInfo * | getSelectionDAGInfo () const override |
bool | enableMachineScheduler () const override |
bool | enableVPU () const |
void | ParseSubtargetFeatures (StringRef CPU, StringRef TuneCPU, StringRef FS) |
ParseSubtargetFeatures - Parses features string setting specified subtarget options. | |
VESubtarget & | initializeSubtargetDependencies (StringRef CPU, StringRef FS) |
uint64_t | getAdjustedFrameSize (uint64_t FrameSize) const |
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which includes space for RSA, return address, and frame poitner. | |
unsigned | getRsaSize () const |
Get the size of RSA, return address, and frame pointer as described in VEFrameLowering.cpp. | |
bool | isTargetLinux () const |
Definition at line 31 of file VESubtarget.h.
VESubtarget::VESubtarget | ( | const Triple & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
const TargetMachine & | TM | ||
) |
Definition at line 44 of file VESubtarget.cpp.
|
override |
Definition at line 61 of file VESubtarget.cpp.
|
inline |
Definition at line 65 of file VESubtarget.h.
Referenced by llvm::VETargetLowering::lowerLOAD(), and llvm::VETargetLowering::lowerSTORE().
Given a actual stack size as determined by FrameInfo, this function returns adjusted framesize which includes space for RSA, return address, and frame poitner.
Definition at line 50 of file VESubtarget.cpp.
References llvm::alignTo(), getFrameLowering(), getRsaSize(), and llvm::TargetFrameLowering::getStackAlign().
Referenced by llvm::VEFrameLowering::emitPrologue(), and llvm::VEInstrInfo::expandGetStackTopPseudo().
|
inlineoverride |
Definition at line 52 of file VESubtarget.h.
Referenced by llvm::VETargetLowering::emitEHSjLjSetJmp(), llvm::VEInstrInfo::expandGetStackTopPseudo(), getAdjustedFrameSize(), and llvm::VETargetLowering::lowerDYNAMIC_STACKALLOC().
|
inlineoverride |
Definition at line 51 of file VESubtarget.h.
Referenced by llvm::VERegisterInfo::eliminateFrameIndex(), llvm::VETargetLowering::emitEHSjLjLongJmp(), llvm::VETargetLowering::emitEHSjLjSetJmp(), llvm::VEFrameLowering::emitEpilogue(), llvm::VEFrameLowering::emitEpilogueInsns(), llvm::VEFrameLowering::emitPrologue(), llvm::VEFrameLowering::emitPrologueInsns(), llvm::VETargetLowering::emitSjLjDispatchBlock(), llvm::VEInstrInfo::expandExtendStackPseudo(), llvm::VEInstrInfo::expandGetStackTopPseudo(), llvm::VETargetLowering::LowerCall(), llvm::VETargetLowering::lowerToTLSGeneralDynamicModel(), llvm::VETargetLowering::prepareMBB(), llvm::VETargetLowering::prepareSymbol(), and llvm::VETargetLowering::setupEntryBlockForSjLj().
|
inlineoverride |
Definition at line 55 of file VESubtarget.h.
References llvm::VEInstrInfo::getRegisterInfo().
Referenced by llvm::VERegisterInfo::eliminateFrameIndex(), llvm::VETargetLowering::emitEHSjLjSetJmp(), llvm::VEFrameLowering::emitPrologue(), llvm::VEFrameLowering::getFrameIndexReference(), llvm::VEFrameLowering::hasBP(), llvm::VETargetLowering::LowerCall(), lowerFRAMEADDR(), llvm::VETargetLowering::lowerToTLSGeneralDynamicModel(), and llvm::VETargetLowering::VETargetLowering().
|
inline |
Get the size of RSA, return address, and frame pointer as described in VEFrameLowering.cpp.
Definition at line 79 of file VESubtarget.h.
Referenced by getAdjustedFrameSize(), llvm::VETargetLowering::LowerCall(), and llvm::VETargetLowering::LowerFormalArguments().
|
inlineoverride |
Definition at line 59 of file VESubtarget.h.
|
inlineoverride |
Definition at line 58 of file VESubtarget.h.
VESubtarget & VESubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Definition at line 28 of file VESubtarget.cpp.
References ParseSubtargetFeatures().
|
inline |
Definition at line 81 of file VESubtarget.h.
References llvm::Triple::isOSLinux().
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
Definition of function is auto generated by tblgen.
Referenced by initializeSubtargetDependencies().