Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp18077 APInt MulAmtAbs = MulAmt.abs(); in combineMUL() local
18079 if ((MulAmtAbs - 1).isPowerOf2()) { in combineMUL()
18089 DAG.getConstant((MulAmtAbs - 1).logBase2(), DL, VT)); in combineMUL()
18096 } else if ((MulAmtAbs + 1).isPowerOf2()) { in combineMUL()
18106 DAG.getConstant((MulAmtAbs + 1).logBase2(), DL, VT)); in combineMUL()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14268 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine() local
14269 if (llvm::has_single_bit<uint32_t>(MulAmtAbs + 1)) { in PerformMULCombine()
14275 DAG.getConstant(Log2_32(MulAmtAbs + 1), DL, in PerformMULCombine()
14277 } else if (llvm::has_single_bit<uint32_t>(MulAmtAbs - 1)) { in PerformMULCombine()
14283 DAG.getConstant(Log2_32(MulAmtAbs - 1), DL, in PerformMULCombine()