Lines Matching defs:BM
1295 // Computes the GCD of AM and BM.
1299 bool findGCD(unsigned Bits, APInt AM, APInt BM, APInt Delta,
1304 APInt G1 = BM.abs();
1317 Y = BM.slt(0) ? B1 : -B1;
1397 DEBUG(dbgs() << "\t DstCoeff = " << *DstCoeff << " = BM\n");
1417 APInt BM = ConstDstCoeff->getValue()->getValue();
1419 if (findGCD(Bits, AM, BM, ConstDelta->getValue()->getValue(), G, X, Y)) {
1442 // test(BM/G, LM-X) and test(-BM/G, X-UM)
1443 APInt TMUL = BM.sdiv(G);
1492 TMUL = AM - BM;
1518 TMUL = BM - AM;
1805 DEBUG(dbgs() << "\t DstCoeff = " << *DstCoeff << " = BM\n");
1821 APInt BM = ConstDstCoeff->getValue()->getValue();
1823 if (findGCD(Bits, AM, BM, ConstDelta->getValue()->getValue(), G, X, Y)) {
1855 // test(BM/G, LM-X) and test(-BM/G, X-UM)
1856 APInt TMUL = BM.sdiv(G);