Lines Matching refs:addIdOperand
139 line->addIdOperand(fileName); in addLine()
150 scopeInst->addIdOperand(nonSemanticShaderDebugInfo); in addDebugScopeAndLine()
152 scopeInst->addIdOperand(currentDebugScopeId.top()); in addDebugScopeAndLine()
158 lineInst->addIdOperand(nonSemanticShaderDebugInfo); in addDebugScopeAndLine()
160 lineInst->addIdOperand(makeDebugSource(fileName)); in addDebugScopeAndLine()
161 lineInst->addIdOperand(makeUintConstant(lineNum)); in addDebugScopeAndLine()
162 lineInst->addIdOperand(makeUintConstant(lineNum)); in addDebugScopeAndLine()
163 lineInst->addIdOperand(makeUintConstant(column)); in addDebugScopeAndLine()
164 lineInst->addIdOperand(makeUintConstant(column)); in addDebugScopeAndLine()
241 type->addIdOperand(pointee); in makePointer()
275 type->addIdOperand(pointee); in makePointerFromForwardPointer()
384 type->addIdOperand(members[op]); in makeStructType()
436 type->addIdOperand(component); in makeVectorType()
468 type->addIdOperand(column); in makeMatrixType()
498 type->addIdOperand(component); in makeCooperativeMatrixType()
499 type->addIdOperand(scope); in makeCooperativeMatrixType()
500 type->addIdOperand(rows); in makeCooperativeMatrixType()
501 type->addIdOperand(cols); in makeCooperativeMatrixType()
530 type->addIdOperand(operands[op].word); in makeGenericType()
560 type->addIdOperand(element); in makeArrayType()
561 type->addIdOperand(sizeId); in makeArrayType()
578 type->addIdOperand(element); in makeRuntimeArray()
626 type->addIdOperand(returnType); in makeFunctionType()
628 type->addIdOperand(paramTypes[p]); in makeFunctionType()
648 type->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugFunctionType()
650 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic)); in makeDebugFunctionType()
651 type->addIdOperand(debugId[returnType]); in makeDebugFunctionType()
654 type->addIdOperand(debugId[getContainedTypeId(paramType)]); in makeDebugFunctionType()
682 type->addIdOperand(sampledType); in makeImageType()
773 type->addIdOperand(imageType); in makeSampledImageType()
794 inst->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugInfoNone()
818 type->addIdOperand(nonSemanticShaderDebugInfo); in makeBoolDebugType()
821 type->addIdOperand(getStringId("bool")); // name id in makeBoolDebugType()
822 type->addIdOperand(makeUintConstant(size)); // size id in makeBoolDebugType()
823 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100Boolean)); // encoding id in makeBoolDebugType()
824 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100None)); // flags id in makeBoolDebugType()
847 type->addIdOperand(nonSemanticShaderDebugInfo); in makeIntegerDebugType()
850 type->addIdOperand(getStringId("int")); // name id in makeIntegerDebugType()
852 type->addIdOperand(getStringId("uint")); // name id in makeIntegerDebugType()
854 type->addIdOperand(makeUintConstant(width)); // size id in makeIntegerDebugType()
856 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100Signed)); // encoding id in makeIntegerDebugType()
858 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100Unsigned)); // encoding id in makeIntegerDebugType()
860 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100None)); // flags id in makeIntegerDebugType()
883 type->addIdOperand(nonSemanticShaderDebugInfo); in makeFloatDebugType()
885 type->addIdOperand(getStringId("float")); // name id in makeFloatDebugType()
886 type->addIdOperand(makeUintConstant(width)); // size id in makeFloatDebugType()
887 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100Float)); // encoding id in makeFloatDebugType()
888 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100None)); // flags id in makeFloatDebugType()
913 type->addIdOperand(nonSemanticShaderDebugInfo); in makeSequentialDebugType()
915 type->addIdOperand(debugId[baseType]); // base type in makeSequentialDebugType()
916 type->addIdOperand(componentCount); // component count in makeSequentialDebugType()
948 type->addIdOperand(nonSemanticShaderDebugInfo); in makeMatrixDebugType()
950 type->addIdOperand(debugId[vectorType]); // vector type id in makeMatrixDebugType()
951 type->addIdOperand(makeUintConstant(vectorCount)); // component count id in makeMatrixDebugType()
952 type->addIdOperand(makeBoolConstant(columnMajor)); // column-major id in makeMatrixDebugType()
966 type->addIdOperand(nonSemanticShaderDebugInfo); in makeMemberDebugType()
968 type->addIdOperand(getStringId(debugTypeLoc.name)); // name id in makeMemberDebugType()
969 type->addIdOperand(debugId[memberType]); // type id in makeMemberDebugType()
970 …type->addIdOperand(makeDebugSource(sourceFileStringId)); // source id TODO: verify this works acro… in makeMemberDebugType()
971 …type->addIdOperand(makeUintConstant(debugTypeLoc.line)); // line id TODO: currentLine is always ze… in makeMemberDebugType()
972 type->addIdOperand(makeUintConstant(debugTypeLoc.column)); // TODO: column id in makeMemberDebugType()
973 type->addIdOperand(makeUintConstant(0)); // TODO: offset id in makeMemberDebugType()
974 type->addIdOperand(makeUintConstant(0)); // TODO: size id in makeMemberDebugType()
975 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic)); // flags id in makeMemberDebugType()
1002 type->addIdOperand(nonSemanticShaderDebugInfo); in makeCompositeDebugType()
1004 type->addIdOperand(getStringId(name)); // name id in makeCompositeDebugType()
1005 type->addIdOperand(makeUintConstant(tag)); // tag id in makeCompositeDebugType()
1006 …type->addIdOperand(makeDebugSource(sourceFileStringId)); // source id TODO: verify this works acro… in makeCompositeDebugType()
1007 type->addIdOperand(makeUintConstant(currentLine)); // line id TODO: currentLine always zero? in makeCompositeDebugType()
1008 type->addIdOperand(makeUintConstant(0)); // TODO: column id in makeCompositeDebugType()
1009 type->addIdOperand(makeDebugCompilationUnit()); // scope id in makeCompositeDebugType()
1012 type->addIdOperand(getStringId('@' + std::string(name))); // linkage name id in makeCompositeDebugType()
1013 type->addIdOperand(makeDebugInfoNone()); // size id in makeCompositeDebugType()
1015 type->addIdOperand(getStringId(name)); // linkage name id in makeCompositeDebugType()
1016 type->addIdOperand(makeUintConstant(0)); // TODO: size id in makeCompositeDebugType()
1018 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic)); // flags id in makeCompositeDebugType()
1021 type->addIdOperand(memberDebugType); in makeCompositeDebugType()
1036 sourceInst->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugSource()
1038 sourceInst->addIdOperand(fileName); in makeDebugSource()
1048 sourceInst->addIdOperand(sourceId); in makeDebugSource()
1061 sourceInst->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugCompilationUnit()
1063 sourceInst->addIdOperand(makeUintConstant(1)); // TODO(greg-lunarg): Get rid of magic number in makeDebugCompilationUnit()
1064 sourceInst->addIdOperand(makeUintConstant(4)); // TODO(greg-lunarg): Get rid of magic number in makeDebugCompilationUnit()
1065 sourceInst->addIdOperand(makeDebugSource(sourceFileStringId)); in makeDebugCompilationUnit()
1066 sourceInst->addIdOperand(makeUintConstant(sourceLang)); in makeDebugCompilationUnit()
1078 inst->addIdOperand(nonSemanticShaderDebugInfo); in createDebugGlobalVariable()
1080 inst->addIdOperand(getStringId(name)); // name id in createDebugGlobalVariable()
1081 inst->addIdOperand(type); // type id in createDebugGlobalVariable()
1082 inst->addIdOperand(makeDebugSource(sourceFileStringId)); // source id in createDebugGlobalVariable()
1083 inst->addIdOperand(makeUintConstant(currentLine)); // line id TODO: currentLine always zero? in createDebugGlobalVariable()
1084 inst->addIdOperand(makeUintConstant(0)); // TODO: column id in createDebugGlobalVariable()
1085 inst->addIdOperand(makeDebugCompilationUnit()); // scope id in createDebugGlobalVariable()
1086 inst->addIdOperand(getStringId(name)); // linkage name id in createDebugGlobalVariable()
1087 inst->addIdOperand(variable); // variable id in createDebugGlobalVariable()
1088 inst->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsDefinition)); // flags id in createDebugGlobalVariable()
1100 inst->addIdOperand(nonSemanticShaderDebugInfo); in createDebugLocalVariable()
1102 inst->addIdOperand(getStringId(name)); // name id in createDebugLocalVariable()
1103 inst->addIdOperand(type); // type id in createDebugLocalVariable()
1104 inst->addIdOperand(makeDebugSource(sourceFileStringId)); // source id in createDebugLocalVariable()
1105 inst->addIdOperand(makeUintConstant(currentLine)); // line id in createDebugLocalVariable()
1106 inst->addIdOperand(makeUintConstant(0)); // TODO: column id in createDebugLocalVariable()
1107 inst->addIdOperand(currentDebugScopeId.top()); // scope id in createDebugLocalVariable()
1108 inst->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsLocal)); // flags id in createDebugLocalVariable()
1110 inst->addIdOperand(makeUintConstant(argNumber)); in createDebugLocalVariable()
1125 inst->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugExpression()
1139 inst->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugDeclare()
1141 inst->addIdOperand(debugLocalVariable); // debug local variable id in makeDebugDeclare()
1142 inst->addIdOperand(localVariable); // local variable id in makeDebugDeclare()
1143 inst->addIdOperand(makeDebugExpression()); // expression id in makeDebugDeclare()
1759 c->addIdOperand(members[op]); in makeCompositeConstant()
1774 entryPoint->addIdOperand(function->getId()); in addEntryPoint()
1786 instr->addIdOperand(entryPoint->getId()); in addExecutionMode()
1801 instr->addIdOperand(entryPoint->getId()); in addExecutionMode()
1812 instr->addIdOperand(entryPoint->getId()); in addExecutionModeId()
1815 instr->addIdOperand(operandId); in addExecutionModeId()
1823 name->addIdOperand(id); in addName()
1832 name->addIdOperand(id); in addMemberName()
1845 dec->addIdOperand(id); in addDecoration()
1859 dec->addIdOperand(id); in addDecoration()
1872 dec->addIdOperand(id); in addDecoration()
1886 dec->addIdOperand(id); in addDecoration()
1900 dec->addIdOperand(id); in addDecorationId()
1902 dec->addIdOperand(idDecoration); in addDecorationId()
1913 dec->addIdOperand(id); in addDecorationId()
1917 dec->addIdOperand(operandId); in addDecorationId()
1928 dec->addIdOperand(id); in addMemberDecoration()
1943 dec->addIdOperand(id); in addMemberDecoration()
1957 dec->addIdOperand(id); in addMemberDecoration()
1972 dec->addIdOperand(id); in addMemberDecoration()
2081 type->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugFunction()
2083 type->addIdOperand(nameId); in makeDebugFunction()
2084 type->addIdOperand(debugId[funcTypeId]); in makeDebugFunction()
2085 …type->addIdOperand(makeDebugSource(currentFileId)); // Will be fixed later when true filename avai… in makeDebugFunction()
2086 … type->addIdOperand(makeUintConstant(currentLine)); // Will be fixed later when true line available in makeDebugFunction()
2087 type->addIdOperand(makeUintConstant(0)); // column in makeDebugFunction()
2088 type->addIdOperand(makeDebugCompilationUnit()); // scope in makeDebugFunction()
2089 type->addIdOperand(nameId); // linkage name in makeDebugFunction()
2090 type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic)); in makeDebugFunction()
2091 type->addIdOperand(makeUintConstant(currentLine)); // TODO(greg-lunarg): correct scope line in makeDebugFunction()
2100 lex->addIdOperand(nonSemanticShaderDebugInfo); in makeDebugLexicalBlock()
2102 lex->addIdOperand(makeDebugSource(currentFileId)); in makeDebugLexicalBlock()
2103 lex->addIdOperand(makeUintConstant(line)); in makeDebugLexicalBlock()
2104 lex->addIdOperand(makeUintConstant(0)); // column in makeDebugLexicalBlock()
2105 lex->addIdOperand(currentDebugScopeId.top()); // scope in makeDebugLexicalBlock()
2127 inst->addIdOperand(retVal); in makeReturn()
2170 defInst->addIdOperand(nonSemanticShaderDebugInfo); in enterFunction()
2172 defInst->addIdOperand(debugId[funcId]); in enterFunction()
2173 defInst->addIdOperand(funcId); in enterFunction()
2226 inst->addIdOperand(initializer); in createVariable()
2295 store->addIdOperand(lValue); in createStore()
2296 store->addIdOperand(rValue); in createStore()
2306 store->addIdOperand(makeUintConstant(scope)); in createStore()
2318 load->addIdOperand(lValue); in createLoad()
2328 load->addIdOperand(makeUintConstant(scope)); in createLoad()
2347 chain->addIdOperand(base); in createAccessChain()
2349 chain->addIdOperand(offsets[i]); in createAccessChain()
2359 length->addIdOperand(base); in createArrayLength()
2377 length->addIdOperand(type); in createCooperativeMatrixLength()
2392 extract->addIdOperand(composite); in createCompositeExtract()
2407 extract->addIdOperand(composite); in createCompositeExtract()
2418 insert->addIdOperand(object); in createCompositeInsert()
2419 insert->addIdOperand(composite); in createCompositeInsert()
2429 insert->addIdOperand(object); in createCompositeInsert()
2430 insert->addIdOperand(composite); in createCompositeInsert()
2441 extract->addIdOperand(vector); in createVectorExtractDynamic()
2442 extract->addIdOperand(componentIndex); in createVectorExtractDynamic()
2451 insert->addIdOperand(vector); in createVectorInsertDynamic()
2452 insert->addIdOperand(component); in createVectorInsertDynamic()
2453 insert->addIdOperand(componentIndex); in createVectorInsertDynamic()
2470 op->addIdOperand(operand); in createNoResultOp()
2479 op->addIdOperand(*it); in createNoResultOp()
2490 op->addIdOperand(it->word); in createNoResultOp()
2500 op->addIdOperand(makeUintConstant(execution)); in createControlBarrier()
2501 op->addIdOperand(makeUintConstant(memory)); in createControlBarrier()
2502 op->addIdOperand(makeUintConstant(semantics)); in createControlBarrier()
2509 op->addIdOperand(makeUintConstant(executionScope)); in createMemoryBarrier()
2510 op->addIdOperand(makeUintConstant(memorySemantics)); in createMemoryBarrier()
2523 op->addIdOperand(operand); in createUnaryOp()
2539 op->addIdOperand(left); in createBinOp()
2540 op->addIdOperand(right); in createBinOp()
2559 op->addIdOperand(op1); in createTriOp()
2560 op->addIdOperand(op2); in createTriOp()
2561 op->addIdOperand(op3); in createTriOp()
2571 op->addIdOperand(*it); in createOp()
2582 op->addIdOperand(it->word); in createOp()
2597 op->addIdOperand(*it); in createSpecConstantOp()
2609 op->addIdOperand(function->getId()); in createFunctionCall()
2611 op->addIdOperand(args[a]); in createFunctionCall()
2630 swizzle->addIdOperand(source); in createRvalueSwizzle()
2631 swizzle->addIdOperand(source); in createRvalueSwizzle()
2648 swizzle->addIdOperand(target); in createLvalueSwizzle()
2652 swizzle->addIdOperand(source); in createLvalueSwizzle()
2711 smear->addIdOperand(scalar); in smearScalar()
2722 inst->addIdOperand(builtins); in createBuiltinCall()
2725 inst->addIdOperand(args[arg]); in createBuiltinCall()
2927 textureInst->addIdOperand(texArgs[op]); in createTextureCall()
2931 textureInst->addIdOperand(texArgs[op]); in createTextureCall()
3008 query->addIdOperand(parameters.sampler); in createTextureQueryCall()
3010 query->addIdOperand(parameters.coords); in createTextureQueryCall()
3012 query->addIdOperand(parameters.lod); in createTextureQueryCall()
3111 op->addIdOperand(constituents[c]); in createCompositeConstruct()
3404 switchInst->addIdOperand(selector); in makeSwitch()
3406 switchInst->addIdOperand(defaultOrMerge->getId()); in makeSwitch()
3410 switchInst->addIdOperand(segmentBlocks[valueIndexToSegment[i]]->getId()); in makeSwitch()
3931 branch->addIdOperand(block->getId()); in createBranch()
3939 merge->addIdOperand(mergeBlock->getId()); in createSelectionMerge()
3948 merge->addIdOperand(mergeBlock->getId()); in createLoopMerge()
3949 merge->addIdOperand(continueBlock->getId()); in createLoopMerge()
3959 branch->addIdOperand(condition); in createConditionalBranch()
3960 branch->addIdOperand(thenBlock->getId()); in createConditionalBranch()
3961 branch->addIdOperand(elseBlock->getId()); in createConditionalBranch()
3984 sourceInst.addIdOperand(fileId); in dumpSourceInstructions()