OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SinglePred
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/Transforms/Scalar/
CodeGenPrepare.cpp
240
BasicBlock *
SinglePred
= BB->getSinglePredecessor();
243
if (!
SinglePred
||
SinglePred
== BB || BB->hasAddressTaken()) continue;
245
BranchInst *Term = dyn_cast<BranchInst>(
SinglePred
->getTerminator());
248
DEBUG(dbgs() << "To merge:\n"<< *
SinglePred
<< "\n\n\n");
249
// Remember if
SinglePred
was the entry block of the function.
251
bool isEntry =
SinglePred
== &
SinglePred
->getParent()->getEntryBlock();
388
if (BasicBlock *
SinglePred
= DestBB->getSinglePredecessor()) {
389
if (
SinglePred
!= DestBB)
[
all
...]
JumpThreading.cpp
649
if (BasicBlock *
SinglePred
= BB->getSinglePredecessor()) {
650
if (
SinglePred
->getTerminator()->getNumSuccessors() == 1 &&
651
SinglePred
!= BB && !hasAddressTakenAndUsed(BB)) {
652
// If
SinglePred
was a loop header, BB becomes one.
653
if (LoopHeaders.erase(
SinglePred
))
656
// Remember if
SinglePred
was the entry block of the function. If so, we
658
bool isEntry =
SinglePred
== &
SinglePred
->getParent()->getEntryBlock();
659
LVI->eraseBlock(
SinglePred
);
[
all
...]
LoopUnswitch.cpp
[
all
...]
Completed in 735 milliseconds