Home
last modified time | relevance | path

Searched refs:MulOp (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp942 Value *MulOp = Builder.CreateFMul(InitVec, Step); in getStepVector() local
943 return Builder.CreateBinOp(BinOp, Val, MulOp, "induction"); in getStepVector()
1006 Instruction::BinaryOps MulOp; in execute() local
1009 MulOp = Instruction::Mul; in execute()
1012 MulOp = Instruction::FMul; in execute()
1023 Value *Mul = Builder.CreateBinOp(MulOp, Step, RuntimeVF); in execute()
1133 Instruction::BinaryOps MulOp; in execute() local
1136 MulOp = Instruction::Mul; in execute()
1139 MulOp = Instruction::FMul; in execute()
1176 auto *Mul = Builder.CreateBinOp(MulOp, InitVec, SplatStep); in execute()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1008 constexpr unsigned MulOp = FP ? Instruction::FMul : Instruction::Mul; in matchesSquareSum() local
1014 AddOp, m_OneUse(m_BinOp(MulOp, m_Value(A), m_Deferred(A))), in matchesSquareSum()
1016 MulOp, in matchesSquareSum()
1030 Mul2Op, m_BinOp(MulOp, m_Value(A), m_Value(B)), M2Rhs)), in matchesSquareSum()
1031 m_OneUse(m_BinOp(MulOp, m_BinOp(Mul2Op, m_Value(A), M2Rhs), in matchesSquareSum()
1034 AddOp, m_BinOp(MulOp, m_Deferred(A), m_Deferred(A)), in matchesSquareSum()
1035 m_BinOp(MulOp, m_Deferred(B), m_Deferred(B)))))); in matchesSquareSum()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2856 (Ty (MulOp DPR:$Vn, DPR:$Vm)))))]>;
2868 (Ty (MulOp DPR:$Vn,
2881 (Ty (MulOp DPR:$Vn,
2887 SDPatternOperator MulOp, SDPatternOperator OpNode>
2892 (Ty (MulOp QPR:$Vn, QPR:$Vm)))))]>;
2895 SDPatternOperator MulOp, SDPatternOperator ShOp>
2903 (ResTy (MulOp QPR:$Vn,
2917 (ResTy (MulOp QPR:$Vn,
2966 (TyQ (MulOp (TyD DPR:$Vn),
2977 (TyQ (MulOp (TyD DPR:$Vn),
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2769 for (auto &MulOp : MulOpLists) { in getAddExpr() local
2770 if (MulOp.first == 1) { in getAddExpr()
2772 } else if (MulOp.first != 0) { in getAddExpr()
2774 getConstant(MulOp.first), in getAddExpr()
2775 getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1), in getAddExpr()
2792 for (unsigned MulOp = 0, e = Mul->getNumOperands(); MulOp != e; ++MulOp) { in getAddExpr() local
2793 const SCEV *MulOpSCEV = Mul->getOperand(MulOp); in getAddExpr()
2799 const SCEV *InnerMul = Mul->getOperand(MulOp == 0); in getAddExpr()
2804 Mul->operands().take_front(MulOp)); in getAddExpr()
2835 const SCEV *InnerMul1 = Mul->getOperand(MulOp == 0); in getAddExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3738 static Value* buildFMulAdd(llvm::Instruction *MulOp, Value *Addend, in buildFMulAdd() argument
3741 Value *MulOp0 = MulOp->getOperand(0); in buildFMulAdd()
3742 Value *MulOp1 = MulOp->getOperand(1); in buildFMulAdd()
3750 assert(isa<llvm::ConstrainedFPIntrinsic>(MulOp) && in buildFMulAdd()
3762 MulOp->eraseFromParent(); in buildFMulAdd()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp7014 auto FindReplicatedReg = [&](SDValue MulOp) { in combineSTORE() argument
7015 EVT MulVT = MulOp.getValueType(); in combineSTORE()
7016 if (MulOp->getOpcode() == ISD::MUL && in combineSTORE()
7019 SDValue LHS = MulOp->getOperand(0); in combineSTORE()
7027 if (auto *C = dyn_cast<ConstantSDNode>(MulOp->getOperand(1))) { in combineSTORE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp14956 SDValue MulOp = N->getOperand(1); in combineToVWMACC() local
14975 if (!IsVWMulOpc(MulOp.getOpcode())) in combineToVWMACC()
14976 std::swap(Addend, MulOp); in combineToVWMACC()
14978 if (!IsVWMulOpc(MulOp.getOpcode())) in combineToVWMACC()
14981 SDValue MulMergeOp = MulOp.getOperand(2); in combineToVWMACC()
14996 SDValue MulMask = MulOp.getOperand(3); in combineToVWMACC()
14997 SDValue MulVL = MulOp.getOperand(4); in combineToVWMACC()
15002 unsigned Opc = RISCVISD::VWMACC_VL + MulOp.getOpcode() - RISCVISD::VWMUL_VL; in combineToVWMACC()
15014 SDValue Ops[] = {MulOp.getOperand(0), MulOp.getOperand(1), Addend, AddMask, in combineToVWMACC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp4107 unsigned MulOp = Signed ? ISD::SMULO : ISD::UMULO; in ExpandIntRes_MULFIX() local
4108 Result = DAG.getNode(MulOp, dl, DAG.getVTList(VT, BoolVT), LHS, RHS); in ExpandIntRes_MULFIX()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp6732 MachineOperand &MulOp = Root.getOperand(IdxMulOp); in genIndexedMultiply() local
6738 .add(MulOp) in genIndexedMultiply()