|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/ConstantFolding.cpp 754 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) -
lib/Analysis/DependenceAnalysis.cpp 1419 APInt A2 = A0 - Q*A1; A0 = A1; A1 = A2;
1420 APInt B2 = B0 - Q*B1; B0 = B1; B1 = B2;
lib/Analysis/ScalarEvolution.cpp 1351 return SE->getConstant(APInt::getSignedMinValue(BitWidth) -
1356 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) -
1371 return SE->getConstant(APInt::getMinValue(BitWidth) -
1790 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) -
1805 const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) -
5799 APInt MovedBoundary = Descending ? (StartLower - std::move(Offset))
10565 APInt Limit = MaxValue - (StrideForMaxBECount - 1);
lib/Analysis/ValueTracking.cpp 5611 Upper = *C - APInt::getSignedMinValue(Width) + 1;
5614 Lower = *C - APInt::getSignedMaxValue(Width);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 5983 if (OppLHSAmt != ExtractFromAmt - NeededShiftAmt.zextOrTrunc(
lib/Support/APInt.cpp 1210 anc = t - 1 - t.urem(ad); // absolute value of nc
1213 r1 = signedMin - q1*anc; // initialize r1 = rem(2p,abs(nc))
1215 r2 = signedMin - q2*ad; // initialize r2 = rem(2p,abs(d))
1255 nc = allOnes - (allOnes - d).urem(d);
1258 r1 = signedMin - q1*nc; // initialize r1 = rem(2p,nc)
1260 r2 = signedMax - q2*d; // initialize r2 = rem((2p-1),d)
2937 APInt LowkR = C - SqrB.udiv(2*TwoA); // udiv because all values > 0.
2969 APInt D = SqrB - 4*A*C;
2990 APInt::sdivrem(-B - (SQ+InexactSQ), TwoA, X, Rem);
lib/Transforms/InstCombine/InstCombineCompares.cpp 1146 ConstantInt::get(X->getType(), SMax - (C - 1)));
lib/Transforms/Utils/SimplifyCFG.cpp 5626 auto Sub = Orig->getValue() - APInt(Ty->getBitWidth(), Base);
unittests/ADT/APIntTest.cpp 691 APInt SubLR = Two - getRValue("1", RawDataR);
699 APInt SubRR = getRValue("2", RawDataL) - getRValue("1", RawDataR);
728 APInt SubLR = HighOneLowOne -
738 APInt SubRR = getRValue("100000000000000000000000000000001", RawDataL) -
unittests/IR/ConstantRangeTest.cpp 1729 EXPECT_FALSE(ConstantRange(APInt::getSignedMinValue(32) - APInt(32, 100),
1733 EXPECT_FALSE(ConstantRange(APInt::getMinValue(32) - APInt(32, 100),