LLVM 20.0.0git
|
#include "Target/SPIRV/SPIRVSubtarget.h"
Static Public Member Functions | |
static bool | classof (const TargetSubtargetInfo *ST) |
Definition at line 38 of file SPIRVSubtarget.h.
SPIRVSubtarget::SPIRVSubtarget | ( | const Triple & | TT, |
const std::string & | CPU, | ||
const std::string & | FS, | ||
const SPIRVTargetMachine & | TM | ||
) |
Definition at line 46 of file SPIRVSubtarget.cpp.
References llvm::createSPIRVInstructionSelector(), llvm::Triple::SPIRVSubArch_v10, llvm::Triple::SPIRVSubArch_v11, llvm::Triple::SPIRVSubArch_v12, llvm::Triple::SPIRVSubArch_v13, llvm::Triple::SPIRVSubArch_v14, llvm::Triple::SPIRVSubArch_v15, and llvm::Triple::SPIRVSubArch_v16.
bool SPIRVSubtarget::canDirectlyComparePointers | ( | ) | const |
Definition at line 119 of file SPIRVSubtarget.cpp.
References isAtLeastVer(), and SPVTranslatorCompat.
Referenced by llvm::SPIRVLegalizerInfo::legalizeCustom().
bool SPIRVSubtarget::canUseExtension | ( | SPIRV::Extension::Extension | E | ) | const |
Definition at line 98 of file SPIRVSubtarget.cpp.
References llvm::SmallSet< T, N, C >::contains().
Referenced by llvm::addressSpaceToStorageClass().
bool SPIRVSubtarget::canUseExtInstSet | ( | SPIRV::InstructionSet::InstructionSet | E | ) | const |
Definition at line 102 of file SPIRVSubtarget.cpp.
References llvm::SmallSet< T, N, C >::contains().
|
inlinestatic |
Definition at line 128 of file SPIRVSubtarget.h.
|
inline |
Definition at line 94 of file SPIRVSubtarget.h.
|
inline |
Definition at line 76 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 102 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 118 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 114 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 117 of file SPIRVSubtarget.h.
Referenced by addConstantsToTrack(), doInsertBitcast(), llvm::SPIRVTargetLowering::finalizeLowering(), generateAssignInstrs(), and insertBitcasts().
|
inlineoverride |
Definition at line 111 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 108 of file SPIRVSubtarget.h.
|
inline |
Definition at line 75 of file SPIRVSubtarget.h.
Referenced by llvm::SPIRVLegalizerInfo::legalizeCustom().
|
inlineoverride |
Definition at line 105 of file SPIRVSubtarget.h.
Referenced by doInsertBitcast().
|
inlineoverride |
Definition at line 124 of file SPIRVSubtarget.h.
References llvm::SPIRVInstrInfo::getRegisterInfo().
Referenced by doInsertBitcast().
|
inline |
Definition at line 100 of file SPIRVSubtarget.h.
Referenced by llvm::SPIRVTargetLowering::finalizeLowering().
|
inline |
Definition at line 87 of file SPIRVSubtarget.h.
|
inlineoverride |
Definition at line 121 of file SPIRVSubtarget.h.
|
inline |
Definition at line 86 of file SPIRVSubtarget.h.
References llvm::Triple::str().
|
inline |
Definition at line 91 of file SPIRVSubtarget.h.
|
inline |
Definition at line 92 of file SPIRVSubtarget.h.
SPIRVSubtarget & SPIRVSubtarget::initSubtargetDependencies | ( | StringRef | CPU, |
StringRef | FS | ||
) |
Definition at line 92 of file SPIRVSubtarget.cpp.
References ParseSubtargetFeatures().
bool SPIRVSubtarget::isAtLeastOpenCLVer | ( | VersionTuple | VerToCompareTo | ) | const |
Definition at line 111 of file SPIRVSubtarget.cpp.
References isAtLeastVer(), and isOpenCLEnv().
bool SPIRVSubtarget::isAtLeastSPIRVVer | ( | VersionTuple | VerToCompareTo | ) | const |
Definition at line 107 of file SPIRVSubtarget.cpp.
References isAtLeastVer().
|
inline |
Definition at line 81 of file SPIRVSubtarget.h.
References llvm::Triple::getArch(), llvm::Triple::spirv32, and llvm::Triple::spirv64.
Referenced by getExecutionModel(), and isAtLeastOpenCLVer().
|
inline |
Definition at line 85 of file SPIRVSubtarget.h.
References llvm::Triple::getArch(), and llvm::Triple::spirv.
void llvm::SPIRVSubtarget::ParseSubtargetFeatures | ( | StringRef | CPU, |
StringRef | TuneCPU, | ||
StringRef | FS | ||
) |
Referenced by initSubtargetDependencies().