Lines Matching refs:PreHeader
71 BasicBlock *PreHeader, BasicBlock *NewPreHeader, in ConnectProlog() argument
110 PreHeader); in ConnectProlog()
113 NewPN->addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectProlog()
185 BasicBlock *Exit, BasicBlock *PreHeader, in ConnectEpilog() argument
225 PN.addIncoming(UndefValue::get(PN.getType()), PreHeader); in ConnectEpilog()
261 NewPN->addIncoming(PN.getIncomingValueForBlock(NewPreHeader), PreHeader); in ConnectEpilog()
660 BasicBlock *PreHeader = L->getLoopPreheader(); in UnrollRuntimeLoopRemainder() local
661 BranchInst *PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder()
697 NewPreHeader = SplitBlock(PreHeader, PreHeader->getTerminator(), DT, LI); in UnrollRuntimeLoopRemainder()
698 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder()
714 PrologPreHeader = SplitEdge(PreHeader, Header, DT, LI); in UnrollRuntimeLoopRemainder()
721 NewPreHeader->setName(PreHeader->getName() + ".new"); in UnrollRuntimeLoopRemainder()
739 PreHeaderBR = cast<BranchInst>(PreHeader->getTerminator()); in UnrollRuntimeLoopRemainder()
786 DT->changeImmediateDominator(NewExit, PreHeader); in UnrollRuntimeLoopRemainder()
788 DT->changeImmediateDominator(PrologExit, PreHeader); in UnrollRuntimeLoopRemainder()
890 DT->changeImmediateDominator(BB, PreHeader); in UnrollRuntimeLoopRemainder()
920 ConnectEpilog(L, ModVal, NewExit, LatchExit, PreHeader, in UnrollRuntimeLoopRemainder()
946 ConnectProlog(L, BECount, Count, PrologExit, LatchExit, PreHeader, in UnrollRuntimeLoopRemainder()