Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp399 EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1); in TEST()
402 EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3); in TEST()
405 EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1); in TEST()
/external/llvm/unittests/ADT/
DAPIntTest.cpp745 EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1); in TEST()
748 EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3); in TEST()
751 EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1); in TEST()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp623 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
710 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
DMipsSEISelLowering.cpp569 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp689 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
776 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
DMipsSEISelLowering.cpp499 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp522 RHS->getValue().exactLogBase2()); in visitSDiv()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp90 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1044 int32_t logScale = Scale.exactLogBase2(); in Descale()
1146 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1172 assert(Scale.exactLogBase2() == logScale); in Descale()
DInstCombineMulDivRem.cpp1150 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv()
DInstCombineCompares.cpp1861 int32_t ExactLogBase2 = AI.exactLogBase2(); in visitICmpInstWithInstAndIntCst()
/external/llvm/include/llvm/ADT/
DAPInt.h1569 int32_t exactLogBase2() const { in exactLogBase2() function
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1359 int32_t exactLogBase2() const { in exactLogBase2() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1547 int32_t exactLogBase2() const { in exactLogBase2() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1321 EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1); in TEST()
1324 EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3); in TEST()
1327 EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1160 int32_t logScale = Scale.exactLogBase2(); in Descale()
1260 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1286 assert(Scale.exactLogBase2() == logScale); in Descale()
DInstCombineMulDivRem.cpp1049 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv()
DInstCombineCompares.cpp1715 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h1781 int32_t exactLogBase2() const { in exactLogBase2() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp100 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp848 int Log2 = NewMask.exactLogBase2(); in SimplifyDemandedBits()
DSelectionDAG.cpp7235 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp968 int Log2 = NewMask.exactLogBase2(); in SimplifyDemandedBits()
DSelectionDAG.cpp8626 return IntVal.exactLogBase2(); in getConstantFPSplatPow2ToLog2Int()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp28119 (SplatValue + 1).exactLogBase2() != (int)SrcSize) in combineVectorZext()