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

References

lib/Analysis/IVDescriptors.cpp
   99     int32_t Bits = (*M + 1).exactLogBase2();
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 8287         SDValue ShAmtC = DAG.getConstant(C1Val.exactLogBase2(), DL, VT);
 8664     SDValue ShAmtC = DAG.getConstant(Pow2C.exactLogBase2(), DL, VT);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 9503     return IntVal.exactLogBase2();
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1478       int Log2 = DemandedBits.exactLogBase2();
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  635     int32_t Log2 = ImmValue.exactLogBase2();
  722     int32_t Log2 = (~ImmValue).exactLogBase2();
lib/Target/Mips/MipsSEISelLowering.cpp
  502     int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1863     int32_t ExactLogBase2 = C2->exactLogBase2();
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
 1076       Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2());
lib/Transforms/InstCombine/InstructionCombining.cpp
 1208   int32_t logScale = Scale.exactLogBase2();
 1308         assert(SmallScale.exactLogBase2() == logScale);
 1334         assert(Scale.exactLogBase2() == logScale);
tools/polly/unittests/Isl/IslTest.cpp
  264     EXPECT_EQ(500, (-APLargeNPow2).exactLogBase2());
  282     EXPECT_EQ(512, (-APLargeNPow2).exactLogBase2());
unittests/ADT/APIntTest.cpp
 1396   EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1);
 1399   EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3);
 1402   EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1);