14 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXSUBTARGET_H 15 #define LLVM_LIB_TARGET_NVPTX_NVPTXSUBTARGET_H 27 #define GET_SUBTARGETINFO_HEADER 28 #include "NVPTXGenSubtargetInfo.inc" 33 virtual void anchor();
34 std::string TargetName;
40 unsigned int SmVersion;
59 return &FrameLowering;
76 bool hasLDG()
const {
return SmVersion >= 32; }
77 inline bool hasHWROT32()
const {
return SmVersion >= 32; }
unsigned getPTXVersion() const
This class represents lattice values for constants.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
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 hasAtomAddF64() const
bool hasAtomBitwise64() const
const NVPTXTargetLowering * getTargetLowering() const override
bool hasAtomMinMax64() const
std::string getTargetName() const
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
Triple - Helper class for working with autoconf configuration names.
Information about stack frame layout on the target.
const NVPTXInstrInfo * getInstrInfo() const override
const NVPTXRegisterInfo & getRegisterInfo() const
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
bool hasAtomScope() const
const TargetFrameLowering * getFrameLowering() const override
bool allowFP16Math() const
unsigned int getSmVersion() const
NVPTXSubtarget & initializeSubtargetDependencies(StringRef CPU, StringRef FS)
StringRef - Represent a constant reference to a string, i.e.
const NVPTXRegisterInfo * getRegisterInfo() const override