Lines Matching refs:integerPart
540 integerPart singleWord = ~integerPart(0) << (integerPartWidth - 1);
541 integerPart carry = APInt::tcDecrement(&singleWord, 1);
542 EXPECT_EQ(carry, integerPart(0));
543 EXPECT_EQ(singleWord, ~integerPart(0) >> 1);
548 integerPart singleWord = 0;
549 integerPart carry = APInt::tcDecrement(&singleWord, 1);
550 EXPECT_EQ(carry, integerPart(1));
551 EXPECT_EQ(singleWord, ~integerPart(0));
558 integerPart test[4] = {0x1, 0x1, 0x1, 0x1};
559 integerPart expected[4] = {0x0, 0x1, 0x1, 0x1};
566 integerPart test[4] = {0x0, 0xF, 0x1, 0x1};
567 integerPart expected[4] = {~integerPart(0), 0xE, 0x1, 0x1};
568 integerPart carry = APInt::tcDecrement(test, 4);
569 EXPECT_EQ(carry, integerPart(0));
575 integerPart test[4] = {0x0, 0x0, 0xC, 0x1};
576 integerPart expected[4] = {~integerPart(0), ~integerPart(0), 0xB, 0x1};
577 integerPart carry = APInt::tcDecrement(test, 4);
578 EXPECT_EQ(carry, integerPart(0));
584 integerPart test[4] = {0x0, 0x0, 0x0, 0x1};
585 integerPart expected[4] = {~integerPart(0), ~integerPart(0), ~integerPart(0), 0x0};
586 integerPart carry = APInt::tcDecrement(test, 4);
587 EXPECT_EQ(carry, integerPart(0));
593 integerPart test[4] = {0x0, 0x0, 0x0, 0x0};
594 integerPart expected[4] = {~integerPart(0), ~integerPart(0), ~integerPart(0), ~integerPart(0)};
595 integerPart carry = APInt::tcDecrement(test, 4);
596 EXPECT_EQ(carry, integerPart(1));