Home
last modified time | relevance | path

Searched refs:NewRetBlock (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp59 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in unifyUnreachableBlocks()
64 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in unifyUnreachableBlocks()
69 PN->insertInto(NewRetBlock, NewRetBlock->end());
70 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in unifyReturnBlocks()
82 BranchInst::Create(NewRetBlock, BB); in unifyReturnBlocks()
83 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), unifyReturnBlocks() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp146 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), Name, &F); in unifyReturnBlockSet() local
147 IRBuilder<> B(NewRetBlock); in unifyReturnBlockSet()
171 BranchInst::Create(NewRetBlock, BB); in unifyReturnBlockSet()
172 Updates.emplace_back(DominatorTree::Insert, BB, NewRetBlock); in unifyReturnBlockSet()
185 return NewRetBlock; in unifyReturnBlockSet()