Lines Matching refs:LoopEntry

1579 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry,  in matchCondition()  argument
1598 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1599 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()
1608 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1610 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1645 BasicBlock *LoopEntry; in detectPopcountIdiom() local
1653 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1658 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectPopcountIdiom()
1690 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
1698 LoopEntry->getFirstNonPHI()->getIterator(), LoopEntry->end())) { in detectPopcountIdiom()
1706 PHINode *Phi = getRecurrenceVar(Inst.getOperand(0), &Inst, LoopEntry); in detectPopcountIdiom()
1713 if ((cast<Instruction>(U))->getParent() != LoopEntry) { in detectPopcountIdiom()
1777 BasicBlock *LoopEntry; in detectShiftUntilZeroIdiom() local
1783 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilZeroIdiom()
1787 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectShiftUntilZeroIdiom()
1803 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
1822 LoopEntry->getFirstNonPHI()->getIterator(), LoopEntry->end())) { in detectShiftUntilZeroIdiom()
1830 PHINode *Phi = getRecurrenceVar(Inst.getOperand(0), &Inst, LoopEntry); in detectShiftUntilZeroIdiom()