Lines Matching refs:Preheader
225 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop() local
244 if (Preheader) in runOnLoop()
250 if (!DisablePromotion && (Preheader || L->hasDedicatedExits())) { in runOnLoop()
721 auto *Preheader = CurLoop->getLoopPreheader(); in hoist() local
722 DEBUG(dbgs() << "LICM hoisting to " << Preheader->getName() << ": " << I in hoist()
737 I.moveBefore(Preheader->getTerminator()); in hoist()
863 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in promoteLoopAccessesToScalars() local
909 if (!HasDedicatedExits || !Preheader) in promoteLoopAccessesToScalars()
912 const DataLayout &MDL = Preheader->getModule()->getDataLayout(); in promoteLoopAccessesToScalars()
953 *Load, DT, CurLoop, SafetyInfo, Preheader->getTerminator()); in promoteLoopAccessesToScalars()
986 Preheader->getTerminator(), DT); in promoteLoopAccessesToScalars()
1052 SomePtr, SomePtr->getName() + ".promoted", Preheader->getTerminator()); in promoteLoopAccessesToScalars()
1057 SSA.AddAvailableValue(Preheader, PreheaderLoad); in promoteLoopAccessesToScalars()