Lines Matching refs:Preheader
76 static bool hoist(Instruction &I, BasicBlock *Preheader);
137 BasicBlock *Preheader; // The preheader block of the current loop...
207 Preheader = L->getLoopPreheader();
237 if (Preheader)
243 if (!DisablePromotion && (Preheader || L->hasDedicatedExits())) {
275 Preheader = nullptr;
625 static bool hoist(Instruction &I, BasicBlock *Preheader) {
626 DEBUG(dbgs() << "LICM hoisting to " << Preheader->getName() << ": "
628 // Move the new node to the Preheader, before its terminator.
629 I.moveBefore(Preheader->getTerminator());
795 BasicBlock * Preheader = CurLoop->getLoopPreheader();
859 if (!HasDedicatedExits || !Preheader)
930 Preheader->getTerminator());
934 SSA.AddAvailableValue(Preheader, PreheaderLoad);