Searched refs:return_inst (Results 1 – 7 of 7) sorted by relevance
76 Instruction* return_inst = nullptr; in ReplaceWithFunctionCall() local83 return_inst = in ReplaceWithFunctionCall()86 return_inst = ir_builder.AddNullaryOp(0, SpvOpReturn); in ReplaceWithFunctionCall()89 if (return_inst == nullptr) { in ReplaceWithFunctionCall()
247 Instruction* return_inst = block->terminator(); in BranchToBlock() local248 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() local689 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()696 std::unique_ptr<Instruction> return_inst( in MergeReturnBlocks() local698 ret_block_iter->AddInstruction(std::move(return_inst)); in MergeReturnBlocks()
116 auto* return_inst = llvm::ReturnInst::Create(b->getContext(), in EmitAndCallOutlinedKernel() local119 b->SetInsertPoint(return_inst); in EmitAndCallOutlinedKernel()