Home
last modified time | relevance | path

Searched refs:AddOp (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp577 SDValue AddOp; in isADDADDMUL() local
580 AddOp = N0; in isADDADDMUL()
583 AddOp = N1; in isADDADDMUL()
596 Addend0 = AddOp.getOperand(0); in isADDADDMUL()
597 Addend1 = AddOp.getOperand(1); in isADDADDMUL()
604 Mul0 = AddOp.getOperand(0).getOperand(0); in isADDADDMUL()
605 Mul1 = AddOp.getOperand(0).getOperand(1); in isADDADDMUL()
606 Addend0 = AddOp.getOperand(1); in isADDADDMUL()
614 Mul0 = AddOp.getOperand(1).getOperand(0); in isADDADDMUL()
615 Mul1 = AddOp.getOperand(1).getOperand(1); in isADDADDMUL()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1005 Instruction::BinaryOps AddOp; in execute() local
1008 AddOp = Instruction::Add; in execute()
1011 AddOp = ID.getInductionOpcode(); in execute()
1048 Builder.CreateBinOp(AddOp, LastInduction, SplatVF, "step.add")); in execute()
1132 Instruction::BinaryOps AddOp; in execute() local
1135 AddOp = Instruction::Add; in execute()
1138 AddOp = InductionOpcode; in execute()
1177 auto *Add = Builder.CreateBinOp(AddOp, SplatIV, Mul); in execute()
1189 AddOp, StartIdx0, getSignedIntOrFpConstant(BaseIVTy, Lane)); in execute()
1196 auto *Add = Builder.CreateBinOp(AddOp, BaseIV, Mul); in execute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp38 struct AddOp : public SetTheory::Operator { struct
257 addOperator("add", std::make_unique<AddOp>()); in SetTheory()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1889 Instruction *AddOp = nullptr, *SubOp = nullptr; in foldAddSubSelect() local
1894 AddOp = FI; in foldAddSubSelect()
1900 AddOp = TI; in foldAddSubSelect()
1904 if (AddOp) { in foldAddSubSelect()
1906 if (SubOp->getOperand(0) == AddOp->getOperand(0)) { in foldAddSubSelect()
1907 OtherAddOp = AddOp->getOperand(1); in foldAddSubSelect()
1908 } else if (SubOp->getOperand(0) == AddOp->getOperand(1)) { in foldAddSubSelect()
1909 OtherAddOp = AddOp->getOperand(0); in foldAddSubSelect()
1919 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1929 if (AddOp != TI) in foldAddSubSelect()
[all …]
H A DInstCombineAddSub.cpp1009 constexpr unsigned AddOp = FP ? Instruction::FAdd : Instruction::Add; in matchesSquareSum() local
1014 AddOp, m_OneUse(m_BinOp(MulOp, m_Value(A), m_Deferred(A))), in matchesSquareSum()
1017 m_c_BinOp(AddOp, m_BinOp(Mul2Op, m_Deferred(A), M2Rhs), in matchesSquareSum()
1027 m_c_BinOp(AddOp, in matchesSquareSum()
1034 AddOp, m_BinOp(MulOp, m_Deferred(A), m_Deferred(A)), in matchesSquareSum()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1110 const BinaryOperator *AddOp = nullptr; member in DerefSimplePtrArithFixableGadget
1119 AddOp(Result.Nodes.getNodeAs<BinaryOperator>(AddOpTag)), in DerefSimplePtrArithFixableGadget()
1715 const Expr *LHS = AddOp->getLHS(), *RHS = AddOp->getRHS(); in getFixits()
1730 getPastLoc(AddOp, SM, LangOpts); in getFixits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2796 for (unsigned AddOp = 0, e = Ops.size(); AddOp != e; ++AddOp) in getAddExpr() local
2797 if (MulOpSCEV == Ops[AddOp]) { in getAddExpr()
2813 if (AddOp < Idx) { in getAddExpr()
2814 Ops.erase(Ops.begin()+AddOp); in getAddExpr()
2818 Ops.erase(Ops.begin()+AddOp-1); in getAddExpr()
4657 for (const SCEV *&AddOp : Ops) { in removePointerBase() local
4658 if (AddOp->getType()->isPointerTy()) { in removePointerBase()
4660 PtrOp = &AddOp; in removePointerBase()
4850 for (const SCEV *AddOp : Add->operands()) { in getPointerBase() local
4851 if (AddOp->getType()->isPointerTy()) { in getPointerBase()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp1663 unsigned AddOp = AMDGPU::V_ADD_CO_U32_e32; in SelectFlatOffsetImpl() local
1665 AddOp = AMDGPU::V_ADD_U32_e64; in SelectFlatOffsetImpl()
1668 Addr = SDValue(CurDAG->getMachineNode(AddOp, DL, MVT::i32, Opnds), 0); in SelectFlatOffsetImpl()
H A DAMDGPUISelLowering.cpp4234 SDValue AddOp = getAddOneOp(V.getNode()); in performMulCombine() local
4235 if (!AddOp) in performMulCombine()
4241 return AddOp; in performMulCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp2055 const MachineOperand &AddOp = MI.getOperand(2); in getIncrementValue() local
2056 if (AddOp.isImm()) { in getIncrementValue()
2057 Value = AddOp.getImm(); in getIncrementValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp837 Register &MulOp2, Register &AddOp, in reassociateFMA()
842 GetOperandInfo(Instr.getOperand(AddOpIdx), AddOp, AddOpKillFlag); in reassociateFMA()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1012 unsigned AddOp = Opcode == ISD::SADDSAT ? ISD::ADD : ISD::SUB; in PromoteIntRes_ADDSUBSHLSAT() local
1018 DAG.getNode(AddOp, dl, PromotedType, Op1Promoted, Op2Promoted); in PromoteIntRes_ADDSUBSHLSAT()
H A DDAGCombiner.cpp6317 SDValue AddOp = DAG.getNode(ISD::ADD, DL, OpVT, LHS0, in foldAndOrOfSETCC() local
6319 SDValue AndOp = DAG.getNode(ISD::AND, DL, OpVT, AddOp, in foldAndOrOfSETCC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp39082 auto AddOp = [&Ops](SDValue Input, int InsertionPoint) -> int { in combineX86ShufflesRecursively() local
39101 AddOp(OpInput, OpInputIdx.empty() ? SrcOpIndex : -1)); in combineX86ShufflesRecursively()