Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DAPIntTest.cpp423 TEST(APIntTest, magicu) { in TEST() argument
424 EXPECT_EQ(APInt(32, 3).magicu().m, APInt(32, "AAAAAAAB", 16)); in TEST()
425 EXPECT_EQ(APInt(32, 3).magicu().s, 1U); in TEST()
426 EXPECT_EQ(APInt(32, 5).magicu().m, APInt(32, "CCCCCCCD", 16)); in TEST()
427 EXPECT_EQ(APInt(32, 5).magicu().s, 2U); in TEST()
428 EXPECT_EQ(APInt(32, 7).magicu().m, APInt(32, "24924925", 16)); in TEST()
429 EXPECT_EQ(APInt(32, 7).magicu().s, 3U); in TEST()
430 EXPECT_EQ(APInt(64, 25).magicu(1).m, APInt(64, "A3D70A3D70A3D70B", 16)); in TEST()
431 EXPECT_EQ(APInt(64, 25).magicu(1).s, 4U); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h1410 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3357 APInt::mu magics = N1C.magicu(); in BuildUDIV()
3371 magics = N1C.lshr(Shift).magicu(Shift); in BuildUDIV()
/external/llvm/lib/Support/
DAPInt.cpp1439 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu() function in APInt