Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp894 int64_t MulAmt = C->getSExtValue(); in LowerMUL() local
908 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp13887 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...]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14238 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local
14239 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp18075 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local
18076 bool IsNeg = MulAmt.isNegative(); in combineMUL()
18077 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp47622 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument
47645 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()