Searched refs:MulRHS (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 1245 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitAddSub() local 1249 std::swap(MulLHS, MulRHS); in emitAddSub() 1251 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitAddSub() 1252 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitAddSub() 1614 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitLogicalOp() local 1618 std::swap(MulLHS, MulRHS); in emitLogicalOp() 1620 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitLogicalOp() 1621 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitLogicalOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 3350 Value *MulRHS; in matchFMulByZeroIfResultEqZero() local 3352 match(TrueVal, m_c_FMul(m_Specific(Cmp0), m_Value(MulRHS)))) { in matchFMulByZeroIfResultEqZero() 3357 return IC.fmulByZeroIsZero(MulRHS, FMF, &CtxI); in matchFMulByZeroIfResultEqZero()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 765 if (const SCEVMulExpr *MulRHS = dyn_cast<SCEVMulExpr>(RHS)) { in getExactSDiv() local 766 if (IgnoreSignificantBits || isMulSExtable(MulRHS, SE)) { in getExactSDiv() 769 dyn_cast<SCEVConstant>(MulRHS->getOperand(0)); in getExactSDiv() 772 SmallVector<const SCEV *, 4> ROps(drop_begin(MulRHS->operands())); in getExactSDiv()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 13412 SDValue MulRHS = LHS.getOperand(1); in tryFoldToMad64_32() local 13419 bool MulRHSUnsigned32 = numBitsUnsigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32() 13424 numBitsSigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32() 13433 MulRHS = DAG.getNode(ISD::ANY_EXTEND, SL, MVT::i64, MulRHS); in tryFoldToMad64_32() 13452 auto MulRHSLo = DAG.getNode(ISD::TRUNCATE, SL, MVT::i32, MulRHS); in tryFoldToMad64_32() 13469 DAG.getNode(ISD::EXTRACT_ELEMENT, SL, MVT::i32, MulRHS, One); in tryFoldToMad64_32()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 15208 auto *MulRHS = Mul->getOperand(1); in applyLoopGuards() local 15210 std::swap(MulLHS, MulRHS); in applyLoopGuards() 15212 if (Div->getOperand(1) == MulRHS) { in applyLoopGuards() 15213 DividesBy = MulRHS; in applyLoopGuards()
|