Home
last modified time | relevance | path

Searched refs:return_inst (Results 1 – 7 of 7) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp76 Instruction* return_inst = nullptr; in ReplaceWithFunctionCall() local
83 return_inst = in ReplaceWithFunctionCall()
86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
89 if (return_inst == nullptr) { in ReplaceWithFunctionCall()
Dmerge_return_pass.cpp247 Instruction* return_inst = block->terminator(); in BranchToBlock() local
248 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()
249 return_inst->ReplaceOperands({{SPV_OPERAND_TYPE_ID, {target}}}); in BranchToBlock()
250 context()->get_def_use_mgr()->AnalyzeInstDefUse(return_inst); in BranchToBlock()
686 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
689 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
696 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
698 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dwrap_opkill.cpp76 Instruction* return_inst = nullptr; in ReplaceWithFunctionCall() local
83 return_inst = in ReplaceWithFunctionCall()
86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
89 if (return_inst == nullptr) { in ReplaceWithFunctionCall()
Dmerge_return_pass.cpp247 Instruction* return_inst = block->terminator(); in BranchToBlock() local
248 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()
249 return_inst->ReplaceOperands({{SPV_OPERAND_TYPE_ID, {target}}}); in BranchToBlock()
250 context()->get_def_use_mgr()->AnalyzeInstDefUse(return_inst); in BranchToBlock()
686 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
689 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
696 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
698 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dwrap_opkill.cpp76 Instruction* return_inst = nullptr; in ReplaceWithFunctionCall() local
83 return_inst = in ReplaceWithFunctionCall()
86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()
89 if (return_inst == nullptr) { in ReplaceWithFunctionCall()
Dmerge_return_pass.cpp247 Instruction* return_inst = block->terminator(); in BranchToBlock() local
248 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()
249 return_inst->ReplaceOperands({{SPV_OPERAND_TYPE_ID, {target}}}); in BranchToBlock()
250 context()->get_def_use_mgr()->AnalyzeInstDefUse(return_inst); in BranchToBlock()
686 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
689 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
696 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local
698 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dkernel_support_library.cc116 auto* return_inst = llvm::ReturnInst::Create(b->getContext(), in EmitAndCallOutlinedKernel() local
119 b->SetInsertPoint(return_inst); in EmitAndCallOutlinedKernel()