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

References

include/llvm/Analysis/ScalarEvolutionExpressions.h
  180       return getNoWrapFlags(FlagNUW) != FlagAnyWrap;
  339       if (Flags & (FlagNUW | FlagNSW))
  383       setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW));
lib/Analysis/ScalarEvolution.cpp
  275         !AR->getNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW)))
 1413   static const SCEV::NoWrapFlags WrapType = SCEV::FlagNUW;
 1467     ScalarEvolution::maskFlags(SA->getNoWrapFlags(), SCEV::FlagNUW);
 1745             const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNUW);
 1796             const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNUW);
 1835                             (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW),
 1841         const_cast<SCEVAddRecExpr *>(AR)->setNoWrapFlags(SCEV::FlagNUW);
 1870       return getAddExpr(Ops, SCEV::FlagNUW, Depth + 1);
 1889                           (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW),
 1903       return getMulExpr(Ops, SCEV::FlagNUW, Depth + 1);
 1929                 SCEV::FlagNUW, Depth + 1);
 2022                           (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW),
 2167                             (SCEV::NoWrapFlags)(SCEV::FlagNSW | SCEV::FlagNUW),
 2349   int SignOrUnsignMask = SCEV::FlagNUW | SCEV::FlagNSW;
 2390     if (!(SignOrUnsignWrap & SCEV::FlagNUW)) {
 2394         Flags = ScalarEvolution::setFlags(Flags, SCEV::FlagNUW);
 2409   assert(!(Flags & ~(SCEV::FlagNUW | SCEV::FlagNSW)) &&
 2910   assert(Flags == maskFlags(Flags, SCEV::FlagNUW | SCEV::FlagNSW) &&
 3181   const SCEV *Mult = getMulExpr(UDiv, RHS, SCEV::FlagNUW);
 3182   return getMinusSCEV(LHS, Mult, SCEV::FlagNUW);
 4459       Result = ScalarEvolution::setFlags(Result, SCEV::FlagNUW);
 4984     Flags = setFlags(Flags, SCEV::FlagNUW);
 5082               Flags = setFlags(Flags, SCEV::FlagNUW);
 5098               Flags = setFlags(Flags, SCEV::FlagNUW);
 5973     Flags = ScalarEvolution::setFlags(Flags, SCEV::FlagNUW);
 9056                        SCEV::FlagNUW);
 9072                        SCEV::FlagNUW);
 9494     auto NoWrapFlags = SCEV::NoWrapFlags(SCEV::FlagNUW | SCEV::FlagNW);
10168                          SCEV::FlagNSW : SCEV::FlagNUW;
10603                 IV->getNoWrapFlags(IsSigned ? SCEV::FlagNSW : SCEV::FlagNUW);
10743                 IV->getNoWrapFlags(IsSigned ? SCEV::FlagNSW : SCEV::FlagNUW);
12310   if (ScalarEvolution::setFlags(StaticFlags, SCEV::FlagNUW) == StaticFlags) {
lib/Analysis/ScalarEvolutionExpander.cpp
  195           if (I->hasNoUnsignedWrap() != (Flags & SCEV::FlagNUW))
  230   if (Flags & SCEV::FlagNUW)
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2148       SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW);
 2151                                SCEV::FlagNUW);
 2261       const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  891         if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) &&
  956         if (IndVarBase->getNoWrapFlags(SCEV::FlagNUW) &&
 1656       return SE.getMinusSCEV(X, SE.getSMinExpr(X, Y), SCEV::FlagNUW);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  899                            SCEV::FlagNUW);
  923         SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW),
  927                                SE->getOne(IntPtr), SCEV::FlagNUW);
  933                                SCEV::FlagNUW);
 2107       LoopExitCount, SE->getOne(LoopExitCount->getType()), SCEV::FlagNUW);
 2194       Iterations, SE->getConstant(CmpFuncSizeTy, BCmpTyBytes), SCEV::FlagNUW);
unittests/Analysis/ScalarEvolutionTest.cpp
  788                        LI->getLoopFor(L), SCEV::FlagNUW);