Home | History | Annotate | Download | only in Scalar

Lines Matching defs:Header

47     "rotation-max-header-size", cl::init(16), cl::Hidden,
48 cl::desc("The default maximum header size for automatic loop rotation"));
77 /// old header into the preheader. If there were uses of the values produced by
102 // and the loop "next" value in the original header.
199 // If the loop header is not one of the loop exiting blocks then
215 // Check size of original header and reject loop if it is very big or we can't
248 // in its header will soon be invalidated.
254 // Find new Loop header. NewHeader is a Header's one and only successor
255 // that is inside loop. Header's other successor is outside the
261 assert(NewHeader && "Unable to determine new loop header");
263 "Unable to determine loop header and exit blocks");
265 // This code assumes that the new header has exactly one predecessor.
268 "New header doesn't have one pred!");
350 // NewHeader is now the header of the loop.
352 assert(L->getHeader() == NewHeader && "Latch block is our new header");
370 // Everything that was dominated by the old loop header is now dominated
371 // by the original loop preheader. Conceptually the header was merged
384 // Update OrigHeader to be dominated by the new header block.
427 // Update OrigHeader to be dominated by the new header block.
433 // original header.
548 /// duplicating the entire loop header. In the case of loops with early exits,
581 BasicBlock *Header = Jmp->getSuccessor(0);
582 assert(Header == L->getHeader() && "expected a backward branch");
585 BI->setSuccessor(FallThruPath, Header);
603 // Simplify the loop latch before attempting to rotate the header