Lines Matching refs:LoopEntry

1496 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry,  in matchCondition()  argument
1515 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1516 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()
1525 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1527 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1562 BasicBlock *LoopEntry; in detectPopcountIdiom() local
1570 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1575 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectPopcountIdiom()
1607 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
1615 LoopEntry->getFirstNonPHI()->getIterator(), LoopEntry->end())) { in detectPopcountIdiom()
1623 PHINode *Phi = getRecurrenceVar(Inst.getOperand(0), &Inst, LoopEntry); in detectPopcountIdiom()
1630 if ((cast<Instruction>(U))->getParent() != LoopEntry) { in detectPopcountIdiom()
1694 BasicBlock *LoopEntry; in detectShiftUntilZeroIdiom() local
1700 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilZeroIdiom()
1704 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectShiftUntilZeroIdiom()
1720 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
1739 LoopEntry->getFirstNonPHI()->getIterator(), LoopEntry->end())) { in detectShiftUntilZeroIdiom()
1747 PHINode *Phi = getRecurrenceVar(Inst.getOperand(0), &Inst, LoopEntry); in detectShiftUntilZeroIdiom()