Lines Matching refs:NewIdx
359 PHINode *NewIdx = PHINode::Create(NewIter->getType(), 2, in CloneLoopBlocks() local
363 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
364 NewIdx->getName() + ".sub"); in CloneLoopBlocks()
366 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp"); in CloneLoopBlocks()
368 NewIdx->addIncoming(NewIter, InsertTop); in CloneLoopBlocks()
369 NewIdx->addIncoming(IdxSub, NewBB); in CloneLoopBlocks()
930 PHINode *NewIdx = PHINode::Create(TestVal->getType(), 2, "niter", in UnrollRuntimeLoopRemainder() local
933 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
934 NewIdx->getName() + ".nsub"); in UnrollRuntimeLoopRemainder()
937 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
939 IdxCmp = B2.CreateIsNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
940 NewIdx->addIncoming(TestVal, NewPreHeader); in UnrollRuntimeLoopRemainder()
941 NewIdx->addIncoming(IdxSub, Latch); in UnrollRuntimeLoopRemainder()