Searched refs:MulAmt (Results 1 – 4 of 4) sorted by relevance
892 int64_t MulAmt = C->getSExtValue(); in LowerMUL() local906 int64_t E = std::abs(MulAmt); in LowerMUL()907 int S = (MulAmt < 0 ? -1 : 1); in LowerMUL()930 if (std::abs(MulAmt) % 2 == 1) in LowerMUL()
13198 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local13199 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt); in PerformMULCombine()13206 MulAmt >>= ShiftAmt; in PerformMULCombine()13208 if (MulAmt >= 0) { in PerformMULCombine()13209 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine()13215 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine()13217 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine()13222 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine()13228 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
16770 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local16771 bool IsNeg = MulAmt.isNegative(); in combineMUL()16772 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
42922 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument42945 switch (MulAmt) { in combineMulSpecial()42993 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in combineMulSpecial()42994 unsigned ScaleShift = countTrailingZeros(MulAmt); in combineMulSpecial()42996 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in combineMulSpecial()