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

References

include/llvm/IR/Operator.h
   83       (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap);
   83       (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap);
   96     return (SubclassOptionalData & NoSignedWrap) != 0;
include/llvm/IR/PatternMatch.h
  925       if (WrapFlags & OverflowingBinaryOperator::NoSignedWrap &&
  936                                  OverflowingBinaryOperator::NoSignedWrap>
  939                                    OverflowingBinaryOperator::NoSignedWrap>(
  944                                  OverflowingBinaryOperator::NoSignedWrap>
  947                                    OverflowingBinaryOperator::NoSignedWrap>(
  952                                  OverflowingBinaryOperator::NoSignedWrap>
  955                                    OverflowingBinaryOperator::NoSignedWrap>(
  960                                  OverflowingBinaryOperator::NoSignedWrap>
  963                                    OverflowingBinaryOperator::NoSignedWrap>(
lib/Analysis/LazyValueInfo.cpp
 1100       NoWrapKind |= OverflowingBinaryOperator::NoSignedWrap;
lib/Analysis/ScalarEvolution.cpp
 2384           Opcode, C, OBO::NoSignedWrap);
 4447         Instruction::Add, IncRange, OBO::NoSignedWrap);
lib/AsmParser/LLParser.cpp
 3510     if (NSW)   Flags |= OverflowingBinaryOperator::NoSignedWrap;
lib/Bitcode/Reader/BitcodeReader.cpp
 2547               Flags |= OverflowingBinaryOperator::NoSignedWrap;
lib/IR/ConstantRange.cpp
  232   assert((NoWrapKind == OBO::NoSignedWrap ||
  898   if (NoWrapKind & OBO::NoSignedWrap)
lib/IR/Constants.cpp
 2253                    (HasNSW ? OverflowingBinaryOperator::NoSignedWrap   : 0);
 2264                    (HasNSW ? OverflowingBinaryOperator::NoSignedWrap   : 0);
 2275                    (HasNSW ? OverflowingBinaryOperator::NoSignedWrap   : 0);
 2324                    (HasNSW ? OverflowingBinaryOperator::NoSignedWrap   : 0);
 3041                              OverflowingBinaryOperator::NoSignedWrap);
lib/IR/IntrinsicInst.cpp
  261     return OverflowingBinaryOperator::NoSignedWrap;
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  773         Opcode, RRange, OBO::NoSignedWrap);
lib/Transforms/Scalar/IndVarSimplify.cpp
 1846         *NarrowDefRHS, OverflowingBinaryOperator::NoSignedWrap);
unittests/IR/ConstantRangeTest.cpp
  761   EXPECT_EQ(Empty.addWithNoWrap(Some, OBO::NoSignedWrap), Empty);
  762   EXPECT_EQ(Some.addWithNoWrap(Empty, OBO::NoSignedWrap), Empty);
  763   EXPECT_EQ(Full.addWithNoWrap(Full, OBO::NoSignedWrap), Full);
  764   EXPECT_NE(Full.addWithNoWrap(Some, OBO::NoSignedWrap), Full);
  765   EXPECT_NE(Some.addWithNoWrap(Full, OBO::NoSignedWrap), Full);
  767                                OBO::NoSignedWrap),
  770                 .addWithNoWrap(Full, OBO::NoSignedWrap),
  773                                OBO::NoSignedWrap),
  777                                OBO::NoSignedWrap),
  781                                OBO::NoSignedWrap),
  785                                OBO::NoSignedWrap),
  789                                OBO::NoSignedWrap),
  793                                OBO::NoSignedWrap),
  797                                OBO::NoSignedWrap),
  801                                OBO::NoSignedWrap),
  805                                OBO::NoSignedWrap),
  810         return CR1.addWithNoWrap(CR2, OBO::NoSignedWrap);
  866                                OBO::NoSignedWrap),
  874                                OBO::NoUnsignedWrap | OBO::NoSignedWrap),
  879                                OBO::NoSignedWrap),
  887                                OBO::NoUnsignedWrap | OBO::NoSignedWrap),
  892         return CR1.addWithNoWrap(CR2, OBO::NoUnsignedWrap | OBO::NoSignedWrap);
 1390         Instruction::Add, C, OBO::NoSignedWrap);
 1418         Instruction::Sub, C, OBO::NoSignedWrap);
 1439       OBO::NoSignedWrap);
 1445       OBO::NoSignedWrap);
 1464       Instruction::Add, APInt(32, 0), OBO::NoSignedWrap).isFullSet());
 1468       Instruction::Sub, APInt(32, 0), OBO::NoSignedWrap).isFullSet());
 1472                 Instruction::Add, OneToFive, OBO::NoSignedWrap),
 1479                 Instruction::Sub, OneToFive, OBO::NoSignedWrap),
 1488                 Instruction::Add, MinusFiveToMinusTwo, OBO::NoSignedWrap),
 1495                 Instruction::Sub, MinusFiveToMinusTwo, OBO::NoSignedWrap),
 1505                 Instruction::Add, MinusOneToOne, OBO::NoSignedWrap),
 1512                 Instruction::Sub, MinusOneToOne, OBO::NoSignedWrap),
 1522                 Instruction::Add, One, OBO::NoSignedWrap),
 1529                 Instruction::Sub, One, OBO::NoSignedWrap),
 1543                 Instruction::Shl, UpToBitWidth, OBO::NoSignedWrap),
 1545                 Instruction::Shl, OneLessThanBitWidth, OBO::NoSignedWrap));
 1550                 Instruction::Shl, UpToBitWidth, OBO::NoSignedWrap),
 1560           Instruction::Shl, ConstantRange::getFull(32), OBO::NoSignedWrap),
 1562           Instruction::Shl, OneLessThanBitWidth, OBO::NoSignedWrap));
 1569                 Instruction::Shl, IllegalShAmt, OBO::NoSignedWrap),
 1582           OBO::NoSignedWrap),
 1585           OBO::NoSignedWrap));
 1595                 OBO::NoSignedWrap),
 1642       Instruction::Add, OverflowingBinaryOperator::NoSignedWrap,
 1656       Instruction::Sub, OverflowingBinaryOperator::NoSignedWrap,
 1670       Instruction::Mul, OverflowingBinaryOperator::NoSignedWrap,
 1684                              OverflowingBinaryOperator::NoSignedWrap,