Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp12008 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local
12009 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt); in PerformMULCombine()
12016 MulAmt >>= ShiftAmt; in PerformMULCombine()
12018 if (MulAmt >= 0) { in PerformMULCombine()
12019 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine()
12025 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine()
12027 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine()
12032 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine()
12038 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp15694 const APInt &MulAmt = ConstOpOrElement->getAPIntValue(); in combineMUL() local
15695 bool IsNeg = MulAmt.isNegative(); in combineMUL()
15696 APInt MulAmtAbs = MulAmt.abs(); in combineMUL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp39021 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument
39044 switch (MulAmt) { in combineMulSpecial()
39092 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in combineMulSpecial()
39093 unsigned ScaleShift = countTrailingZeros(MulAmt); in combineMulSpecial()
39095 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in combineMulSpecial()