Lines Matching refs:opCode
104 void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
168 Op opCode = (Op)(firstWord & OpCodeMask); in processInstructions() local
181 if (InstructionDesc[opCode].hasType()) { in processInstructions()
188 if (InstructionDesc[opCode].hasResult()) { in processInstructions()
201 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions()
320 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument
324 out << (OpcodeString(opCode) + 2); // leave out the "Op" in disassembleInstruction()
326 if (opCode == OpLoopMerge || opCode == OpSelectionMerge) in disassembleInstruction()
328 else if (opCode == OpBranchConditional || opCode == OpSwitch) { in disassembleInstruction()
333 } else if (opCode == OpExtInstImport) { in disassembleInstruction()
338 switch (opCode) { in disassembleInstruction()
399 if (opCode == OpTypeImage) { in disassembleInstruction()
420 for (int op = 0; op < InstructionDesc[opCode].operands.getNum() && numOperands > 0; ++op) { in disassembleInstruction()
422 OperandClass operandClass = InstructionDesc[opCode].operands.getClass(op); in disassembleInstruction()
430 if (opCode == OpName) in disassembleInstruction()
443 if ((opCode == OpDecorate && stream[word - 1] == DecorationBuiltIn) || in disassembleInstruction()
444 (opCode == OpMemberDecorate && stream[word - 1] == DecorationBuiltIn)) { in disassembleInstruction()
480 if (opCode == OpExtInst) { in disassembleInstruction()