Lines Matching refs:Add
258 if (I->getOpcode() == Instruction::Add ||
264 if (I->getOpcode() == Instruction::Add)
278 Instruction *Add = dyn_cast<Instruction>(Inst);
279 if (Add == nullptr || Add->getOpcode() != Instruction::Add)
285 if ((Const = getIfConst(Add->getOperand(0))))
286 Summand = Add->getOperand(1);
287 else if ((Const = getIfConst(Add->getOperand(1))))
288 Summand = Add->getOperand(0);
642 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale);
643 if (Add.first == nullptr)
645 Value *OffsetsIncoming = Add.first;
646 int64_t Immediate = Add.second;
653 // Add the base to the offsets
655 Instruction::Add, ScaledOffsets,
693 std::pair<Value *, int64_t> Add = getVarAndConst(Offsets, TypeScale);
694 if (Add.first == nullptr)
696 Value *OffsetsIncoming = Add.first;
697 int64_t Immediate = Add.second;
712 // Add the base to the offsets
714 Instruction::Add, ScaledOffsets,
761 Instruction::Add, Phi->getIncomingValue(StartIndex), OffsSecondOperand,
795 Instruction::Add, Phi, Product, "IncrementPushedOutMul",
822 if ((OpCode == Instruction::Add || OpCode == Instruction::Mul) &&
840 if (Offs->getOpcode() != Instruction::Add &&
895 if (Op->getOpcode() == Instruction::Add &&
956 case Instruction::Add: