Lines Matching refs:Add
54 // FAddCombine::Add[0-5] embodies this idea.
823 static Instruction *foldNoWrapAdd(BinaryOperator &Add,
825 Value *Op0 = Add.getOperand(0), *Op1 = Add.getOperand(1);
826 Type *Ty = Add.getType();
863 Instruction *InstCombiner::foldAddWithConstant(BinaryOperator &Add) {
864 Value *Op0 = Add.getOperand(0), *Op1 = Add.getOperand(1);
869 if (Instruction *NV = foldBinOpIntoSelectOrPhi(Add))
906 return BinaryOperator::CreateXor(Op0, ConstantInt::get(Add.getType(), *C2));
911 if (Add.hasNoSignedWrap() || Add.hasNoUnsignedWrap())
921 Type *Ty = Add.getType();
1079 assert(I.getOpcode() == Instruction::Add && "Expecting add instruction");
1103 assert((I.getOpcode() == Instruction::Add ||
1342 // See if all bits from the first bit set in the Add RHS up are included