Searched refs:getOpCode (Results 1 – 6 of 6) sorted by relevance
73 switch (inst.getOpCode()) { in postProcessType()206 switch (inst.getOpCode()) { in postProcess()249 if (accessChain->getOpCode() == OpAccessChain) { in postProcess()254 assert(type->getOpCode() == OpTypePointer); in postProcess()268 if (type->getOpCode() == OpTypeStruct) { in postProcess()269 assert(idx->getOpCode() == OpConstant); in postProcess()273 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess()285 } else if (type->getOpCode() == OpTypeArray || in postProcess()286 type->getOpCode() == OpTypeRuntimeArray) { in postProcess()288 if (decoration.get()->getOpCode() == OpDecorate && in postProcess()[all …]
137 Op getOpCode() const { return opCode; } in getOpCode() function216 switch (nextToLast->getOpCode()) { in getMergeInstruction()257 switch (instructions.back()->getOpCode()) { in isTerminated()447 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
247 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode() function248 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass()299 bool isConstant(Id resultId) const { return isConstantOpCode(getOpCode(resultId)); } in isConstant()300 bool isConstantScalar(Id resultId) const { return getOpCode(resultId) == OpConstant; } in isConstantScalar()301 bool isSpecConstant(Id resultId) const { return isSpecConstantOpCode(getOpCode(resultId)); } in isSpecConstant()307 bool isVariable(Id resultId) const { return isVariableOpCode(getOpCode(resultId)); } in isVariable()
88 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit()
1193 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass()1212 switch (instr->getOpCode()) in getNumTypeConstituents()1245 Op typeClass = instr->getOpCode(); in getScalarTypeId()1271 Op typeClass = instr->getOpCode(); in getContainedTypeId()1323 Op typeClass = instr.getOpCode(); in containsType()1353 Op typeClass = instr.getOpCode(); in containsPhysicalStorageBufferOrArray()1372 if (constant->getOpCode() == opcode && in findScalarConstant()1387 if (constant->getOpCode() == opcode && in findScalarConstant()1483 if (constant->getTypeId() == typeId && constant->getOpCode() == opcode) in makeBoolConstant()2247 if (emitNonSemanticShaderDebugInfo && !isRayTracingOpCode(getOpCode(type))) in createVariable()
94 …Op getOpCode(int id) const { return idInstruction[id] ? (Op)(stream[idInstruction[id]] & OpCodeMas… in getOpCode() function in spv::SpirvStream