Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1246 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitAddSub() local
1250 std::swap(MulLHS, MulRHS); in emitAddSub()
1252 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitAddSub()
1253 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitAddSub()
1615 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitLogicalOp() local
1619 std::swap(MulLHS, MulRHS); in emitLogicalOp()
1621 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitLogicalOp()
1622 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitLogicalOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3544 Value *MulRHS; in matchFMulByZeroIfResultEqZero() local
3546 match(TrueVal, m_c_FMul(m_Specific(Cmp0), m_Value(MulRHS)))) { in matchFMulByZeroIfResultEqZero()
3551 return IC.fmulByZeroIsZero(MulRHS, FMF, &CtxI); in matchFMulByZeroIfResultEqZero()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp893 if (const SCEVMulExpr *MulRHS = dyn_cast<SCEVMulExpr>(RHS)) { in getExactSDiv() local
894 if (IgnoreSignificantBits || isMulSExtable(MulRHS, SE)) { in getExactSDiv()
897 dyn_cast<SCEVConstant>(MulRHS->getOperand(0)); in getExactSDiv()
900 SmallVector<const SCEV *, 4> ROps(drop_begin(MulRHS->operands())); in getExactSDiv()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp13710 SDValue MulRHS = LHS.getOperand(1); in tryFoldToMad64_32() local
13717 bool MulRHSUnsigned32 = numBitsUnsigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32()
13722 numBitsSigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32()
13731 MulRHS = DAG.getNode(ISD::ANY_EXTEND, SL, MVT::i64, MulRHS); in tryFoldToMad64_32()
13750 auto MulRHSLo = DAG.getNode(ISD::TRUNCATE, SL, MVT::i32, MulRHS); in tryFoldToMad64_32()
13767 DAG.getNode(ISD::EXTRACT_ELEMENT, SL, MVT::i32, MulRHS, One); in tryFoldToMad64_32()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp15298 auto *MulRHS = Mul->getOperand(1); in collect() local
15300 std::swap(MulLHS, MulRHS); in collect()
15302 if (Div->getOperand(1) == MulRHS) { in collect()
15303 DividesBy = MulRHS; in collect()