Lines Matching defs:Add
346 if (I->getOpcode() == Instruction::Add || I->getOpcode() == Instruction::Or ||
353 if (I->getOpcode() == Instruction::Add)
378 Instruction *Add = dyn_cast<Instruction>(Inst);
379 if (Add == nullptr ||
380 (Add->getOpcode() != Instruction::Add && !isAddLikeOr(Add, *DL)))
386 if ((Const = getIfConst(Add->getOperand(0))))
387 Summand = Add->getOperand(1);
388 else if ((Const = getIfConst(Add->getOperand(1))))
389 Summand = Add->getOperand(0);
774 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale);
775 if (Add.first == nullptr)
777 Value *OffsetsIncoming = Add.first;
778 int64_t Immediate = Add.second;
786 // Add the base to the offsets
788 Instruction::Add, ScaledOffsets,
824 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale);
825 if (Add.first == nullptr)
827 Value *OffsetsIncoming = Add.first;
828 int64_t Immediate = Add.second;
844 // Add the base to the offsets
846 Instruction::Add, ScaledOffsets,
896 Instruction::Add, Phi->getIncomingValue(StartIndex), OffsSecondOperand,
936 Instruction::Add, Phi, Product, "IncrementPushedOutMul", NewIncrInsertPt);
960 if ((OpCode == Instruction::Add || OpCode == Instruction::Mul ||
981 if (Offs->getOpcode() != Instruction::Add && !isAddLikeOr(Offs, *DL) &&
1032 IncInstruction->getOpcode() != Instruction::Add)
1086 case Instruction::Add:
1179 Value *Add = Builder.CreateAdd(Builder.CreateMul(X, XScale),
1182 if (checkOffsetSize(Add, XElType->getNumElements()))
1183 return Add;