Lines Matching refs:LoopEntry
1434 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry, in matchCondition() argument
1453 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1454 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()
1463 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1465 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1500 BasicBlock *LoopEntry; in detectPopcountIdiom() local
1508 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1513 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectPopcountIdiom()
1545 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
1552 for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(), in detectPopcountIdiom()
1553 IterE = LoopEntry->end(); in detectPopcountIdiom()
1563 PHINode *Phi = getRecurrenceVar(Inst->getOperand(0), Inst, LoopEntry); in detectPopcountIdiom()
1570 if ((cast<Instruction>(U))->getParent() != LoopEntry) { in detectPopcountIdiom()
1634 BasicBlock *LoopEntry; in detectShiftUntilZeroIdiom() local
1640 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilZeroIdiom()
1644 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectShiftUntilZeroIdiom()
1660 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
1678 for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(), in detectShiftUntilZeroIdiom()
1679 IterE = LoopEntry->end(); in detectShiftUntilZeroIdiom()
1689 PHINode *Phi = getRecurrenceVar(Inst->getOperand(0), Inst, LoopEntry); in detectShiftUntilZeroIdiom()