Lines Matching defs:AddSub
1182 BinaryOperator *AddSub;
1185 if (!match(MinMax2, m_SMax(m_BinOp(AddSub), m_APInt(MinValue))))
1189 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue))))
1206 if (!MinMax2->hasOneUse() || !AddSub->hasOneUse())
1213 if (AddSub->getOpcode() == Instruction::Add)
1215 else if (AddSub->getOpcode() == Instruction::Sub)
1222 if (ComputeMaxSignificantBits(AddSub->getOperand(0), 0, AddSub) >
1224 ComputeMaxSignificantBits(AddSub->getOperand(1), 0, AddSub) > NewBitWidth)
1228 Value *AT = Builder.CreateTrunc(AddSub->getOperand(0), NewTy);
1229 Value *BT = Builder.CreateTrunc(AddSub->getOperand(1), NewTy);