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

References

include/llvm/IR/Operator.h
   79       (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap);
   79       (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap);
   90     return SubclassOptionalData & NoUnsignedWrap;
include/llvm/IR/PatternMatch.h
  922       if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap &&
  969                                  OverflowingBinaryOperator::NoUnsignedWrap>
  972                                    OverflowingBinaryOperator::NoUnsignedWrap>(
  977                                  OverflowingBinaryOperator::NoUnsignedWrap>
  980                                    OverflowingBinaryOperator::NoUnsignedWrap>(
  985                                  OverflowingBinaryOperator::NoUnsignedWrap>
  988                                    OverflowingBinaryOperator::NoUnsignedWrap>(
  993                                  OverflowingBinaryOperator::NoUnsignedWrap>
  996                                    OverflowingBinaryOperator::NoUnsignedWrap>(
lib/Analysis/LazyValueInfo.cpp
 1098       NoWrapKind |= OverflowingBinaryOperator::NoUnsignedWrap;
lib/Analysis/ScalarEvolution.cpp
 2392           Opcode, C, OBO::NoUnsignedWrap);
 4457         Instruction::Add, IncRange, OBO::NoUnsignedWrap);
lib/AsmParser/LLParser.cpp
 3509     if (NUW)   Flags |= OverflowingBinaryOperator::NoUnsignedWrap;
lib/Bitcode/Reader/BitcodeReader.cpp
 2549               Flags |= OverflowingBinaryOperator::NoUnsignedWrap;
lib/IR/ConstantRange.cpp
  233           NoWrapKind == OBO::NoUnsignedWrap) &&
  236   bool Unsigned = NoWrapKind == OBO::NoUnsignedWrap;
  900   if (NoWrapKind & OBO::NoUnsignedWrap)
lib/IR/Constants.cpp
 2252   unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
 2263   unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
 2274   unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
 2323   unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
 3039                                OverflowingBinaryOperator::NoUnsignedWrap);
lib/IR/IntrinsicInst.cpp
  263     return OverflowingBinaryOperator::NoUnsignedWrap;
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  767         Opcode, RRange, OBO::NoUnsignedWrap);
unittests/IR/ConstantRangeTest.cpp
  816   EXPECT_EQ(Empty.addWithNoWrap(Some, OBO::NoUnsignedWrap), Empty);
  817   EXPECT_EQ(Some.addWithNoWrap(Empty, OBO::NoUnsignedWrap), Empty);
  818   EXPECT_EQ(Full.addWithNoWrap(Full, OBO::NoUnsignedWrap), Full);
  819   EXPECT_NE(Full.addWithNoWrap(Some, OBO::NoUnsignedWrap), Full);
  820   EXPECT_NE(Some.addWithNoWrap(Full, OBO::NoUnsignedWrap), Full);
  822                                OBO::NoUnsignedWrap),
  825                 .addWithNoWrap(Full, OBO::NoUnsignedWrap),
  829                                OBO::NoUnsignedWrap),
  833                                OBO::NoUnsignedWrap),
  837                                OBO::NoUnsignedWrap),
  841                                OBO::NoUnsignedWrap),
  845                                OBO::NoUnsignedWrap),
  849                                OBO::NoUnsignedWrap),
  853                                OBO::NoUnsignedWrap),
  858         return CR1.addWithNoWrap(CR2, OBO::NoUnsignedWrap);
  870                                OBO::NoUnsignedWrap),
  874                                OBO::NoUnsignedWrap | OBO::NoSignedWrap),
  883                                OBO::NoUnsignedWrap),
  887                                OBO::NoUnsignedWrap | OBO::NoSignedWrap),
  892         return CR1.addWithNoWrap(CR2, OBO::NoUnsignedWrap | OBO::NoSignedWrap);
 1385         Instruction::Add, C, OBO::NoUnsignedWrap);
 1413         Instruction::Sub, C, OBO::NoUnsignedWrap);
 1451       OBO::NoUnsignedWrap);
 1457       OBO::NoUnsignedWrap);
 1462       Instruction::Add, APInt(32, 0), OBO::NoUnsignedWrap).isFullSet());
 1466       Instruction::Sub, APInt(32, 0), OBO::NoUnsignedWrap).isFullSet());
 1476                 Instruction::Add, OneToFive, OBO::NoUnsignedWrap),
 1483                 Instruction::Sub, OneToFive, OBO::NoUnsignedWrap),
 1492                 Instruction::Add, MinusFiveToMinusTwo, OBO::NoUnsignedWrap),
 1499                 Instruction::Sub, MinusFiveToMinusTwo, OBO::NoUnsignedWrap),
 1509                 Instruction::Add, MinusOneToOne, OBO::NoUnsignedWrap),
 1516                 Instruction::Sub, MinusOneToOne, OBO::NoUnsignedWrap),
 1526                 Instruction::Add, One, OBO::NoUnsignedWrap),
 1533                 Instruction::Sub, One, OBO::NoUnsignedWrap),
 1539                 Instruction::Shl, UpToBitWidth, OBO::NoUnsignedWrap),
 1541                 Instruction::Shl, OneLessThanBitWidth, OBO::NoUnsignedWrap));
 1547                 Instruction::Shl, UpToBitWidth, OBO::NoUnsignedWrap),
 1555           Instruction::Shl, ConstantRange::getFull(32), OBO::NoUnsignedWrap),
 1557           Instruction::Shl, OneLessThanBitWidth, OBO::NoUnsignedWrap));
 1566                 Instruction::Shl, IllegalShAmt, OBO::NoUnsignedWrap),
 1575           OBO::NoUnsignedWrap),
 1578           OBO::NoUnsignedWrap));
 1590                 OBO::NoUnsignedWrap),
 1635       Instruction::Add, OverflowingBinaryOperator::NoUnsignedWrap,
 1649       Instruction::Sub, OverflowingBinaryOperator::NoUnsignedWrap,
 1663       Instruction::Mul, OverflowingBinaryOperator::NoUnsignedWrap,
 1677                              OverflowingBinaryOperator::NoUnsignedWrap,