Home
last modified time | relevance | path

Searched refs:functionBody (Results 1 – 4 of 4) sorted by relevance

/llvm-project/mlir/lib/Target/SPIRV/Serialization/
H A DSerializeOps.cpp209 assert(functionHeader.empty() && functionBody.empty()); in processFuncOp()
297 functionBody[offset] = id; in processFuncOp()
319 encodeInstructionInto(functionBody, spirv::Opcode::OpFunctionEnd, {}); in processFuncOp()
322 functions.append(functionBody.begin(), functionBody.end()); in processFuncOp()
324 functionBody.clear(); in processFuncOp()
455 encodeInstructionInto(functionBody, spirv::Opcode::OpBranch, {headerID}); in processSelectionOp()
461 if (failed(emitDebugLine(functionBody, loc))) in processSelectionOp()
465 functionBody, spirv::Opcode::OpSelectionMerge, in processSelectionOp()
485 encodeInstructionInto(functionBody, spir in processSelectionOp()
[all...]
H A DSerializer.cpp1066 encodeInstructionInto(functionBody, spirv::Opcode::OpLabel, {blockID}); in emitPhiForBlockArguments()
1087 encodeInstructionInto(functionBody, spirv::Opcode::OpBranch, {blockID}); in emitPhiForBlockArguments()
1088 encodeInstructionInto(functionBody, spirv::Opcode::OpLabel, {blockID}); in emitPhiForBlockArguments()
1190 deferredPhiValues[value].push_back(functionBody.size() + 1 + in encodeExtensionInstruction()
1200 encodeInstructionInto(functionBody, spirv::Opcode::OpPhi, phiArgs); in processOperation()
1236 encodeInstructionInto(functionBody, spirv::Opcode::OpExtInst, in processOpWithoutGrammarAttr()
1297 if (failed(emitDebugLine(functionBody, loc))) in emitDebugLine()
1301 encodeInstructionInto(functionBody, static_cast<spirv::Opcode>(opcode), in emitDebugLine()
H A DSerializer.h384 SmallVector<uint32_t, 0> functionBody; variable
/llvm-project/lld/wasm/
H A DWriter.cpp1107 std::string functionBody;
1109 raw_string_ostream os(functionBody); in createFunction() local
1113 ArrayRef<uint8_t> body = arrayRefFromStringRef(saver().save(functionBody)); in createFunction()