| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 1241 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitAddSub() local 1245 std::swap(MulLHS, MulRHS); in emitAddSub() 1247 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitAddSub() 1248 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitAddSub() 1612 const Value *MulRHS = cast<MulOperator>(RHS)->getOperand(1); in emitLogicalOp() local 1616 std::swap(MulLHS, MulRHS); in emitLogicalOp() 1618 assert(isa<ConstantInt>(MulRHS) && "Expected a ConstantInt."); in emitLogicalOp() 1619 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitLogicalOp()
|
| H A D | AArch64SVEInstrInfo.td | 710 def : Pat<(nxv4i32 (partial_reduce_umla nxv4i32:$Acc, nxv16i8:$MulLHS, nxv16i8:$MulRHS)), 711 (UDOT_ZZZ_S $Acc, $MulLHS, $MulRHS)>; 712 def : Pat<(nxv4i32 (partial_reduce_smla nxv4i32:$Acc, nxv16i8:$MulLHS, nxv16i8:$MulRHS)), 713 (SDOT_ZZZ_S $Acc, $MulLHS, $MulRHS)>; 714 def : Pat<(nxv2i64 (partial_reduce_umla nxv2i64:$Acc, nxv8i16:$MulLHS, nxv8i16:$MulRHS)), 715 (UDOT_ZZZ_D $Acc, $MulLHS, $MulRHS)>; 716 def : Pat<(nxv2i64 (partial_reduce_smla nxv2i64:$Acc, nxv8i16:$MulLHS, nxv8i16:$MulRHS)), 717 (SDOT_ZZZ_D $Acc, $MulLHS, $MulRHS)>;
|
| H A D | AArch64InstrInfo.td | 1653 … : Pat<(v4i32 (partial_reduce_umla (v4i32 V128:$Acc), (v16i8 V128:$MulLHS), (v16i8 V128:$MulRHS))), 1654 (v4i32 (UDOTv16i8 V128:$Acc, V128:$MulLHS, V128:$MulRHS))>; 1655 … : Pat<(v4i32 (partial_reduce_smla (v4i32 V128:$Acc), (v16i8 V128:$MulLHS), (v16i8 V128:$MulRHS))), 1656 (v4i32 (SDOTv16i8 V128:$Acc, V128:$MulLHS, V128:$MulRHS))>; 1657 def : Pat<(v2i32 (partial_reduce_umla (v2i32 V64:$Acc), (v8i8 V64:$MulLHS), (v8i8 V64:$MulRHS))), 1658 (v2i32 (UDOTv8i8 V64:$Acc, V64:$MulLHS, V64:$MulRHS))>; 1659 def : Pat<(v2i32 (partial_reduce_smla (v2i32 V64:$Acc), (v8i8 V64:$MulLHS), (v8i8 V64:$MulRHS))), 1660 (v2i32 (SDOTv8i8 V64:$Acc, V64:$MulLHS, V64:$MulRHS))>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 901 if (const SCEVMulExpr *MulRHS = dyn_cast<SCEVMulExpr>(RHS)) { in getExactSDiv() local 902 if (IgnoreSignificantBits || isMulSExtable(MulRHS, SE)) { in getExactSDiv() 905 dyn_cast<SCEVConstant>(MulRHS->getOperand(0)); in getExactSDiv() 908 SmallVector<const SCEV *, 4> ROps(drop_begin(MulRHS->operands())); in getExactSDiv()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 3749 Value *MulRHS; in matchFMulByZeroIfResultEqZero() local 3751 match(TrueVal, m_c_FMul(m_Specific(Cmp0), m_Value(MulRHS)))) { in matchFMulByZeroIfResultEqZero() 3756 return IC.fmulByZeroIsZero(MulRHS, FMF, &CtxI); in matchFMulByZeroIfResultEqZero()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 14473 SDValue MulLHS, SDValue MulRHS, in tryFoldMADwithSRL() argument 14475 if (MulRHS.getOpcode() == ISD::SRL) in tryFoldMADwithSRL() 14476 std::swap(MulLHS, MulRHS); in tryFoldMADwithSRL() 14486 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(MulRHS.getNode()); in tryFoldMADwithSRL() 14552 SDValue MulRHS = LHS.getOperand(1); in tryFoldToMad64_32() local 14555 if (SDValue FoldedMAD = tryFoldMADwithSRL(DAG, SL, MulLHS, MulRHS, AddRHS)) in tryFoldToMad64_32() 14562 bool MulRHSUnsigned32 = numBitsUnsigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32() 14567 numBitsSigned(MulLHS, DAG) <= 32 && numBitsSigned(MulRHS, DAG) <= 32; in tryFoldToMad64_32() 14576 MulRHS = DAG.getNode(ISD::ANY_EXTEND, SL, MVT::i64, MulRHS); in tryFoldToMad64_32() 14595 auto MulRHSLo = DAG.getNode(ISD::TRUNCATE, SL, MVT::i32, MulRHS); in tryFoldToMad64_32() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 12030 SDValue MulRHS = N->getOperand(2); in expandPartialReduceMLA() local 12047 MulRHS = DAG.getNode(ExtOpcRHS, DL, ExtMulOpVT, MulRHS); in expandPartialReduceMLA() 12051 if (!ISD::isConstantSplatVector(MulRHS.getNode(), ConstantOne) || in expandPartialReduceMLA() 12053 Input = DAG.getNode(ISD::MUL, DL, ExtMulOpVT, MulLHS, MulRHS); in expandPartialReduceMLA()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 15626 auto *MulRHS = Mul->getOperand(1); in collectFromBlock() local 15628 std::swap(MulLHS, MulRHS); in collectFromBlock() 15630 if (Div->getOperand(1) == MulRHS) { in collectFromBlock() 15631 DividesBy = MulRHS; in collectFromBlock()
|