reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4668       magics.m = 0;
 4671     } else if (Divisor.isStrictlyPositive() && magics.m.isNegative()) {
 4674     } else if (Divisor.isNegative() && magics.m.isStrictlyPositive()) {
 4679     MagicFactors.push_back(DAG.getConstant(magics.m, dl, SVT));
lib/Support/APInt.cpp
 1233   mag.m = q2 + 1;
 1234   if (d.isNegative()) mag.m = -mag.m;   // resulting magic number
 1234   if (d.isNegative()) mag.m = -mag.m;   // resulting magic number
unittests/ADT/APIntTest.cpp
 1406   EXPECT_EQ(APInt(32, 3).magic().m, APInt(32, "55555556", 16));
 1408   EXPECT_EQ(APInt(32, 5).magic().m, APInt(32, "66666667", 16));
 1410   EXPECT_EQ(APInt(32, 7).magic().m, APInt(32, "92492493", 16));