Lines Matching refs:SPIRV
20 namespace SPIRV { namespace
57 getSymbolicOperandMnemonic(SPIRV::OperandCategory::OperandCategory Category, in getSymbolicOperandMnemonic()
59 const SPIRV::SymbolicOperand *Lookup = in getSymbolicOperandMnemonic()
60 SPIRV::lookupSymbolicOperandByCategoryAndValue(Category, Value); in getSymbolicOperandMnemonic()
64 if (Category != SPIRV::OperandCategory::ImageOperandOperand && in getSymbolicOperandMnemonic()
65 Category != SPIRV::OperandCategory::FPFastMathModeOperand && in getSymbolicOperandMnemonic()
66 Category != SPIRV::OperandCategory::SelectionControlOperand && in getSymbolicOperandMnemonic()
67 Category != SPIRV::OperandCategory::LoopControlOperand && in getSymbolicOperandMnemonic()
68 Category != SPIRV::OperandCategory::FunctionControlOperand && in getSymbolicOperandMnemonic()
69 Category != SPIRV::OperandCategory::MemorySemanticsOperand && in getSymbolicOperandMnemonic()
70 Category != SPIRV::OperandCategory::MemoryOperandOperand && in getSymbolicOperandMnemonic()
71 Category != SPIRV::OperandCategory::KernelProfilingInfoOperand) in getSymbolicOperandMnemonic()
76 const SPIRV::SymbolicOperand *EnumValueInCategory = in getSymbolicOperandMnemonic()
77 SPIRV::lookupSymbolicOperandByCategory(Category); in getSymbolicOperandMnemonic()
92 getSymbolicOperandMinVersion(SPIRV::OperandCategory::OperandCategory Category, in getSymbolicOperandMinVersion()
94 const SPIRV::SymbolicOperand *Lookup = in getSymbolicOperandMinVersion()
95 SPIRV::lookupSymbolicOperandByCategoryAndValue(Category, Value); in getSymbolicOperandMinVersion()
104 getSymbolicOperandMaxVersion(SPIRV::OperandCategory::OperandCategory Category, in getSymbolicOperandMaxVersion()
106 const SPIRV::SymbolicOperand *Lookup = in getSymbolicOperandMaxVersion()
107 SPIRV::lookupSymbolicOperandByCategoryAndValue(Category, Value); in getSymbolicOperandMaxVersion()
116 getSymbolicOperandCapabilities(SPIRV::OperandCategory::OperandCategory Category, in getSymbolicOperandCapabilities()
118 const SPIRV::CapabilityEntry *Capability = in getSymbolicOperandCapabilities()
119 SPIRV::lookupCapabilityByCategoryAndValue(Category, Value); in getSymbolicOperandCapabilities()
125 static_cast<SPIRV::Capability::Capability>(Capability->ReqCapability)); in getSymbolicOperandCapabilities()
133 getCapabilitiesEnabledByExtension(SPIRV::Extension::Extension Extension) { in getCapabilitiesEnabledByExtension()
134 const SPIRV::ExtensionEntry *Entry = in getCapabilitiesEnabledByExtension()
135 SPIRV::lookupSymbolicOperandsEnabledByExtension( in getCapabilitiesEnabledByExtension()
136 Extension, SPIRV::OperandCategory::CapabilityOperand); in getCapabilitiesEnabledByExtension()
140 Entry->Category == SPIRV::OperandCategory::CapabilityOperand && in getCapabilitiesEnabledByExtension()
143 static_cast<SPIRV::Capability::Capability>(Entry->Value)); in getCapabilitiesEnabledByExtension()
151 getSymbolicOperandExtensions(SPIRV::OperandCategory::OperandCategory Category, in getSymbolicOperandExtensions()
153 const SPIRV::ExtensionEntry *Extension = in getSymbolicOperandExtensions()
154 SPIRV::lookupExtensionByCategoryAndValue(Category, Value); in getSymbolicOperandExtensions()
160 static_cast<SPIRV::Extension::Extension>(Extension->ReqExtension)); in getSymbolicOperandExtensions()
167 std::string getLinkStringForBuiltIn(SPIRV::BuiltIn::BuiltIn BuiltInValue) { in getLinkStringForBuiltIn()
168 const SPIRV::SymbolicOperand *Lookup = in getLinkStringForBuiltIn()
169 SPIRV::lookupSymbolicOperandByCategoryAndValue( in getLinkStringForBuiltIn()
170 SPIRV::OperandCategory::BuiltInOperand, BuiltInValue); in getLinkStringForBuiltIn()
178 SPIRV::BuiltIn::BuiltIn &BI) { in getSpirvBuiltInIdByName()
183 const SPIRV::SymbolicOperand *Lookup = in getSpirvBuiltInIdByName()
184 SPIRV::lookupSymbolicOperandByCategoryAndMnemonic( in getSpirvBuiltInIdByName()
185 SPIRV::OperandCategory::BuiltInOperand, in getSpirvBuiltInIdByName()
191 BI = static_cast<SPIRV::BuiltIn::BuiltIn>(Lookup->Value); in getSpirvBuiltInIdByName()
195 std::string getExtInstSetName(SPIRV::InstructionSet::InstructionSet Set) { in getExtInstSetName()
197 case SPIRV::InstructionSet::OpenCL_std: in getExtInstSetName()
199 case SPIRV::InstructionSet::GLSL_std_450: in getExtInstSetName()
201 case SPIRV::InstructionSet::NonSemantic_Shader_DebugInfo_100: in getExtInstSetName()
203 case SPIRV::InstructionSet::SPV_AMD_shader_trinary_minmax: in getExtInstSetName()
209 SPIRV::InstructionSet::InstructionSet
212 {SPIRV::InstructionSet::GLSL_std_450, SPIRV::InstructionSet::OpenCL_std, in getExtInstSetFromString()
213 SPIRV::InstructionSet::NonSemantic_Shader_DebugInfo_100}) { in getExtInstSetFromString()
220 std::string getExtInstName(SPIRV::InstructionSet::InstructionSet Set, in getExtInstName()
222 const SPIRV::ExtendedBuiltin *Lookup = in getExtInstName()
223 SPIRV::lookupExtendedBuiltinBySetAndNumber(Set, InstructionNumber); in getExtInstName()