Searched refs:functionBody (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | SerializeOps.cpp | 179 assert(functionHeader.empty() && functionBody.empty()); in processFuncOp() 249 functionBody[offset] = id; in processFuncOp() 259 functions.append(functionBody.begin(), functionBody.end()); in processFuncOp() 261 functionBody.clear(); in processFuncOp() 387 if (failed(emitDebugLine(functionBody, loc))) in processSelectionOp() 391 functionBody, spirv::Opcode::OpSelectionMerge, in processSelectionOp() 449 if (failed(emitDebugLine(functionBody, loc))) in processLoopOp() 453 functionBody, spirv::Opcode::OpLoopMerge, in processLoopOp() 503 if (failed(emitDebugLine(functionBody, branchOp.getLoc()))) in processBranchOp() 505 encodeInstructionInto(functionBody, spirv::Opcode::OpBranch, in processBranchOp() [all …]
|
| H A D | Serializer.cpp | 946 encodeInstructionInto(functionBody, spirv::Opcode::OpLabel, {blockID}); in processBlock() 967 encodeInstructionInto(functionBody, spirv::Opcode::OpBranch, {blockID}); in processBlock() 968 encodeInstructionInto(functionBody, spirv::Opcode::OpLabel, {blockID}); in processBlock() 1070 deferredPhiValues[value].push_back(functionBody.size() + 1 + in emitPhiForBlockArguments() 1080 encodeInstructionInto(functionBody, spirv::Opcode::OpPhi, phiArgs); in emitPhiForBlockArguments() 1116 encodeInstructionInto(functionBody, spirv::Opcode::OpExtInst, in encodeExtensionInstruction() 1177 if (failed(emitDebugLine(functionBody, loc))) in processOpWithoutGrammarAttr() 1181 encodeInstructionInto(functionBody, static_cast<spirv::Opcode>(opcode), in processOpWithoutGrammarAttr()
|
| H A D | Serializer.h | 381 SmallVector<uint32_t, 0> functionBody; variable
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | Writer.cpp | 974 std::string functionBody; in createFunction() local 976 raw_string_ostream os(functionBody); in createFunction() 980 ArrayRef<uint8_t> body = arrayRefFromStringRef(saver().save(functionBody)); in createFunction()
|