Lines Matching refs:AM
1403 // Computes the GCD of AM and BM.
1406 static bool findGCD(unsigned Bits, const APInt &AM, const APInt &BM,
1410 APInt G0 = AM.abs();
1423 X = AM.slt(0) ? -A1 : A1;
1496 LLVM_DEBUG(dbgs() << "\t SrcCoeff = " << *SrcCoeff << " = AM\n");
1516 APInt AM = ConstSrcCoeff->getAPInt();
1518 unsigned Bits = AM.getBitWidth();
1519 if (findGCD(Bits, AM, BM, ConstDelta->getAPInt(), G, X, Y)) {
1561 // test(AM/G, LM-Y) and test(-AM/G, Y-UM)
1562 TMUL = AM.sdiv(G);
1592 TMUL = AM - BM;
1618 TMUL = BM - AM;
1899 LLVM_DEBUG(dbgs() << "\t SrcCoeff = " << *SrcCoeff << " = AM\n");
1915 APInt AM = ConstSrcCoeff->getAPInt();
1917 unsigned Bits = AM.getBitWidth();
1918 if (findGCD(Bits, AM, BM, ConstDelta->getAPInt(), G, X, Y)) {
1969 // test(AM/G, LM-Y) and test(-AM/G, Y-UM)
1970 TMUL = AM.sdiv(G);