Searched refs:return_inst (Results 1 – 3 of 3) sorted by relevance
216 Instruction* return_inst = block->terminator(); in BranchToBlock() local217 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()218 return_inst->ReplaceOperands({{SPV_OPERAND_TYPE_ID, {target}}}); in BranchToBlock()219 context()->get_def_use_mgr()->AnalyzeInstDefUse(return_inst); in BranchToBlock()597 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local600 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()607 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local609 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
216 Instruction* return_inst = block->terminator(); in BranchToBlock() local217 return_inst->SetOpcode(SpvOpBranch); in BranchToBlock()218 return_inst->ReplaceOperands({{SPV_OPERAND_TYPE_ID, {target}}}); in BranchToBlock()219 context()->get_def_use_mgr()->AnalyzeInstDefUse(return_inst); in BranchToBlock()613 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local616 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()623 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local625 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
112 auto* return_inst = llvm::ReturnInst::Create(b->getContext(), in EmitAndCallOutlinedKernel() local115 b->SetInsertPoint(return_inst); in EmitAndCallOutlinedKernel()