Lines Matching refs:VMap
65 ValueToValueMapTy &VMap, DominatorTree *DT, in ConnectProlog() argument
95 V = VMap[I]; in ConnectProlog()
145 LoopBlocksDFS &LoopBlocks, ValueToValueMapTy &VMap, in CloneLoopBlocks() argument
166 BasicBlock *NewBB = CloneBasicBlock(*BB, VMap, ".prol", F); in CloneLoopBlocks()
174 VMap[*BB] = NewBB; in CloneLoopBlocks()
184 VMap.erase((*BB)->getTerminator()); in CloneLoopBlocks()
185 BasicBlock *FirstLoopBB = cast<BasicBlock>(VMap[Header]); in CloneLoopBlocks()
209 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks()
211 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks()
212 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks()
216 BasicBlock *NewLatch = cast<BasicBlock>(VMap[Latch]); in CloneLoopBlocks()
220 if (VMap[InVal]) in CloneLoopBlocks()
221 NewPHI->setIncomingValue(idx, VMap[InVal]); in CloneLoopBlocks()
383 ValueToValueMapTy VMap; in UnrollRuntimeLoopProlog() local
391 VMap, LI); in UnrollRuntimeLoopProlog()
403 RemapInstruction(&*I, VMap, in UnrollRuntimeLoopProlog()
410 BasicBlock *LastLoopBB = cast<BasicBlock>(VMap[Latch]); in UnrollRuntimeLoopProlog()
411 ConnectProlog(L, BECount, Count, LastLoopBB, PEnd, PH, NewPH, VMap, DT, LI, in UnrollRuntimeLoopProlog()