Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1235 Value *MulOp = Builder.CreateFMul(InitVec, Step); in getStepVector() local
1236 return Builder.CreateBinOp(BinOp, Val, MulOp, "induction"); in getStepVector()
1299 Instruction::BinaryOps MulOp; in execute() local
1302 MulOp = Instruction::Mul; in execute()
1305 MulOp = Instruction::FMul; in execute()
1316 Value *Mul = Builder.CreateBinOp(MulOp, Step, RuntimeVF); in execute()
1419 Instruction::BinaryOps MulOp; in execute() local
1422 MulOp = Instruction::Mul; in execute()
1425 MulOp = Instruction::FMul; in execute()
1462 auto *Mul = Builder.CreateBinOp(MulOp, InitVec, SplatStep); in execute()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1021 constexpr unsigned MulOp = FP ? Instruction::FMul : Instruction::Mul; in matchesSquareSum() local
1027 AddOp, m_OneUse(m_BinOp(MulOp, m_Value(A), m_Deferred(A))), in matchesSquareSum()
1029 MulOp, in matchesSquareSum()
1043 Mul2Op, m_BinOp(MulOp, m_Value(A), m_Value(B)), M2Rhs)), in matchesSquareSum()
1044 m_OneUse(m_c_BinOp(MulOp, m_BinOp(Mul2Op, m_Value(A), M2Rhs), in matchesSquareSum()
1047 m_c_BinOp(AddOp, m_BinOp(MulOp, m_Deferred(A), m_Deferred(A)), in matchesSquareSum()
1048 m_BinOp(MulOp, m_Deferred(B), m_Deferred(B)))))); in matchesSquareSum()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2865 ValueType Ty, SDPatternOperator MulOp, SDPatternOperator OpNode>
2870 (Ty (MulOp DPR:$Vn, DPR:$Vm)))))]>;
2874 ValueType Ty, SDPatternOperator MulOp, SDPatternOperator ShOp>
2882 (Ty (MulOp DPR:$Vn,
2887 ValueType Ty, SDPatternOperator MulOp, SDPatternOperator ShOp>
2895 (Ty (MulOp DPR:$Vn,
2901 SDPatternOperator MulOp, SDPatternOperator OpNode>
2906 (Ty (MulOp QPR:$Vn, QPR:$Vm)))))]>;
2909 SDPatternOperator MulOp, SDPatternOperator ShOp>
2917 (ResTy (MulOp QPR:$Vn,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2771 for (auto &MulOp : MulOpLists) { in getAddExpr() local
2772 if (MulOp.first == 1) { in getAddExpr()
2773 Ops.push_back(getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1)); in getAddExpr()
2774 } else if (MulOp.first != 0) { in getAddExpr()
2776 getConstant(MulOp.first), in getAddExpr()
2777 getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1), in getAddExpr()
2794 for (unsigned MulOp = 0, e = Mul->getNumOperands(); MulOp != e; ++MulOp) { in getAddExpr() local
2795 const SCEV *MulOpSCEV = Mul->getOperand(MulOp); in getAddExpr()
2801 const SCEV *InnerMul = Mul->getOperand(MulOp == 0); in getAddExpr()
2806 Mul->operands().take_front(MulOp)); in getAddExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4024 static Value* buildFMulAdd(llvm::Instruction *MulOp, Value *Addend, in buildFMulAdd() argument
4027 Value *MulOp0 = MulOp->getOperand(0); in buildFMulAdd()
4028 Value *MulOp1 = MulOp->getOperand(1); in buildFMulAdd()
4036 assert(isa<llvm::ConstrainedFPIntrinsic>(MulOp) && in buildFMulAdd()
4048 MulOp->eraseFromParent(); in buildFMulAdd()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp7157 auto FindReplicatedReg = [&](SDValue MulOp) { in combineSTORE() argument
7158 EVT MulVT = MulOp.getValueType(); in combineSTORE()
7159 if (MulOp->getOpcode() == ISD::MUL && in combineSTORE()
7162 SDValue LHS = MulOp->getOperand(0); in combineSTORE()
7170 if (auto *C = dyn_cast<ConstantSDNode>(MulOp->getOperand(1))) { in combineSTORE()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp16295 SDValue MulOp = N->getOperand(1); in combineToVWMACC()
16314 if (!IsVWMulOpc(MulOp.getOpcode())) in combineToVWMACC()
16315 std::swap(Addend, MulOp); in combineToVWMACC()
16317 if (!IsVWMulOpc(MulOp.getOpcode())) in combineToVWMACC()
16320 SDValue MulMergeOp = MulOp.getOperand(2); in combineToVWMACC()
16335 SDValue MulMask = MulOp.getOperand(3); in combineToVWMACC()
16336 SDValue MulVL = MulOp.getOperand(4); in combineToVWMACC()
16341 unsigned Opc = RISCVISD::VWMACC_VL + MulOp.getOpcode() - RISCVISD::VWMUL_VL; in combineToVWMACC()
16353 SDValue Ops[] = {MulOp.getOperand(0), MulOp in combineToVWMACC()
16292 SDValue MulOp = N->getOperand(1); combineToVWMACC() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp4263 unsigned MulOp = Signed ? ISD::SMULO : ISD::UMULO; in ExpandIntRes_MULFIX() local
4264 Result = DAG.getNode(MulOp, dl, DAG.getVTList(VT, BoolVT), LHS, RHS); in ExpandIntRes_MULFIX()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp6783 MachineOperand &MulOp = Root.getOperand(IdxMulOp); in genIndexedMultiply() local
6789 .add(MulOp) in genIndexedMultiply()