Lines Matching defs:NC
33 APInt ANC = T - 1 - T.urem(AD); // absolute value of NC
36 // initialize Q1 = 2P/abs(NC); R1 = rem(2P,abs(NC))
42 Q1 <<= 1; // update Q1 = 2P/abs(NC)
43 R1 <<= 1; // update R1 = rem(2P/abs(NC))
87 // Calculate NC, the largest dividend such that NC.urem(D) == D-1.
88 APInt NC = AllOnes - (AllOnes + 1 - D).urem(D);
89 assert(NC.urem(D) == D - 1 && "Unexpected NC value");
92 // initialize Q1 = 2P/NC; R1 = rem(2P,NC)
93 APInt::udivrem(SignedMin, NC, Q1, R1);
98 if (R1.uge(NC - R1)) {
104 R1 -= NC;