Lines Matching refs:NewIdx
320 PHINode *NewIdx = PHINode::Create(NewIter->getType(), 2, in CloneLoopBlocks() local
324 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
325 NewIdx->getName() + ".sub"); in CloneLoopBlocks()
327 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp"); in CloneLoopBlocks()
329 NewIdx->addIncoming(NewIter, InsertTop); in CloneLoopBlocks()
330 NewIdx->addIncoming(IdxSub, NewBB); in CloneLoopBlocks()
657 PHINode *NewIdx = PHINode::Create(TestVal->getType(), 2, "niter", in UnrollRuntimeLoopRemainder() local
660 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
661 NewIdx->getName() + ".nsub"); in UnrollRuntimeLoopRemainder()
664 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
666 IdxCmp = B2.CreateIsNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
667 NewIdx->addIncoming(TestVal, NewPreHeader); in UnrollRuntimeLoopRemainder()
668 NewIdx->addIncoming(IdxSub, Latch); in UnrollRuntimeLoopRemainder()