Home
last modified time | relevance | path

Searched refs:exactLogBase2 (Results 1 – 11 of 11) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp717 EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1); in TEST()
720 EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3); in TEST()
723 EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1); in TEST()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp607 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
694 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
DMipsSEISelLowering.cpp569 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp83 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1048 int32_t logScale = Scale.exactLogBase2(); in Descale()
1150 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1176 assert(Scale.exactLogBase2() == logScale); in Descale()
DInstCombineMulDivRem.cpp1137 RHS->getValue().exactLogBase2()); in visitSDiv()
DInstCombineCompares.cpp1536 int32_t ExactLogBase2 = AI.exactLogBase2(); in visitICmpInstWithInstAndIntCst()
/external/llvm/include/llvm/ADT/
DAPInt.h1560 int32_t exactLogBase2() const { in exactLogBase2() function
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp807 int Log2 = NewMask.exactLogBase2(); in SimplifyDemandedBits()
DSelectionDAG.cpp7279 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp25372 (SplatValue + 1).exactLogBase2() != (int)SrcSize) in VectorZextCombine()