Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16033 uint64_t MulAmt2 = MulAmt / Divisor; in expandMul() local
16035 if (isPowerOf2_64(MulAmt2)) { in expandMul()
16043 DAG.getConstant(Log2_64(MulAmt2), DL, VT)); in expandMul()
16054 DAG.getConstant(Log2_64(MulAmt2), DL, VT)); in expandMul()
16058 if (MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9) { in expandMul()
16064 DAG.getConstant(Log2_64(MulAmt2 - 1), DL, VT), in expandMul()
16135 uint64_t MulAmt2 = MulAmt / Divisor; in expandMul() local
16139 if (MulAmt2 % Divisor2 != 0) in expandMul()
16141 uint64_t MulAmt3 = MulAmt2 / Divisor2; in expandMul()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp49696 uint64_t MulAmt2 = 0; in combineMul() local
49699 MulAmt2 = AbsMulAmt / 9; in combineMul()
49702 MulAmt2 = AbsMulAmt / 5; in combineMul()
49705 MulAmt2 = AbsMulAmt / 3; in combineMul()
49709 if (MulAmt2 && in combineMul()
49710 (isPowerOf2_64(MulAmt2) || in combineMul()
49711 (SignMulAmt >= 0 && (MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9)))) { in combineMul()
49713 if (isPowerOf2_64(MulAmt2) && !(SignMulAmt >= 0 && N->hasOneUse() && in combineMul()
49719 std::swap(MulAmt1, MulAmt2); in combineMul()
49728 if (isPowerOf2_64(MulAmt2)) in combineMul()
[all …]