Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Preheader

56                     bool &Changed, BasicBlock *Preheader);
82 bool &Changed, BasicBlock *Preheader) {
104 if (!L->makeLoopInvariant(I, Changed, Preheader->getTerminator()))
133 // We can only remove the loop if there is a preheader that we can
135 BasicBlock *preheader = L->getLoopPreheader();
136 if (!preheader)
163 if (!isLoopDead(L, exitingBlocks, exitBlocks, Changed, preheader))
174 // branch from the preheader to go to the single exit block.
186 // Connect the preheader directly to the exit block.
187 TerminatorInst *TI = preheader->getTerminator();
191 // the preheader instead of the exiting block.
197 P->setIncomingBlock(j, preheader);
209 // Move all of the block's children to be children of the preheader, which
214 DT.changeImmediateDominator(*DI, DT[preheader]);