Home
last modified time | relevance | path

Searched refs:logBase2 (Results 176 – 200 of 606) sorted by relevance

12345678910>>...25

/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1670 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1687 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp206 unsigned ValZeros = ValC.logBase2(); in foldSelectICmpAnd()
207 unsigned AndZeros = AndMask.logBase2(); in foldSelectICmpAnd()
621 C1Log = C1->logBase2(); in foldSelectICmpAndOr()
652 unsigned C2Log = C2->logBase2(); in foldSelectICmpAndOr()
2209 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1667 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1684 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1667 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1684 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1670 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1687 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1667 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1684 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1670 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1687 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp206 unsigned ValZeros = ValC.logBase2(); in foldSelectICmpAnd()
207 unsigned AndZeros = AndMask.logBase2(); in foldSelectICmpAnd()
621 C1Log = C1->logBase2(); in foldSelectICmpAndOr()
652 unsigned C2Log = C2->logBase2(); in foldSelectICmpAndOr()
2209 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U);
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U);
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U);
1670 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2());
1687 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2());
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp113 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in getExtMask()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp113 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in getExtMask()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp113 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in getExtMask()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/ADT/
H A DAPIntTest.cpp1411 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST()
1414 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST()
1417 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST()
1649 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1666 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp840 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
843 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
863 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Analysis/
H A DScalarEvolutionExpander.cpp840 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
843 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
863 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp840 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
843 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
863 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Analysis/
H A DScalarEvolutionExpander.cpp843 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
846 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
866 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/
H A DInstCombineMulDivRem.cpp112 return ConstantInt::get(Ty, IVal->logBase2()); in getLogBase2()
128 Elts.push_back(ConstantInt::get(Ty->getScalarType(), IVal->logBase2())); in getLogBase2()
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp105 return ConstantInt::get(Ty, IVal->logBase2()); in getLogBase2()
121 Elts.push_back(ConstantInt::get(Ty->getScalarType(), IVal->logBase2())); in getLogBase2()
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp106 return ConstantInt::get(Ty, IVal->logBase2()); in getLogBase2()
122 Elts.push_back(ConstantInt::get(Ty->getScalarType(), IVal->logBase2())); in getLogBase2()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp106 return ConstantInt::get(Ty, IVal->logBase2()); in getLogBase2()
122 Elts.push_back(ConstantInt::get(Ty->getScalarType(), IVal->logBase2())); in getLogBase2()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp894 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
897 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
917 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp851 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
854 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
874 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp894 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
897 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
917 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp867 if (RHS->logBase2() == RHS->getBitWidth() - 1) in visitMulExpr()
870 ConstantInt::get(Ty, RHS->logBase2()), NWFlags, in visitMulExpr()
890 ConstantInt::get(Ty, RHS.logBase2()), in visitUDivExpr()

12345678910>>...25