• Home
  • Raw
  • Download

Lines Matching refs:resultId

104     void disassembleInstruction(Id resultId, Id typeId, Op opCode, int numOperands);
187 Id resultId = 0; in processInstructions() local
189 resultId = stream[word++]; in processInstructions()
193 idInstruction[resultId] = instructionStart; in processInstructions()
196 outputResultId(resultId); 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
334 idDescriptor[resultId] = (const char*)(&stream[word]); in disassembleInstruction()
337 if (resultId != 0 && idDescriptor[resultId].size() == 0) { in disassembleInstruction()
341 case 8: idDescriptor[resultId] = "int8_t"; break; in disassembleInstruction()
342 case 16: idDescriptor[resultId] = "int16_t"; break; in disassembleInstruction()
344 case 32: idDescriptor[resultId] = "int"; break; in disassembleInstruction()
345 case 64: idDescriptor[resultId] = "int64_t"; break; in disassembleInstruction()
350 case 16: idDescriptor[resultId] = "float16_t"; break; in disassembleInstruction()
352 case 32: idDescriptor[resultId] = "float"; break; in disassembleInstruction()
353 case 64: idDescriptor[resultId] = "float64_t"; break; in disassembleInstruction()
357 idDescriptor[resultId] = "bool"; in disassembleInstruction()
360 idDescriptor[resultId] = "struct"; in disassembleInstruction()
363 idDescriptor[resultId] = "ptr"; in disassembleInstruction()
367 …idDescriptor[resultId].append(idDescriptor[stream[word]].begin(), idDescriptor[stream[word]].begin… in disassembleInstruction()
369 idDescriptor[resultId].append("8"); in disassembleInstruction()
372 idDescriptor[resultId].append("16"); in disassembleInstruction()
375 idDescriptor[resultId].append("64"); in disassembleInstruction()
378 idDescriptor[resultId].append("vec"); in disassembleInstruction()
380 case 2: idDescriptor[resultId].append("2"); break; in disassembleInstruction()
381 case 3: idDescriptor[resultId].append("3"); break; in disassembleInstruction()
382 case 4: idDescriptor[resultId].append("4"); break; in disassembleInstruction()
383 case 8: idDescriptor[resultId].append("8"); break; in disassembleInstruction()
384 case 16: idDescriptor[resultId].append("16"); break; in disassembleInstruction()
385 case 32: idDescriptor[resultId].append("32"); break; in disassembleInstruction()