Home
last modified time | relevance | path

Searched refs:MulAmtAbs (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17533 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local
17535 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()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14111 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local
14112 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()