Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXSUBTARGET_H
14 #define LLVM_LIB_TARGET_NVPTX_NVPTXSUBTARGET_H
26 #define GET_SUBTARGETINFO_HEADER
27 #include "NVPTXGenSubtargetInfo.inc"
32 virtual void anchor();
33 std::string TargetName;
39 unsigned int SmVersion;
58 return &FrameLowering;
This is an optimization pass for GlobalISel generic memory operations.
Information about stack frame layout on the target.
const NVPTXTargetLowering * getTargetLowering() const override
bool hasAtomAddF64() const
Triple - Helper class for working with autoconf configuration names.
unsigned int getSmVersion() const
bool hasAtomMinMax64() const
const NVPTXRegisterInfo & getRegisterInfo() const
const TargetFrameLowering * getFrameLowering() const override
NVPTXSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
unsigned getPTXVersion() const
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
const NVPTXRegisterInfo * getRegisterInfo() const override
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
bool hasAtomScope() const
bool hasImageHandles() const
NVPTXSubtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const NVPTXTargetMachine &TM)
This constructor initializes the data members to match that of the specified module.
bool allowFP16Math() const
StringRef - Represent a constant reference to a string, i.e.
bool hasAtomBitwise64() const
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
std::string getTargetName() const
const char LLVMTargetMachineRef TM
const NVPTXInstrInfo * getInstrInfo() const override