Searched refs:MulAmtAbs (Results 1 – 2 of 2) sorted by relevance
17299 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local17301 if ((MulAmtAbs - 1).isPowerOf2()) { in combineMUL()17311 DAG.getConstant((MulAmtAbs - 1).logBase2(), DL, VT)); in combineMUL()17318 } else if ((MulAmtAbs + 1).isPowerOf2()) { in combineMUL()17328 DAG.getConstant((MulAmtAbs + 1).logBase2(), DL, VT)); in combineMUL()
14034 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local14035 if (isPowerOf2_32(MulAmtAbs + 1)) { in PerformMULCombine()14041 DAG.getConstant(Log2_32(MulAmtAbs + 1), DL, in PerformMULCombine()14043 } else if (isPowerOf2_32(MulAmtAbs - 1)) { in PerformMULCombine()14049 DAG.getConstant(Log2_32(MulAmtAbs - 1), DL, in PerformMULCombine()