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
243
BasicBlock *
SinglePred
= BB->getSinglePredecessor();
246
if (!
SinglePred
||
SinglePred
== BB || BB->hasAddressTaken()) continue;
248
BranchInst *Term = dyn_cast<BranchInst>(
SinglePred
->getTerminator());
251
DEBUG(dbgs() << "To merge:\n"<< *
SinglePred
<< "\n\n\n");
252
// Remember if
SinglePred
was the entry block of the function.
254
bool isEntry =
SinglePred
== &
SinglePred
->getParent()->getEntryBlock();
391
if (BasicBlock *
SinglePred
= DestBB->getSinglePredecessor()) {
392
if (
SinglePred
!= DestBB)
[
all
...]
JumpThreading.cpp
651
if (BasicBlock *
SinglePred
= BB->getSinglePredecessor()) {
652
if (
SinglePred
->getTerminator()->getNumSuccessors() == 1 &&
653
SinglePred
!= BB && !hasAddressTakenAndUsed(BB)) {
654
// If
SinglePred
was a loop header, BB becomes one.
655
if (LoopHeaders.erase(
SinglePred
))
658
// Remember if
SinglePred
was the entry block of the function. If so, we
660
bool isEntry =
SinglePred
== &
SinglePred
->getParent()->getEntryBlock();
661
LVI->eraseBlock(
SinglePred
);
[
all
...]
LoopUnswitch.cpp
[
all
...]
Completed in 37 milliseconds