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()
12008 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local12009 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt); in PerformMULCombine()12016 MulAmt >>= ShiftAmt; in PerformMULCombine()12018 if (MulAmt >= 0) { in PerformMULCombine()12019 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine()12025 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine()12027 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine()12032 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine()12038 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
15694 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local15695 bool IsNeg = MulAmt.isNegative(); in combineMUL()15696 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
39021 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument39044 switch (MulAmt) { in combineMulSpecial()39092 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in combineMulSpecial()39093 unsigned ScaleShift = countTrailingZeros(MulAmt); in combineMulSpecial()39095 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in combineMulSpecial()