LLVM API Documentation
#include <NVPTXSubtarget.h>
Definition at line 32 of file NVPTXSubtarget.h.
NVPTXSubtarget::NVPTXSubtarget | ( | const std::string & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
const TargetMachine & | TM, | ||
bool | is64Bit | ||
) |
This constructor initializes the data members to match that of the specified module.
Definition at line 56 of file NVPTXSubtarget.cpp.
References llvm::NVPTX::CUDA, llvm::Triple::getOS(), llvm::NVPTX::NVCL, and T.
const DataLayout* llvm::NVPTXSubtarget::getDataLayout | ( | ) | const [inline, override] |
Definition at line 64 of file NVPTXSubtarget.h.
NVPTX::DrvInterface llvm::NVPTXSubtarget::getDrvInterface | ( | ) | const [inline] |
Definition at line 111 of file NVPTXSubtarget.h.
Referenced by hasImageHandles().
const TargetFrameLowering* llvm::NVPTXSubtarget::getFrameLowering | ( | ) | const [inline, override] |
Definition at line 60 of file NVPTXSubtarget.h.
const NVPTXInstrInfo* llvm::NVPTXSubtarget::getInstrInfo | ( | ) | const [inline, override] |
Definition at line 63 of file NVPTXSubtarget.h.
unsigned llvm::NVPTXSubtarget::getPTXVersion | ( | ) | const [inline] |
Definition at line 114 of file NVPTXSubtarget.h.
const NVPTXRegisterInfo* llvm::NVPTXSubtarget::getRegisterInfo | ( | ) | const [inline, override] |
Definition at line 65 of file NVPTXSubtarget.h.
References llvm::NVPTXInstrInfo::getRegisterInfo().
const TargetSelectionDAGInfo* llvm::NVPTXSubtarget::getSelectionDAGInfo | ( | ) | const [inline, override] |
Definition at line 71 of file NVPTXSubtarget.h.
unsigned int llvm::NVPTXSubtarget::getSmVersion | ( | ) | const [inline] |
Definition at line 110 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXTargetLowering::getPrototype(), llvm::NVPTXTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerFormalArguments(), and llvm::NVPTXTargetLowering::LowerReturn().
const NVPTXTargetLowering* llvm::NVPTXSubtarget::getTargetLowering | ( | ) | const [inline, override] |
Definition at line 68 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXTargetLowering::LowerCall().
std::string llvm::NVPTXSubtarget::getTargetName | ( | ) | const [inline] |
Definition at line 112 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomAddF32 | ( | ) | const [inline] |
Definition at line 82 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedG32 | ( | ) | const [inline] |
Definition at line 76 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedG64 | ( | ) | const [inline] |
Definition at line 78 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedGen32 | ( | ) | const [inline] |
Definition at line 80 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedGen64 | ( | ) | const [inline] |
Definition at line 81 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedS32 | ( | ) | const [inline] |
Definition at line 77 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasAtomRedS64 | ( | ) | const [inline] |
Definition at line 79 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasBrkPt | ( | ) | const [inline] |
Definition at line 75 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasDouble | ( | ) | const [inline] |
Definition at line 84 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasF32FTZ | ( | ) | const [inline] |
Definition at line 86 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasFMAF32 | ( | ) | const [inline] |
Definition at line 87 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasFMAF64 | ( | ) | const [inline] |
Definition at line 88 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasGenericLdSt | ( | ) | const [inline] |
Definition at line 91 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasHWROT32 | ( | ) | const [inline] |
Definition at line 92 of file NVPTXSubtarget.h.
Referenced by hasROT32().
bool llvm::NVPTXSubtarget::hasImageHandles | ( | ) | const [inline] |
Definition at line 99 of file NVPTXSubtarget.h.
References llvm::NVPTX::CUDA, and getDrvInterface().
bool llvm::NVPTXSubtarget::hasLDG | ( | ) | const [inline] |
Definition at line 89 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasLDU | ( | ) | const [inline] |
Definition at line 90 of file NVPTXSubtarget.h.
bool llvm::NVPTXSubtarget::hasROT32 | ( | ) | const [inline] |
Definition at line 96 of file NVPTXSubtarget.h.
References hasHWROT32(), and hasSWROT32().
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
bool llvm::NVPTXSubtarget::hasROT64 | ( | ) | const [inline] |
Definition at line 97 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
bool llvm::NVPTXSubtarget::hasSWROT32 | ( | ) | const [inline] |
Definition at line 93 of file NVPTXSubtarget.h.
Referenced by hasROT32().
bool llvm::NVPTXSubtarget::hasVote | ( | ) | const [inline] |
Definition at line 83 of file NVPTXSubtarget.h.
Definition at line 39 of file NVPTXSubtarget.cpp.
References llvm::StringRef::empty(), llvm_unreachable, ParseSubtargetFeatures(), and llvm::StringRef::size().
bool llvm::NVPTXSubtarget::is64Bit | ( | ) | const [inline] |
Definition at line 108 of file NVPTXSubtarget.h.
void llvm::NVPTXSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Referenced by initializeSubtargetDependencies().
bool llvm::NVPTXSubtarget::reqPTX20 | ( | ) | const [inline] |
Definition at line 85 of file NVPTXSubtarget.h.