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

References

lib/Analysis/ValueTracking.cpp
 2448         unsigned ResBits = TyBits - Denominator->ceilLogBase2();
lib/Target/Mips/MipsSEISelLowering.cpp
  766                                   : APInt(BitWidth, 1) << C.ceilLogBase2();
  810                                 APInt(BitWidth, 1) << C.ceilLogBase2();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 5045       if (Op0Known.countMinTrailingZeros() >= CmpC->ceilLogBase2())
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  420         Res = Builder.CreateAShr(LHS, Val.ceilLogBase2(), "polly.fdiv_q.shr");
unittests/ADT/APIntTest.cpp
 1395   EXPECT_EQ(APInt(15, 7).ceilLogBase2(), 3U);
 1398   EXPECT_EQ(APInt(15, 8).ceilLogBase2(), 3U);
 1401   EXPECT_EQ(APInt(15, 9).ceilLogBase2(), 4U);
 1645   EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2());
 1655   EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2());
 1662   EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2());
 1672   EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2());