Lines Matching refs:BasicBlock
57 BasicBlock *LastPrologBB, BasicBlock *PrologEnd, in ConnectProlog()
58 BasicBlock *OrigPH, BasicBlock *NewPH, in ConnectProlog()
60 BasicBlock *Latch = L->getLoopLatch(); in ConnectProlog()
70 for (BasicBlock::iterator BBI = (*SBI)->begin(); in ConnectProlog()
112 BasicBlock *Exit = L->getUniqueExitBlock(); in ConnectProlog()
115 SmallVector<BasicBlock*, 4> Preds(pred_begin(Exit), pred_end(Exit)); in ConnectProlog()
119 SmallVector<BasicBlock*, 2> NewBBs; in ConnectProlog()
138 BasicBlock *InsertTop, in CloneLoopBlocks()
139 BasicBlock *InsertBot, in CloneLoopBlocks()
140 std::vector<BasicBlock *> &NewBlocks, in CloneLoopBlocks()
146 BasicBlock *Preheader = L->getLoopPreheader(); in CloneLoopBlocks()
147 BasicBlock *Header = L->getHeader(); in CloneLoopBlocks()
148 BasicBlock *Latch = L->getLoopLatch(); in CloneLoopBlocks()
155 BasicBlock *NewBB = CloneBasicBlock(*BB, VMap, ".unr", F); in CloneLoopBlocks()
169 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) { in CloneLoopBlocks()
268 BasicBlock *PH = L->getLoopPreheader(); in UnrollRuntimeLoopProlog()
269 BasicBlock *Header = L->getHeader(); in UnrollRuntimeLoopProlog()
270 BasicBlock *Latch = L->getLoopLatch(); in UnrollRuntimeLoopProlog()
273 BasicBlock *PEnd = SplitEdge(PH, Header, LPM->getAsPass()); in UnrollRuntimeLoopProlog()
274 BasicBlock *NewPH = SplitBlock(PEnd, PEnd->getTerminator(), LPM->getAsPass()); in UnrollRuntimeLoopProlog()
304 BasicBlock *CompareBB = 0; in UnrollRuntimeLoopProlog()
305 BasicBlock *LastLoopBB = PH; in UnrollRuntimeLoopProlog()
317 std::vector<BasicBlock*> NewBlocks; in UnrollRuntimeLoopProlog()
324 LastLoopBB = cast<BasicBlock>(VMap[Latch]); in UnrollRuntimeLoopProlog()
338 BasicBlock *NewBB = BasicBlock::Create(CompareBB->getContext(), "unr.cmp", in UnrollRuntimeLoopProlog()
360 for (BasicBlock::iterator I = NewBlocks[i]->begin(), in UnrollRuntimeLoopProlog()