Home
last modified time | relevance | path

Searched refs:resultTypeID (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializeOps.cpp270 uint32_t resultTypeID = 0; in processVariableOp() local
271 if (failed(processType(op.getLoc(), op.getType(), resultTypeID))) { in processVariableOp()
274 operands.push_back(resultTypeID); in processVariableOp()
310 uint32_t resultTypeID = 0; in processGlobalVariableOp() local
312 if (failed(processType(varOp.getLoc(), varOp.type(), resultTypeID))) { in processGlobalVariableOp()
318 operands.push_back(resultTypeID); in processGlobalVariableOp()
H A DSerializer.cpp1164 uint32_t resultTypeID = 0; in processOpWithoutGrammarAttr() local
1165 if (failed(processType(loc, op->getResult(0).getType(), resultTypeID))) in processOpWithoutGrammarAttr()
1167 operands.push_back(resultTypeID); in processOpWithoutGrammarAttr()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.h102 uint32_t resultTypeID; member
301 uint32_t resultTypeID,
H A DDeserializer.cpp1316 uint32_t resultTypeID = operands[0]; in processSpecConstantOperation() local
1318 if (!getType(resultTypeID)) in processSpecConstantOperation()
1320 << resultTypeID; in processSpecConstantOperation()
1327 enclosedOpcode, resultTypeID, in processSpecConstantOperation()
1338 uint32_t resultID, spirv::Opcode enclosedOpcode, uint32_t resultTypeID, in materializeSpecConstantOperation() argument
1341 Type resultType = getType(resultTypeID); in materializeSpecConstantOperation()
1359 enclosedOpResultTypeAndOperands.push_back(resultTypeID); in materializeSpecConstantOperation()
H A DDeserializeOps.cpp66 specConstOperationInfo->resultTypeID, in getValue()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DSPIRVUtilsGen.cpp646 StringRef resultTypeID("resultTypeID"); in emitResultSerialization() local
647 os << tabs << formatv("uint32_t {0} = 0;\n", resultTypeID); in emitResultSerialization()
651 opVar, resultTypeID); in emitResultSerialization()
654 os << tabs << formatv("{0}.push_back({1});\n", operands, resultTypeID); in emitResultSerialization()