Searched refs:getOpCode (Results 1 – 6 of 6) sorted by relevance
74 switch (inst.getOpCode()) { in postProcessType()192 switch (inst.getOpCode()) { in postProcess()235 if (accessChain->getOpCode() == OpAccessChain) { in postProcess()240 assert(type->getOpCode() == OpTypePointer); in postProcess()254 if (type->getOpCode() == OpTypeStruct) { in postProcess()255 assert(idx->getOpCode() == OpConstant); in postProcess()259 if (decoration.get()->getOpCode() == OpMemberDecorate && in postProcess()271 } else if (type->getOpCode() == OpTypeArray || in postProcess()272 type->getOpCode() == OpTypeRuntimeArray) { in postProcess()274 if (decoration.get()->getOpCode() == OpDecorate && in postProcess()[all …]
141 Op getOpCode() const { return opCode; } in getOpCode() function220 switch (nextToLast->getOpCode()) { in getMergeInstruction()261 switch (instructions.back()->getOpCode()) { in isTerminated()435 assert(idToInstruction[typeId]->getOpCode() == spv::OpTypePointer); in getStorageClass()
193 Op getOpCode(Id id) const { return module.getInstruction(id)->getOpCode(); } in getOpCode() function194 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass()244 bool isConstant(Id resultId) const { return isConstantOpCode(getOpCode(resultId)); } in isConstant()245 bool isConstantScalar(Id resultId) const { return getOpCode(resultId) == OpConstant; } in isConstantScalar()246 bool isSpecConstant(Id resultId) const { return isSpecConstantOpCode(getOpCode(resultId)); } in isSpecConstant()252 bool isVariable(Id resultId) const { return isVariableOpCode(getOpCode(resultId)); } in isVariable()
88 if (mergeInst->getOpCode() == spv::OpLoopMerge) { in visit()
649 Op typeClass = instr->getOpCode(); in getMostBasicTypeClass()668 switch (instr->getOpCode()) in getNumTypeConstituents()701 Op typeClass = instr->getOpCode(); in getScalarTypeId()727 Op typeClass = instr->getOpCode(); in getContainedTypeId()759 Op typeClass = instr.getOpCode(); in containsType()789 Op typeClass = instr.getOpCode(); in containsPhysicalStorageBufferOrArray()808 if (constant->getOpCode() == opcode && in findScalarConstant()823 if (constant->getOpCode() == opcode && in findScalarConstant()884 if (constant->getTypeId() == typeId && constant->getOpCode() == opcode) in makeBoolConstant()
92 …Op getOpCode(int id) const { return idInstruction[id] ? (Op)(stream[idInstruction[id]] & OpCodeMas… in getOpCode() function in spv::SpirvStream