Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp51 std::vector<BasicBlock*> ReturningBlocks; in runOnFunction() local
55 ReturningBlocks.push_back(I); in runOnFunction()
78 if (ReturningBlocks.empty()) { in runOnFunction()
81 } else if (ReturningBlocks.size() == 1) { in runOnFunction()
82 ReturnBlock = ReturningBlocks.front(); // Already has a single return block in runOnFunction()
98 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction()
107 for (std::vector<BasicBlock*>::iterator I = ReturningBlocks.begin(), in runOnFunction()
108 E = ReturningBlocks.end(); I != E; ++I) { in runOnFunction()