Home
last modified time | relevance | path

Searched refs:LoopEntry (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp117 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() local
288 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() local
315 LoopBlocks InnerBlocks(LoopEntry, Graph.getLoopEnterers(LoopEntry)); in processRegion()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1535 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry, in matchCondition() argument
1554 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() argument
1857 if (Pred == ICmpInst::ICMP_ULT && FalseSucc == LoopEntry) { in matchShiftULTCondition()
1868 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1870 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1908 BasicBlock *LoopEntry; in detectShiftUntilLessThanIdiom() local
1913 LoopEntry = *(CurLoop->block_begin()); in detectShiftUntilLessThanIdiom()
1917 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry, in detectShiftUntilLessThanIdiom()
[all …]