reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2612 for (unsigned Bits = 1; Bits <= 5; ++Bits) 2612 for (unsigned Bits = 1; Bits <= 5; ++Bits) 2613 for (unsigned A = 0; A != 1u << Bits; ++A) 2614 for (unsigned B = 0; B != 1u << Bits; ++B) { 2615 APInt C = APInt(Bits, A).umul_ov(APInt(Bits, B), Overflow); 2615 APInt C = APInt(Bits, A).umul_ov(APInt(Bits, B), Overflow); 2616 APInt D = APInt(2 * Bits, A) * APInt(2 * Bits, B); 2616 APInt D = APInt(2 * Bits, A) * APInt(2 * Bits, B); 2617 EXPECT_TRUE(D.getHiBits(Bits).isNullValue() != Overflow);