Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp69 ArrayRef<BasicBlock *> ReturningBlocks,
141 Function &F, DomTreeUpdater &DTU, ArrayRef<BasicBlock *> ReturningBlocks, in unifyReturnBlockSet() argument
154 PN = B.CreatePHI(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlockSet()
162 Updates.reserve(ReturningBlocks.size()); in unifyReturnBlockSet()
163 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet()
179 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet()
200 SmallVector<BasicBlock *, 4> ReturningBlocks; in run() local
221 ReturningBlocks.push_back(BB); in run()
234 ReturningBlocks.push_back(DummyReturnBB); in run()
289 if (!ReturningBlocks.empty()) { in run()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DUnifyFunctionExitNodes.cpp47 std::vector<BasicBlock *> ReturningBlocks;
51 ReturningBlocks.push_back(&I); in unifyUnreachableBlocks()
53 if (ReturningBlocks.size() <= 1) in unifyUnreachableBlocks()
67 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in unifyUnreachableBlocks()
75 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlocks()
71 std::vector<BasicBlock *> ReturningBlocks; unifyReturnBlocks() local