Searched refs:BuiltIn (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
H A D | SPIRVBaseInfo.h | 135 namespace BuiltIn { 237 std::string getLinkStringForBuiltIn(SPIRV::BuiltIn::BuiltIn BuiltInValue); 239 bool getSpirvBuiltInIdByName(StringRef Name, SPIRV::BuiltIn::BuiltIn &BI);
|
H A D | SPIRVBaseInfo.cpp | 167 std::string getLinkStringForBuiltIn(SPIRV::BuiltIn::BuiltIn BuiltInValue) { in getLinkStringForBuiltIn() 178 SPIRV::BuiltIn::BuiltIn &BI) { in getSpirvBuiltInIdByName() 191 BI = static_cast<SPIRV::BuiltIn::BuiltIn>(Lookup->Value); in getSpirvBuiltInIdByName()
|
H A D | SPIRVInstPrinter.cpp | 253 case Decoration::BuiltIn: in printOpDecorate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVBuiltins.cpp | 117 BuiltIn::BuiltIn Value; 120 using namespace BuiltIn; 460 SPIRVGlobalRegistry *GR, SPIRV::BuiltIn::BuiltIn BuiltinValue, LLT LLType, in buildBuiltinVariableLoad() 1330 SPIRV::BuiltIn::BuiltIn BuiltinValue, in genWorkgroupQuery() 1430 SPIRV::BuiltIn::BuiltIn Value = in generateBuiltinVar() 1433 if (Value == SPIRV::BuiltIn::GlobalInvocationId) in generateBuiltinVar() 1545 SPIRV::BuiltIn::BuiltIn Value = in generateWaveInst() 1561 SPIRV::BuiltIn::BuiltIn Value = in generateGetQueryInst() 1563 uint64_t IsDefault = (Value == SPIRV::BuiltIn::GlobalSize || in generateGetQueryInst() 1564 Value == SPIRV::BuiltIn::WorkgroupSize || in generateGetQueryInst() [all …]
|
H A D | SPIRVModuleAnalysis.cpp | 695 if (Dec == SPIRV::Decoration::BuiltIn) { in addOpDecorateReqs() 697 auto BuiltIn = static_cast<SPIRV::BuiltIn::BuiltIn>(BuiltInOp); in addOpDecorateReqs() local 699 SPIRV::OperandCategory::BuiltInOperand, BuiltIn, ST, Reqs)); in addOpDecorateReqs()
|
H A D | SPIRVSymbolicOperands.td | 17 // - Category (Extension/Capability/BuiltIn/etc.) 1163 defm BuiltIn : DecorationOperand<11, 0, 0, [], []>; 1225 // Multiclass used to define BuiltIn enum values and at the same time 1230 def BuiltIn : GenericEnum, Operand<i32> { 1231 let FilterClass = "BuiltIn"; 1237 class BuiltIn<string name, bits<32> value> { 1243 def NAME : BuiltIn<NAME, value>;
|
H A D | SPIRVGlobalRegistry.cpp | 689 SPIRV::BuiltIn::BuiltIn BuiltInId; in buildGlobalVariable() 691 buildOpDecorate(Reg, MIRBuilder, SPIRV::Decoration::BuiltIn, in buildGlobalVariable()
|
H A D | SPIRVBuiltins.td | 1258 // value specifies the value of the BuiltIn enum. 1260 class GetBuiltin<string name, InstructionSet set, BuiltIn value> { 1263 BuiltIn Value = value; 1271 string TypeOf_Value = "BuiltIn"; 1282 multiclass DemangledGetBuiltin<string name, InstructionSet set, BuiltinGroup group, BuiltIn value> {
|
H A D | SPIRVInstructionSelector.cpp | 2371 getLinkStringForBuiltIn(SPIRV::BuiltIn::GlobalInvocationId), nullptr, in selectSpvThreadId()
|