Searched refs:ReturningBlocks (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 51 std::vector<BasicBlock*> ReturningBlocks; in runOnFunction() local 55 ReturningBlocks.push_back(&I); in runOnFunction() 76 if (ReturningBlocks.empty()) { in runOnFunction() 79 } else if (ReturningBlocks.size() == 1) { in runOnFunction() 80 ReturnBlock = ReturningBlocks.front(); // Already has a single return block in runOnFunction() 96 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction() 105 for (BasicBlock *BB : ReturningBlocks) { in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 55 std::vector<BasicBlock*> ReturningBlocks; in runOnFunction() local 59 ReturningBlocks.push_back(&I); in runOnFunction() 80 if (ReturningBlocks.empty()) { in runOnFunction() 83 } else if (ReturningBlocks.size() == 1) { in runOnFunction() 84 ReturnBlock = ReturningBlocks.front(); // Already has a single return block in runOnFunction() 100 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction() 109 for (BasicBlock *BB : ReturningBlocks) { in runOnFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 137 ArrayRef<BasicBlock *> ReturningBlocks, in unifyReturnBlockSet() argument 169 PN = B.CreatePHI(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlockSet() 177 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet() 188 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet() 205 SmallVector<BasicBlock *, 4> ReturningBlocks; in runOnFunction() local 216 ReturningBlocks.push_back(BB); in runOnFunction() 259 ReturningBlocks.push_back(DummyReturnBB); in runOnFunction() 296 if (!ReturningBlocks.empty()) { in runOnFunction() 316 ReturningBlocks.push_back(UnreachableBlock); in runOnFunction() 321 if (ReturningBlocks.empty()) in runOnFunction() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 138 ArrayRef<BasicBlock *> ReturningBlocks, in unifyReturnBlockSet() argument 170 PN = B.CreatePHI(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlockSet() 178 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet() 189 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlockSet() 210 SmallVector<BasicBlock *, 4> ReturningBlocks; in runOnFunction() local 223 ReturningBlocks.push_back(BB); in runOnFunction() 268 ReturningBlocks.push_back(DummyReturnBB); in runOnFunction() 307 if (!ReturningBlocks.empty()) { in runOnFunction() 327 ReturningBlocks.push_back(UnreachableBlock); in runOnFunction() 333 if (ReturningBlocks.empty()) in runOnFunction() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 71 std::vector<BasicBlock *> ReturningBlocks; in unifyReturnBlocks() local 75 ReturningBlocks.push_back(&I); in unifyReturnBlocks() 77 if (ReturningBlocks.size() <= 1) in unifyReturnBlocks() 91 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in unifyReturnBlocks() 99 for (BasicBlock *BB : ReturningBlocks) { in unifyReturnBlocks()
|