Home
last modified time | relevance | path

Searched refs:magicu (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp417 TEST(APIntTest, magicu) { in TEST() argument
418 EXPECT_EQ(APInt(32, 3).magicu().m, APInt(32, "AAAAAAAB", 16)); in TEST()
419 EXPECT_EQ(APInt(32, 3).magicu().s, 1U); in TEST()
420 EXPECT_EQ(APInt(32, 5).magicu().m, APInt(32, "CCCCCCCD", 16)); in TEST()
421 EXPECT_EQ(APInt(32, 5).magicu().s, 2U); in TEST()
422 EXPECT_EQ(APInt(32, 7).magicu().m, APInt(32, "24924925", 16)); in TEST()
423 EXPECT_EQ(APInt(32, 7).magicu().s, 3U); in TEST()
424 EXPECT_EQ(APInt(64, 25).magicu(1).m, APInt(64, "A3D70A3D70A3D70B", 16)); in TEST()
425 EXPECT_EQ(APInt(64, 25).magicu(1).s, 4U); in TEST()
/external/llvm/unittests/ADT/
DAPIntTest.cpp763 TEST(APIntTest, magicu) { in TEST() argument
764 EXPECT_EQ(APInt(32, 3).magicu().m, APInt(32, "AAAAAAAB", 16)); in TEST()
765 EXPECT_EQ(APInt(32, 3).magicu().s, 1U); in TEST()
766 EXPECT_EQ(APInt(32, 5).magicu().m, APInt(32, "CCCCCCCD", 16)); in TEST()
767 EXPECT_EQ(APInt(32, 5).magicu().s, 2U); in TEST()
768 EXPECT_EQ(APInt(32, 7).magicu().m, APInt(32, "24924925", 16)); in TEST()
769 EXPECT_EQ(APInt(32, 7).magicu().s, 3U); in TEST()
770 EXPECT_EQ(APInt(64, 25).magicu(1).m, APInt(64, "A3D70A3D70A3D70B", 16)); in TEST()
771 EXPECT_EQ(APInt(64, 25).magicu(1).s, 4U); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1389 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/include/llvm/ADT/
DAPInt.h1600 mu magicu(unsigned LeadingZeros = 0) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1578 mu magicu(unsigned LeadingZeros = 0) const;
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3315 APInt::mu magics = N1C.magicu(); in BuildUDIV()
3329 magics = N1C.lshr(Shift).magicu(Shift); in BuildUDIV()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2911 APInt::mu magics = Divisor.magicu(); in BuildUDIV()
2925 magics = Divisor.lshr(Shift).magicu(Shift); in BuildUDIV()
/external/llvm/lib/Support/
DAPInt.cpp1467 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu() function in APInt
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1441 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu() function in APInt
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp1538 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu() function in APInt