reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1227   if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) {
 1271     return BinaryOperator::CreateXor(LHS, RHS);
 1274   if (LHS == RHS) {
 1284     if (match(RHS, m_Neg(m_Value(B))))
 1288     return BinaryOperator::CreateSub(RHS, A);
 1298   if (match(RHS, m_Neg(m_Value(B))))
 1316   if (haveNoCommonBitsSet(LHS, RHS, DL, &AC, &I, &DT))
 1317     return BinaryOperator::CreateOr(LHS, RHS);
 1322   if (ConstantInt *CRHS = dyn_cast<ConstantInt>(RHS)) {
 1350     Value *A = RHS;
 1352       SI = dyn_cast<SelectInst>(RHS);
 1394   if (!I.hasNoSignedWrap() && willNotOverflowSignedAdd(LHS, RHS, I)) {
 1398   if (!I.hasNoUnsignedWrap() && willNotOverflowUnsignedAdd(LHS, RHS, I)) {