Lines Matching defs:AddSub
1130 BinaryOperator *AddSub;
1133 if (!match(MinMax2, m_SMax(m_BinOp(AddSub), m_APInt(MinValue))))
1137 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue))))
1154 if (!MinMax2->hasOneUse() || !AddSub->hasOneUse())
1161 if (AddSub->getOpcode() == Instruction::Add)
1163 else if (AddSub->getOpcode() == Instruction::Sub)
1170 if (ComputeMaxSignificantBits(AddSub->getOperand(0), 0, AddSub) >
1172 ComputeMaxSignificantBits(AddSub->getOperand(1), 0, AddSub) > NewBitWidth)
1177 Value *AT = Builder.CreateTrunc(AddSub->getOperand(0), NewTy);
1178 Value *BT = Builder.CreateTrunc(AddSub->getOperand(1), NewTy);