Searched refs:MulAmtAbs (Results 1 – 2 of 2) sorted by relevance
19079 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local19081 if ((MulAmtAbs - 1).isPowerOf2()) { in combineMUL()19091 DAG.getConstant((MulAmtAbs - 1).logBase2(), DL, VT)); in combineMUL()19098 } else if ((MulAmtAbs + 1).isPowerOf2()) { in combineMUL()19108 DAG.getConstant((MulAmtAbs + 1).logBase2(), DL, VT)); in combineMUL()
14345 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local14346 if (llvm::has_single_bit<uint32_t>(MulAmtAbs + 1)) { in PerformMULCombine()14352 DAG.getConstant(Log2_32(MulAmtAbs + 1), DL, in PerformMULCombine()14354 } else if (llvm::has_single_bit<uint32_t>(MulAmtAbs - 1)) { in PerformMULCombine()14360 DAG.getConstant(Log2_32(MulAmtAbs - 1), DL, in PerformMULCombine()