• Home
  • Raw
  • Download

Lines Matching refs:resultId

121     void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
204 Id resultId = 0; in processInstructions() local
206 resultId = stream[word++]; in processInstructions()
210 idInstruction[resultId] = instructionStart; in processInstructions()
213 outputResultId(resultId); in processInstructions()
218 disassembleInstruction(resultId, typeId, opCode, numOperands); in processInstructions()
337 void SpirvStream::disassembleInstruction(Id resultId, Id /*typeId*/, Op opCode, int numOperands) in disassembleInstruction() argument
351 idDescriptor[resultId] = (const char*)(&stream[word]); in disassembleInstruction()
354 if (resultId != 0 && idDescriptor[resultId].size() == 0) { in disassembleInstruction()
358 case 8: idDescriptor[resultId] = "int8_t"; break; in disassembleInstruction()
359 case 16: idDescriptor[resultId] = "int16_t"; break; in disassembleInstruction()
361 case 32: idDescriptor[resultId] = "int"; break; in disassembleInstruction()
362 case 64: idDescriptor[resultId] = "int64_t"; break; in disassembleInstruction()
367 case 16: idDescriptor[resultId] = "float16_t"; break; in disassembleInstruction()
369 case 32: idDescriptor[resultId] = "float"; break; in disassembleInstruction()
370 case 64: idDescriptor[resultId] = "float64_t"; break; in disassembleInstruction()
374 idDescriptor[resultId] = "bool"; in disassembleInstruction()
377 idDescriptor[resultId] = "struct"; in disassembleInstruction()
380 idDescriptor[resultId] = "ptr"; in disassembleInstruction()
384 …idDescriptor[resultId].append(idDescriptor[stream[word]].begin(), idDescriptor[stream[word]].begin… in disassembleInstruction()
386 idDescriptor[resultId].append("8"); in disassembleInstruction()
389 idDescriptor[resultId].append("16"); in disassembleInstruction()
392 idDescriptor[resultId].append("64"); in disassembleInstruction()
395 idDescriptor[resultId].append("vec"); in disassembleInstruction()
397 case 2: idDescriptor[resultId].append("2"); break; in disassembleInstruction()
398 case 3: idDescriptor[resultId].append("3"); break; in disassembleInstruction()
399 case 4: idDescriptor[resultId].append("4"); break; in disassembleInstruction()
400 case 8: idDescriptor[resultId].append("8"); break; in disassembleInstruction()
401 case 16: idDescriptor[resultId].append("16"); break; in disassembleInstruction()
402 case 32: idDescriptor[resultId].append("32"); break; in disassembleInstruction()