Searched refs:MulAmtAbs (Results 1 – 2 of 2) sorted by relevance
17533 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local17535 if ((MulAmtAbs - 1).isPowerOf2()) { in combineMUL()17545 DAG.getConstant((MulAmtAbs - 1).logBase2(), DL, VT)); in combineMUL()17552 } else if ((MulAmtAbs + 1).isPowerOf2()) { in combineMUL()17562 DAG.getConstant((MulAmtAbs + 1).logBase2(), DL, VT)); in combineMUL()
14111 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local14112 if (isPowerOf2_32(MulAmtAbs + 1)) { in PerformMULCombine()14118 DAG.getConstant(Log2_32(MulAmtAbs + 1), DL, in PerformMULCombine()14120 } else if (isPowerOf2_32(MulAmtAbs - 1)) { in PerformMULCombine()14126 DAG.getConstant(Log2_32(MulAmtAbs - 1), DL, in PerformMULCombine()