Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1581 static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry, in matchCondition() argument
1600 if ((Pred == ICmpInst::ICMP_NE && TrueSucc == LoopEntry) || in matchCondition()
1601 (Pred == ICmpInst::ICMP_EQ && FalseSucc == LoopEntry)) in matchCondition()
1610 BasicBlock *LoopEntry) { in getRecurrenceVar() argument
1612 if (PhiX && PhiX->getParent() == LoopEntry && in getRecurrenceVar()
1647 BasicBlock *LoopEntry; in detectPopcountIdiom() local
1655 LoopEntry = *(CurLoop->block_begin()); in detectPopcountIdiom()
1660 dyn_cast<BranchInst>(LoopEntry->getTerminator()), LoopEntry)) in detectPopcountIdiom()
1692 PhiX = getRecurrenceVar(VarX1, DefX2, LoopEntry); in detectPopcountIdiom()
1700 LoopEntry->getFirstNonPHI()->getIterator(), LoopEntry->end())) { in detectPopcountIdiom()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h1072 void convertNonUniformLoopRegion(MachineBasicBlock *LoopEntry,
H A DSIInstrInfo.cpp7701 MachineBasicBlock *LoopEntry, MachineBasicBlock *LoopEnd) const { in convertNonUniformLoopRegion() argument
7716 for (MachineBasicBlock *PMBB : LoopEntry->predecessors()) { in convertNonUniformLoopRegion()
7735 .addMBB(LoopEntry); in convertNonUniformLoopRegion()
7737 LoopEntry->insert(LoopEntry->begin(), HeaderPhi); in convertNonUniformLoopRegion()