Home
last modified time | relevance | path

Searched refs:Preheader (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp103 BasicBlock *InsertUniqueBackedgeBlock(Loop *L, BasicBlock *Preheader);
201 BasicBlock *Preheader = L->getLoopPreheader(); in ProcessLoop() local
202 if (!Preheader) { in ProcessLoop()
203 Preheader = InsertPreheaderForLoop(L); in ProcessLoop()
204 if (Preheader) { in ProcessLoop()
255 LoopLatch = InsertUniqueBackedgeBlock(L, Preheader); in ProcessLoop()
311 Preheader ? Preheader->getTerminator() : 0)) { in ProcessLoop()
613 LoopSimplify::InsertUniqueBackedgeBlock(Loop *L, BasicBlock *Preheader) { in InsertUniqueBackedgeBlock() argument
621 if (!Preheader) in InsertUniqueBackedgeBlock()
633 if (P != Preheader) BackedgeBlocks.push_back(P); in InsertUniqueBackedgeBlock()
[all …]
DLoopUnroll.cpp118 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop() local
119 if (!Preheader) { in UnrollLoop()
317 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop() local
320 PN->replaceAllUsesWith(PN->getIncomingValueForBlock(Preheader)); in UnrollLoop()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp235 bool Hoist(MachineInstr *MI, MachineBasicBlock *Preheader);
519 MachineBasicBlock *Preheader = getCurPreheader(); in HoistPostRA() local
520 if (!Preheader) return; in HoistPostRA()
526 if (Preheader->getBasicBlock()) in HoistPostRA()
528 << Preheader->getName(); in HoistPostRA()
537 Preheader->splice(Preheader->getFirstTerminator(), MBB, MI); in HoistPostRA()
560 MachineBasicBlock *Preheader = getCurPreheader(); in HoistRegion() local
561 if (!Preheader) in HoistRegion()
568 InitRegPressure(Preheader); in HoistRegion()
578 if (!Hoist(MI, Preheader)) in HoistRegion()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp473 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore() local
474 IRBuilder<> Builder(Preheader->getTerminator()); in processLoopStridedStore()
485 Preheader->getTerminator()); in processLoopStridedStore()
511 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore()
562 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad() local
563 IRBuilder<> Builder(Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
575 Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
591 Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
617 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
DLICM.cpp101 BasicBlock *Preheader; // The preheader block of the current loop... member
212 Preheader = L->getLoopPreheader(); in runOnLoop()
237 if (Preheader) in runOnLoop()
242 if (!DisablePromotion && Preheader && L->hasDedicatedExits()) { in runOnLoop()
251 Preheader = 0; in runOnLoop()
559 DEBUG(dbgs() << "LICM hoisting to " << Preheader->getName() << ": " in hoist()
563 I.moveBefore(Preheader->getTerminator()); in hoist()
776 Preheader->getTerminator()); in PromoteAliasSet()
779 SSA.AddAvailableValue(Preheader, PreheaderLoad); in PromoteAliasSet()
DLoopDeletion.cpp41 bool &Changed, BasicBlock *Preheader);
80 bool &Changed, BasicBlock *Preheader) { in IsLoopDead() argument
102 if (!L->makeLoopInvariant(I, Changed, Preheader->getTerminator())) in IsLoopDead()
DIndVarSimplify.cpp1919 BasicBlock *Preheader = L->getLoopPreheader(); in SinkUnusedInvariants() local
1920 if (!Preheader) return; in SinkUnusedInvariants()
1923 BasicBlock::iterator I = Preheader->getTerminator(); in SinkUnusedInvariants()
1924 while (I != Preheader->begin()) { in SinkUnusedInvariants()
1961 if (UseBB == Preheader || L->contains(UseBB)) { in SinkUnusedInvariants()
1975 if (I != Preheader->begin()) { in SinkUnusedInvariants()
1979 } while (isa<DbgInfoIntrinsic>(I) && I != Preheader->begin()); in SinkUnusedInvariants()
1981 if (isa<DbgInfoIntrinsic>(I) && I == Preheader->begin()) in SinkUnusedInvariants()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp155 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop() local
156 if (!Preheader) break; in InsertBinop()
159 Builder.SetInsertPoint(Preheader, Preheader->getTerminator()); in InsertBinop()
525 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP() local
526 if (!Preheader) break; in expandAddToGEP()
529 Builder.SetInsertPoint(Preheader, Preheader->getTerminator()); in expandAddToGEP()
561 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP() local
562 if (!Preheader) break; in expandAddToGEP()
565 Builder.SetInsertPoint(Preheader, Preheader->getTerminator()); in expandAddToGEP()
1321 if (BasicBlock *Preheader = L->getLoopPreheader()) in expand() local
[all …]
DLoopInfo.cpp103 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant() local
105 if (!Preheader) in makeLoopInvariant()
107 InsertPt = Preheader->getTerminator(); in makeLoopInvariant()