Lines Matching defs:NewCount
2190 // NewCount = Count;
2192 // NewCount = BitWidth - CTLZ(InitX >> 1);
2193 // Count = NewCount + 1;
2213 Value *NewCount = Count;
2217 NewCount = Builder.CreateZExtOrTrunc(NewCount, CntInst->getType());
2221 // If the counter was being incremented in the loop, add NewCount to the
2225 NewCount = Builder.CreateAdd(NewCount, CntInitVal);
2227 // If the count was being decremented in the loop, subtract NewCount from
2229 NewCount = Builder.CreateSub(CntInitVal, NewCount);
2261 // the loop are replaced with the NewCount
2263 CntPhi->replaceUsesOutsideBlock(NewCount, Body);
2265 CntInst->replaceUsesOutsideBlock(NewCount, Body);
2285 Value *PopCnt, *PopCntZext, *NewCount, *TripCnt;
2288 NewCount = PopCntZext =
2291 if (NewCount != PopCnt)
2292 (cast<Instruction>(NewCount))->setDebugLoc(DL);
2295 TripCnt = NewCount;
2301 NewCount = Builder.CreateAdd(NewCount, CntInitVal);
2302 (cast<Instruction>(NewCount))->setDebugLoc(DL);
2307 // "if (NewCount == 0) loop-exit". Without this change, the intrinsic
2370 // the loop are replaced with the NewCount -- the value returned from
2372 CntInst->replaceUsesOutsideBlock(NewCount, Body);