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.cpp13899 uint64_t MulAmt2 = MulAmt / Divisor; in expandMul()
13901 if (isPowerOf2_64(MulAmt2)) { in expandMul()
13909 DAG.getConstant(Log2_64(MulAmt2), DL, VT)); in expandMul()
13920 DAG.getConstant(Log2_64(MulAmt2), DL, VT)); in expandMul()
13924 if (MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9) { in expandMul()
13930 DAG.getConstant(Log2_64(MulAmt2 - 1), DL, VT), in expandMul()
13896 uint64_t MulAmt2 = MulAmt / Divisor; expandMul() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp47930 uint64_t MulAmt2 = 0; in combineMul() local
47933 MulAmt2 = AbsMulAmt / 9; in combineMul()
47936 MulAmt2 = AbsMulAmt / 5; in combineMul()
47939 MulAmt2 = AbsMulAmt / 3; in combineMul()
47943 if (MulAmt2 && in combineMul()
47944 (isPowerOf2_64(MulAmt2) || in combineMul()
47945 (SignMulAmt >= 0 && (MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9)))) { in combineMul()
47947 if (isPowerOf2_64(MulAmt2) && !(SignMulAmt >= 0 && N->hasOneUse() && in combineMul()
47953 std::swap(MulAmt1, MulAmt2); in combineMul()
47962 if (isPowerOf2_64(MulAmt2)) in combineMul()
[all …]