|
LLVM 24.0.0git
|
#include "Target/NVPTX/NVPTXSubtarget.h"
Definition at line 32 of file NVPTXSubtarget.h.
| NVPTXSubtarget::NVPTXSubtarget | ( | const Triple & | TT, |
| StringRef | CPU, | ||
| StringRef | FS, | ||
| const NVPTXTargetMachine & | TM ) |
This constructor initializes the data members to match that of the specified module.
Definition at line 148 of file NVPTXSubtarget.cpp.
References initializeSubtargetDependencies().
Referenced by initializeSubtargetDependencies().
|
overridedefault |
| bool NVPTXSubtarget::allowFP16Math | ( | ) | const |
Definition at line 190 of file NVPTXSubtarget.cpp.
References hasFP16Math(), and NoF16Math.
|
inlineoverride |
Definition at line 61 of file NVPTXSubtarget.h.
|
inline |
Definition at line 309 of file NVPTXSubtarget.h.
Referenced by getSmFamilyVersion(), getSmVersion(), hasArchAccelFeatures(), and hasFamilySpecificFeatures().
|
inlineoverride |
Definition at line 64 of file NVPTXSubtarget.h.
|
inline |
Definition at line 345 of file NVPTXSubtarget.h.
|
inline |
Definition at line 347 of file NVPTXSubtarget.h.
|
inline |
Definition at line 349 of file NVPTXSubtarget.h.
Referenced by hasNativeBF16Support(), hasPTXWithAccelSMs(), hasPTXWithFamilySMs(), and llvm::NVPTXDwarfDebug::isEnhancedLineinfo().
|
inlineoverride |
Definition at line 65 of file NVPTXSubtarget.h.
Referenced by isCVTAToLocalCombinationCandidate().
|
inlineoverride |
Definition at line 72 of file NVPTXSubtarget.h.
|
inline |
Definition at line 311 of file NVPTXSubtarget.h.
References getFullSmVersion().
Referenced by hasPTXWithFamilySMs().
|
inline |
Definition at line 310 of file NVPTXSubtarget.h.
References getFullSmVersion().
Referenced by has256BitVectorLoadStore(), hasAtomAddF64(), hasAtomBitwise64(), hasAtomCas16(), hasAtomMinMax64(), hasAtomScope(), hasAtomSwap128(), hasBF16Math(), hasBrx(), hasClusters(), hasCvtaParam(), hasDotInstructions(), hasF32x2Instructions(), hasFP16Math(), hasFP8ConversionSupport(), hasHWROT32(), hasLDG(), hasMemoryOrdering(), hasNativeBF16Support(), hasNoReturn(), hasPTXWithAccelSMs(), hasPTXWithFamilySMs(), hasRelaxedMMIO(), hasSplitAcquireAndReleaseFences(), and hasUsedBytesMaskPragma().
|
inlineoverride |
Definition at line 68 of file NVPTXSubtarget.h.
|
inline |
Definition at line 331 of file NVPTXSubtarget.h.
References hasTargetName().
Referenced by initializeSubtargetDependencies().
Definition at line 88 of file NVPTXSubtarget.h.
References llvm::NVPTXAS::ADDRESS_SPACE_GLOBAL, and getSmVersion().
Referenced by getVectorLoweringShape().
|
inline |
Definition at line 318 of file NVPTXSubtarget.h.
References getFullSmVersion().
Referenced by hasFamilySpecificFeatures(), and hasPTXWithAccelSMs().
|
inline |
Definition at line 95 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 97 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 99 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 98 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 96 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 100 of file NVPTXSubtarget.h.
References getSmVersion().
Referenced by replaceAtomicSwap128().
|
inline |
Definition at line 108 of file NVPTXSubtarget.h.
References getSmVersion().
Referenced by hasNativeBF16Support().
|
inline |
Definition at line 106 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 278 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 103 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 306 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 305 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 125 of file NVPTXSubtarget.h.
References getSmVersion().
| bool NVPTXSubtarget::hasF32x2Instructions | ( | ) | const |
Definition at line 194 of file NVPTXSubtarget.cpp.
References getSmVersion(), and NoF32x2.
Referenced by getVectorLoweringShape().
|
inline |
Definition at line 326 of file NVPTXSubtarget.h.
References getFullSmVersion(), and hasArchAccelFeatures().
Referenced by hasPTXWithFamilySMs().
|
inline |
Definition at line 107 of file NVPTXSubtarget.h.
References getSmVersion().
Referenced by allowFP16Math().
|
inline |
Definition at line 236 of file NVPTXSubtarget.h.
References hasPTXWithFamilySMs().
|
inline |
Definition at line 210 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 105 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 104 of file NVPTXSubtarget.h.
References getSmVersion().
Referenced by canLowerToLDG().
|
inline |
Definition at line 291 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 110 of file NVPTXSubtarget.h.
|
inline |
Definition at line 114 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 179 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 183 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 191 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 187 of file NVPTXSubtarget.h.
References hasPTXWithFamilySMs().
|
inline |
Definition at line 224 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 245 of file NVPTXSubtarget.h.
References hasPTXWithFamilySMs().
Definition at line 198 of file NVPTXSubtarget.cpp.
References llvm::ISD::FADD, llvm::ISD::FCEIL, llvm::ISD::FEXP2, llvm::ISD::FFLOOR, llvm::ISD::FMAXIMUM, llvm::ISD::FMAXNUM, llvm::ISD::FMAXNUM_IEEE, llvm::ISD::FMINIMUM, llvm::ISD::FMINNUM, llvm::ISD::FMINNUM_IEEE, llvm::ISD::FMUL, llvm::ISD::FNEARBYINT, llvm::ISD::FRINT, llvm::ISD::FROUNDEVEN, llvm::ISD::FSUB, llvm::ISD::FTANH, llvm::ISD::FTRUNC, getPTXVersion(), getSmVersion(), hasBF16Math(), llvm::ISD::SELECT, llvm::ISD::SELECT_CC, and llvm::ISD::SETCC.
|
inline |
Definition at line 111 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 304 of file NVPTXSubtarget.h.
| bool NVPTXSubtarget::hasPTXWithAccelSMs | ( | unsigned | MinPTXVersion, |
| ArrayRef< unsigned > | SMVersions ) const |
Definition at line 175 of file NVPTXSubtarget.cpp.
References llvm::any_of(), getPTXVersion(), getSmVersion(), hasArchAccelFeatures(), and SM().
Referenced by hasClusterLaunchControlTryCancelMulticastSupport(), hasConvertWithStochasticRounding(), hasLdStmatrixBlackwellSupport(), hasMMABlockScale(), hasMMASparseBlockScaleF4(), hasMMASparseWithMXF4NVF4Scale4xE8M0(), hasNarrowFPConversionSupport(), hasReduxSyncF32(), hasS2F6X2ConversionSupport(), hasSetMaxNRegSupport(), hasTcgen05InstSupport(), hasTcgen05MMAI8Kind(), hasTcgen05MMAScaleInputDImm(), hasTcgen05MMASparseMxf4(), hasTcgen05MMASparseMxf4nvf4(), hasTcgen05ShiftSupport(), hasTensormapReplaceElemtypeSupport(), hasTensormapReplaceSupport(), hasTensormapReplaceSwizzleAtomicitySupport(), hasTensormapReplaceSwizzleModeSupport(), and hasTMABlackwellSupport().
| bool NVPTXSubtarget::hasPTXWithFamilySMs | ( | unsigned | MinPTXVersion, |
| ArrayRef< unsigned > | SMVersions ) const |
Definition at line 156 of file NVPTXSubtarget.cpp.
References llvm::any_of(), getPTXVersion(), getSmFamilyVersion(), getSmVersion(), hasFamilySpecificFeatures(), and SM().
Referenced by hasClusterLaunchControlTryCancelMulticastSupport(), hasFP16X2ToNarrowFPConversionSupport(), hasLdStmatrixBlackwellSupport(), hasMMABlockScale(), hasMMAWithMXF4NVF4Scale4xE8M0(), hasNarrowFPConversionSupport(), hasNarrowFPToBF16x2ConversionSupport(), hasReduxSyncF32(), hasSetMaxNRegSupport(), hasTcgen05InstSupport(), hasTcgen05LdRedSupport(), hasTcgen05MMAScaleInputDImm(), hasTensormapReplaceElemtypeSupport(), hasTensormapReplaceSupport(), hasTensormapReplaceSwizzleAtomicitySupport(), and hasTMABlackwellSupport().
|
inline |
Definition at line 175 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 122 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 240 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 284 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 118 of file NVPTXSubtarget.h.
References getSmVersion().
|
inline |
Definition at line 334 of file NVPTXSubtarget.h.
Referenced by getTargetName().
|
inline |
Definition at line 136 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 170 of file NVPTXSubtarget.h.
References hasPTXWithFamilySMs().
|
inline |
Definition at line 155 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 151 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 165 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 160 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
|
inline |
Definition at line 144 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs().
Definition at line 255 of file NVPTXSubtarget.h.
References llvm::nvvm::B4x16, hasPTXWithAccelSMs(), hasPTXWithFamilySMs(), and hasTensormapReplaceSupport().
Referenced by lowerTensormapReplaceElemtype().
|
inline |
Definition at line 249 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
Referenced by hasTensormapReplaceElemtypeSupport(), and hasTensormapReplaceSwizzleModeSupport().
|
inline |
Definition at line 264 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 270 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), hasTensormapReplaceSupport(), and llvm::nvvm::SWIZZLE_96B.
Referenced by lowerTensormapReplaceSwizzleMode().
|
inline |
Definition at line 203 of file NVPTXSubtarget.h.
References hasPTXWithAccelSMs(), and hasPTXWithFamilySMs().
|
inline |
Definition at line 92 of file NVPTXSubtarget.h.
References getSmVersion().
Referenced by convertMLOADToLoadWithUsedBytesMask().
| NVPTXSubtarget & NVPTXSubtarget::initializeSubtargetDependencies | ( | StringRef | CPU, |
| StringRef | FS ) |
Definition at line 123 of file NVPTXSubtarget.cpp.
References llvm::formatv(), getMinPTXVersionForSM(), getTargetName(), NVPTXSubtarget(), ParseSubtargetFeatures(), and llvm::reportFatalUsageError().
Referenced by NVPTXSubtarget().
| void llvm::NVPTXSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
| StringRef | TuneCPU, | ||
| StringRef | FS ) |
Referenced by initializeSubtargetDependencies().