/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 745 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/ |
D | MipsSEISelDAGToDAG.cpp | 623 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2() 710 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
|
D | MipsSEISelLowering.cpp | 569 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
|
/external/llvm-project/polly/unittests/Isl/ |
D | IslTest.cpp | 264 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/ |
D | MipsSEISelDAGToDAG.cpp | 637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2() 724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
|
D | MipsSEISelLowering.cpp | 503 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsSEISelDAGToDAG.cpp | 637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2() 724 int32_t Log2 = (~ImmValue).exactLogBase2(); in selectVSplatUimmInvPow2()
|
D | MipsSEISelLowering.cpp | 503 int32_t Log2IfPositive = (Mask->getAPIntValue() + 1).exactLogBase2(); in performANDCombine()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 90 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1569 int32_t exactLogBase2() const { in exactLogBase2() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1044 int32_t logScale = Scale.exactLogBase2(); in Descale() 1146 assert(SmallScale.exactLogBase2() == logScale); in Descale() 1172 assert(Scale.exactLogBase2() == logScale); in Descale()
|
D | InstCombineMulDivRem.cpp | 1150 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv()
|
D | InstCombineCompares.cpp | 1861 int32_t ExactLogBase2 = AI.exactLogBase2(); in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1547 int32_t exactLogBase2() const { in exactLogBase2() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 98 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 98 int32_t Bits = (*M + 1).exactLogBase2(); in lookThroughAnd()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1240 int32_t logScale = Scale.exactLogBase2(); in Descale() 1340 assert(SmallScale.exactLogBase2() == logScale); in Descale() 1366 assert(Scale.exactLogBase2() == logScale); in Descale()
|
D | InstCombineMulDivRem.cpp | 1076 Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2()); in visitSDiv()
|
D | InstCombineCompares.cpp | 1863 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | APInt.h | 1856 int32_t exactLogBase2() const {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1845 int32_t exactLogBase2() const { in exactLogBase2() function
|
/external/llvm-project/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1413 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/ |
D | InstructionCombining.cpp | 1323 int32_t logScale = Scale.exactLogBase2(); in Descale() 1423 assert(SmallScale.exactLogBase2() == logScale); in Descale() 1449 assert(Scale.exactLogBase2() == logScale); in Descale()
|
D | InstCombineCompares.cpp | 1884 int32_t ExactLogBase2 = C2->exactLogBase2(); in foldICmpAndConstant()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 848 int Log2 = NewMask.exactLogBase2(); in SimplifyDemandedBits()
|