LLVM 20.0.0git
|
#include "Target/NVPTX/NVPTXSubtarget.h"
Definition at line 30 of file NVPTXSubtarget.h.
NVPTXSubtarget::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.
Definition at line 55 of file NVPTXSubtarget.cpp.
|
overridedefault |
bool NVPTXSubtarget::allowFP16Math | ( | ) | const |
Definition at line 70 of file NVPTXSubtarget.cpp.
References hasFP16Math(), and NoF16Math.
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
void NVPTXSubtarget::failIfClustersUnsupported | ( | std::string const & | FailureMessage | ) | const |
Definition at line 74 of file NVPTXSubtarget.cpp.
References llvm::formatv(), getFullSmVersion(), hasClusters(), and llvm::report_fatal_error().
|
inlineoverride |
Definition at line 62 of file NVPTXSubtarget.h.
|
inline |
Definition at line 105 of file NVPTXSubtarget.h.
Referenced by failIfClustersUnsupported(), getSmVersion(), and hasAAFeatures().
|
inlineoverride |
Definition at line 65 of file NVPTXSubtarget.h.
|
inline |
Definition at line 123 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXTargetLowering::LowerCall().
|
inline |
Definition at line 125 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXAsmPrinter::doInitialization(), llvm::NVPTXTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerDYNAMIC_STACKALLOC(), llvm::NVPTXTargetLowering::LowerSTACKRESTORE(), llvm::NVPTXTargetLowering::LowerSTACKSAVE(), llvm::NVPTXTargetLowering::NVPTXTargetLowering(), and llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR().
|
inlineoverride |
Definition at line 66 of file NVPTXSubtarget.h.
References llvm::NVPTXInstrInfo::getRegisterInfo().
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
|
override |
Definition at line 66 of file NVPTXSubtarget.cpp.
|
inline |
Definition at line 106 of file NVPTXSubtarget.h.
References getFullSmVersion().
Referenced by llvm::NVPTXAsmPrinter::doInitialization(), llvm::NVPTXTargetLowering::getPrototype(), llvm::NVPTXTargetLowering::getRegForInlineAsmConstraint(), initializeSubtargetDependencies(), llvm::NVPTXTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerDYNAMIC_STACKALLOC(), llvm::NVPTXTargetLowering::LowerFormalArguments(), llvm::NVPTXTargetLowering::LowerReturn(), llvm::NVPTXTargetLowering::LowerSTACKRESTORE(), llvm::NVPTXTargetLowering::LowerSTACKSAVE(), llvm::NVPTXTargetLowering::NVPTXTargetLowering(), llvm::NVPTXTargetMachine::registerPassBuilderCallbacks(), and llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR().
|
inlineoverride |
Definition at line 69 of file NVPTXSubtarget.h.
Referenced by llvm::NVPTXTargetLowering::LowerFormalArguments().
|
inline |
Definition at line 114 of file NVPTXSubtarget.h.
|
inline |
Definition at line 113 of file NVPTXSubtarget.h.
References getFullSmVersion().
|
inline |
Definition at line 75 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR().
|
inline |
Definition at line 77 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR().
|
inline |
Definition at line 79 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
|
inline |
Definition at line 78 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::shouldExpandAtomicRMWInIR().
|
inline |
Definition at line 76 of file NVPTXSubtarget.h.
References SmVersion.
|
inline |
Definition at line 84 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
|
inline |
Definition at line 80 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by failIfClustersUnsupported().
|
inline |
Definition at line 104 of file NVPTXSubtarget.h.
References SmVersion.
|
inline |
Definition at line 93 of file NVPTXSubtarget.h.
References SmVersion.
|
inline |
Definition at line 83 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by allowFP16Math().
|
inline |
Definition at line 82 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by llvm::NVPTXTargetLowering::NVPTXTargetLowering().
|
inline |
Definition at line 81 of file NVPTXSubtarget.h.
References SmVersion.
Referenced by canLowerToLDG().
|
inline |
Definition at line 86 of file NVPTXSubtarget.h.
|
inline |
Definition at line 90 of file NVPTXSubtarget.h.
References SmVersion.
|
inline |
Definition at line 87 of file NVPTXSubtarget.h.
References SmVersion.
|
inline |
Definition at line 103 of file NVPTXSubtarget.h.
|
inline |
Definition at line 92 of file NVPTXSubtarget.h.
References SmVersion.
NVPTXSubtarget & NVPTXSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Definition at line 35 of file NVPTXSubtarget.cpp.
References llvm::StringRef::empty(), getSmVersion(), and ParseSubtargetFeatures().
void llvm::NVPTXSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | TuneCPU, | ||
StringRef | FS | ||
) |
Referenced by initializeSubtargetDependencies().