Searched refs:MulAmt (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 892 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()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.cpp | 881 int64_t MulAmt = C->getSExtValue(); in LowerMUL() local 895 int64_t E = std::abs(MulAmt); in LowerMUL() 896 int S = (MulAmt < 0 ? -1 : 1); in LowerMUL() 919 if (std::abs(MulAmt) % 2 == 1) in LowerMUL()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6635 uint64_t MulAmt = C->getZExtValue(); in PerformMULCombine() local 6636 unsigned ShiftAmt = CountTrailingZeros_64(MulAmt); in PerformMULCombine() 6642 MulAmt >>= ShiftAmt; in PerformMULCombine() 6643 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine() 6647 V, DAG.getConstant(Log2_32(MulAmt-1), in PerformMULCombine() 6649 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine() 6653 V, DAG.getConstant(Log2_32(MulAmt+1), in PerformMULCombine()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 13017 uint64_t MulAmt = C->getZExtValue(); in PerformMulCombine() local 13018 if (isPowerOf2_64(MulAmt) || MulAmt == 3 || MulAmt == 5 || MulAmt == 9) in PerformMulCombine() 13023 if ((MulAmt % 9) == 0) { in PerformMulCombine() 13025 MulAmt2 = MulAmt / 9; in PerformMulCombine() 13026 } else if ((MulAmt % 5) == 0) { in PerformMulCombine() 13028 MulAmt2 = MulAmt / 5; in PerformMulCombine() 13029 } else if ((MulAmt % 3) == 0) { in PerformMulCombine() 13031 MulAmt2 = MulAmt / 3; in PerformMulCombine()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 9158 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local 9159 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt); in PerformMULCombine() 9166 MulAmt >>= ShiftAmt; in PerformMULCombine() 9168 if (MulAmt >= 0) { in PerformMULCombine() 9169 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine() 9175 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine() 9177 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine() 9182 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine() 9188 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 10617 int64_t MulAmt = C->getSExtValue(); in PerformMULCombine() local 10618 unsigned ShiftAmt = countTrailingZeros<uint64_t>(MulAmt); in PerformMULCombine() 10625 MulAmt >>= ShiftAmt; in PerformMULCombine() 10627 if (MulAmt >= 0) { in PerformMULCombine() 10628 if (isPowerOf2_32(MulAmt - 1)) { in PerformMULCombine() 10634 DAG.getConstant(Log2_32(MulAmt - 1), DL, in PerformMULCombine() 10636 } else if (isPowerOf2_32(MulAmt + 1)) { in PerformMULCombine() 10641 DAG.getConstant(Log2_32(MulAmt + 1), DL, in PerformMULCombine() 10647 uint64_t MulAmtAbs = -MulAmt; in PerformMULCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 33697 static SDValue combineMulSpecial(uint64_t MulAmt, SDNode *N, SelectionDAG &DAG, in combineMulSpecial() argument 33720 switch (MulAmt) { in combineMulSpecial() 33768 if (isPowerOf2_64(MulAmt & (MulAmt - 1))) { in combineMulSpecial() 33769 unsigned ScaleShift = countTrailingZeros(MulAmt); in combineMulSpecial() 33771 unsigned ShiftAmt = Log2_64((MulAmt & (MulAmt - 1))); in combineMulSpecial()
|