Lines Matching refs:NewCount
1975 // NewCount = Count;
1977 // NewCount = BitWidth - CTLZ(InitX >> 1);
1978 // Count = NewCount + 1;
1996 Value *NewCount = Count;
2000 NewCount = Builder.CreateZExtOrTrunc(NewCount, CntInst->getType());
2004 // If the counter was being incremented in the loop, add NewCount to the
2008 NewCount = Builder.CreateAdd(NewCount, CntInitVal);
2010 // If the count was being decremented in the loop, subtract NewCount from
2012 NewCount = Builder.CreateSub(CntInitVal, NewCount);
2044 // the loop are replaced with the NewCount
2046 CntPhi->replaceUsesOutsideBlock(NewCount, Body);
2048 CntInst->replaceUsesOutsideBlock(NewCount, Body);
2068 Value *PopCnt, *PopCntZext, *NewCount, *TripCnt;
2071 NewCount = PopCntZext =
2074 if (NewCount != PopCnt)
2075 (cast<Instruction>(NewCount))->setDebugLoc(DL);
2078 TripCnt = NewCount;
2084 NewCount = Builder.CreateAdd(NewCount, CntInitVal);
2085 (cast<Instruction>(NewCount))->setDebugLoc(DL);
2090 // "if (NewCount == 0) loop-exit". Without this change, the intrinsic
2153 // the loop are replaced with the NewCount -- the value returned from
2155 CntInst->replaceUsesOutsideBlock(NewCount, Body);