Searched refs:LoopEntry (Results 1 – 2 of 2) sorted by relevance
117 const BlockSet &getLoopEnterers(MachineBasicBlock *LoopEntry) const { in getLoopEnterers()118 assert(inRegion(LoopEntry)); in getLoopEnterers()119 auto I = LoopEnterers.find(LoopEntry); in getLoopEnterers()261 for (auto *LoopEntry : getSortedEntries(Graph.getLoopEntries())) { in processRegion() local288 MutualLoopEntries.insert(LoopEntry); in processRegion()290 if (OtherLoopEntry != LoopEntry && in processRegion()291 Graph.canReach(LoopEntry, OtherLoopEntry) && in processRegion()292 Graph.canReach(OtherLoopEntry, LoopEntry)) { in processRegion()314 for (auto *LoopEntry : Graph.getLoopEntries()) { in processRegion() local315 LoopBlocks InnerBlocks(LoopEntry, Graph.getLoopEnterers(LoopEntry)); in processRegion()[all …]
1535 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry, in matchCondition() argument1554 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()1555 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()1841 static Value *matchShiftULTCondition(BranchInst *BI, BasicBlock *LoopEntry, in matchShiftULTCondition() argument1857 if (Pred == ICmpInst::ICMP_ULT && FalseSucc == LoopEntry) { in matchShiftULTCondition()1868 BasicBlock *LoopEntry) { in getRecurrenceVar() argument1870 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()1908 BasicBlock *LoopEntry; in detectShiftUntilLessThanIdiom() local1913 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilLessThanIdiom()1917 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry, in detectShiftUntilLessThanIdiom()[all …]