Home
last modified time | relevance | path

Searched refs:MulAmt (Results 1 – 4 of 4) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp892 int64_t MulAmt = C->getSExtValue(); in LowerMUL() local
906 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13198 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local
13199 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()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp16770 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local
16771 bool IsNeg = MulAmt.isNegative(); in combineMUL()
16772 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp42922 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument
42945 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()