Lines Matching refs:LoopEntry

1121 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry,  in matchCondition()  argument
1140 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1141 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()
1150 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1152 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1187 BasicBlock *LoopEntry; in detectPopcountIdiom() local
1195 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1200 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectPopcountIdiom()
1232 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
1239 for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(), in detectPopcountIdiom()
1240 IterE = LoopEntry->end(); in detectPopcountIdiom()
1250 PHINode *Phi = getRecurrenceVar(Inst->getOperand(0), Inst, LoopEntry); in detectPopcountIdiom()
1257 if ((cast<Instruction>(U))->getParent() != LoopEntry) { in detectPopcountIdiom()
1321 BasicBlock *LoopEntry; in detectShiftUntilZeroIdiom() local
1327 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilZeroIdiom()
1331 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectShiftUntilZeroIdiom()
1347 PHINode *PhiX = getRecurrenceVar(VarX, DefX, LoopEntry); in detectShiftUntilZeroIdiom()
1364 for (BasicBlock::iterator Iter = LoopEntry->getFirstNonPHI()->getIterator(), in detectShiftUntilZeroIdiom()
1365 IterE = LoopEntry->end(); in detectShiftUntilZeroIdiom()
1375 PHINode *Phi = getRecurrenceVar(Inst->getOperand(0), Inst, LoopEntry); in detectShiftUntilZeroIdiom()