Home
last modified time | relevance | path

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

12

/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/llvm-project/polly/unittests/Isl/
DIslTest.cpp264 EXPECT_EQ(500, (-APLargeNPow2).exactLogBase2()); in TEST()
282 EXPECT_EQ(512, (-APLargeNPow2).exactLogBase2()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
DMipsSEISelLowering.cpp503 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
DMipsSEISelLowering.cpp503 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp90 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/llvm/include/llvm/ADT/
DAPInt.h1569 int32_t exactLogBase2() const { in exactLogBase2() function
/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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1547 int32_t exactLogBase2() const { in exactLogBase2() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp98 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/llvm-project/llvm/lib/Analysis/
DIVDescriptors.cpp98 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1240 int32_t logScale = Scale.exactLogBase2(); in Descale()
1340 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1366 assert(Scale.exactLogBase2() == logScale); in Descale()
DInstCombineMulDivRem.cpp1076 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv()
DInstCombineCompares.cpp1863 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1856 int32_t exactLogBase2() const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1845 int32_t exactLogBase2() const { in exactLogBase2() function
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1413 EXPECT_EQ(APInt(15, 7).exactLogBase2(), -1); in TEST()
1416 EXPECT_EQ(APInt(15, 8).exactLogBase2(), 3); in TEST()
1419 EXPECT_EQ(APInt(15, 9).exactLogBase2(), -1); in TEST()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1323 int32_t logScale = Scale.exactLogBase2(); in Descale()
1423 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1449 assert(Scale.exactLogBase2() == logScale); in Descale()
DInstCombineCompares.cpp1884 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp848 int Log2 = NewMask.exactLogBase2(); in SimplifyDemandedBits()

12