Searched refs:MulAmt (Results 1 – 5 of 5) sorted by relevance
894 int64_t MulAmt = C->getSExtValue(); in LowerMUL() local908 int64_t E = std::abs(MulAmt); in LowerMUL()909 int S = (MulAmt < 0 ? -1 : 1); in LowerMUL()932 if (std::abs(MulAmt) % 2 == 1) in LowerMUL()
13887 uint64_t MulAmt = CNode->getZExtValue(); in expandMul() 13897 if (MulAmt % Divisor != 0) in expandMul() 13899 uint64_t MulAmt2 = MulAmt / Divisor; in expandMul() 13938 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in expandMul() 13939 unsigned ScaleShift = llvm::countr_zero(MulAmt); in expandMul() 13941 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in expandMul() 13956 uint64_t C = MulAmt - 1; in expandMul() 13971 if (MulAmt > in expandMul() 13884 uint64_t MulAmt = CNode->getZExtValue(); expandMul() local [all...]
14238 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local14239 unsigned ShiftAmt = llvm::countr_zero<uint64_t>(MulAmt); in PerformMULCombine()14246 MulAmt >>= ShiftAmt; in PerformMULCombine()14248 if (MulAmt >= 0) { in PerformMULCombine()14249 if (llvm::has_single_bit<uint32_t>(MulAmt - 1)) { in PerformMULCombine()14255 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine()14257 } else if (llvm::has_single_bit<uint32_t>(MulAmt + 1)) { in PerformMULCombine()14262 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine()14268 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
18075 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local18076 bool IsNeg = MulAmt.isNegative(); in combineMUL()18077 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
47622 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument47645 switch (MulAmt) { in combineMulSpecial()47693 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in combineMulSpecial()47694 unsigned ScaleShift = llvm::countr_zero(MulAmt); in combineMulSpecial()47696 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in combineMulSpecial()