Searched refs:MulAmtAbs (Results 1 – 2 of 2) sorted by relevance
17864 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local17866 if ((MulAmtAbs - 1).isPowerOf2()) { in combineMUL()17876 DAG.getConstant((MulAmtAbs - 1).logBase2(), DL, VT)); in combineMUL()17883 } else if ((MulAmtAbs + 1).isPowerOf2()) { in combineMUL()17893 DAG.getConstant((MulAmtAbs + 1).logBase2(), DL, VT)); in combineMUL()
14263 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local14264 if (llvm::has_single_bit<uint32_t>(MulAmtAbs + 1)) { in PerformMULCombine()14270 DAG.getConstant(Log2_32(MulAmtAbs + 1), DL, in PerformMULCombine()14272 } else if (llvm::has_single_bit<uint32_t>(MulAmtAbs - 1)) { in PerformMULCombine()14278 DAG.getConstant(Log2_32(MulAmtAbs - 1), DL, in PerformMULCombine()