Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DAPIntTest.cpp459 TEST(APIntTest, magicu) { in TEST() argument
460 EXPECT_EQ(APInt(32, 3).magicu().m, APInt(32, "AAAAAAAB", 16)); in TEST()
461 EXPECT_EQ(APInt(32, 3).magicu().s, 1U); in TEST()
462 EXPECT_EQ(APInt(32, 5).magicu().m, APInt(32, "CCCCCCCD", 16)); in TEST()
463 EXPECT_EQ(APInt(32, 5).magicu().s, 2U); in TEST()
464 EXPECT_EQ(APInt(32, 7).magicu().m, APInt(32, "24924925", 16)); in TEST()
465 EXPECT_EQ(APInt(32, 7).magicu().s, 3U); in TEST()
466 EXPECT_EQ(APInt(64, 25).magicu(1).m, APInt(64, "A3D70A3D70A3D70B", 16)); in TEST()
467 EXPECT_EQ(APInt(64, 25).magicu(1).s, 4U); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h1565 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2718 APInt::mu magics = Divisor.magicu(); in BuildUDIV()
2732 magics = Divisor.lshr(Shift).magicu(Shift); in BuildUDIV()
/external/llvm/lib/Support/
DAPInt.cpp1440 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu() function in APInt