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

References

include/llvm/Analysis/ScalarEvolution.h
  518                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  521                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  527                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  533                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  536                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  542                          SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
  601                               SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap);
  608                            SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap,
include/llvm/Analysis/ScalarEvolutionExpressions.h
  180       return getNoWrapFlags(FlagNUW) != FlagAnyWrap;
  184       return getNoWrapFlags(FlagNSW) != FlagAnyWrap;
  188       return getNoWrapFlags(FlagNW) != FlagAnyWrap;
  317                               getLoop(), FlagAnyWrap);
lib/Analysis/DependenceAnalysis.cpp
 3038                              SCEV::FlagAnyWrap); // Worst case, with no info.
 3049     return SE->getAddRecExpr(AddRec, Value, TargetLoop, SCEV::FlagAnyWrap);
lib/Analysis/ScalarEvolution.cpp
 1329     return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap);
 1470       SE->getAddRecExpr(PreStart, Step, L, SCEV::FlagAnyWrap));
 1729                                         SCEV::FlagAnyWrap, Depth + 1);
 1731                                                           SCEV::FlagAnyWrap,
 1741                                   SCEV::FlagAnyWrap, Depth + 1),
 1742                        SCEV::FlagAnyWrap, Depth + 1);
 1759                                   SCEV::FlagAnyWrap, Depth + 1),
 1760                        SCEV::FlagAnyWrap, Depth + 1);
 1886             getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth);
 2019             getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth);
 2073                                         SCEV::FlagAnyWrap, Depth + 1);
 2075                                                           SCEV::FlagAnyWrap,
 2085                                   SCEV::FlagAnyWrap, Depth + 1),
 2086                        SCEV::FlagAnyWrap, Depth + 1);
 2103                                   SCEV::FlagAnyWrap, Depth + 1),
 2104                        SCEV::FlagAnyWrap, Depth + 1);
 2464       const SCEV *Mul = getMulExpr(Scale, Ops[i], SCEV::FlagAnyWrap, Depth + 1);
 2525           LargeOps.push_back(getMulExpr(LargeMulOps, SCEV::FlagAnyWrap, Depth + 1));
 2533       const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1);
 2562       return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2599               getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1),
 2600               SCEV::FlagAnyWrap, Depth + 1));
 2605       return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2628             InnerMul = getMulExpr(MulOps, SCEV::FlagAnyWrap, Depth + 1);
 2631           const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1);
 2633                                             SCEV::FlagAnyWrap, Depth + 1);
 2643           return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2662               InnerMul1 = getMulExpr(MulOps, SCEV::FlagAnyWrap, Depth + 1);
 2669               InnerMul2 = getMulExpr(MulOps, SCEV::FlagAnyWrap, Depth + 1);
 2673                 getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1);
 2675                                               SCEV::FlagAnyWrap, Depth + 1);
 2680             return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2733       return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2765               AddRecOps[i] = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1);
 2771         Ops[Idx] = getAddRecExpr(AddRecOps, AddRecLoop, SCEV::FlagAnyWrap);
 2772         return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 2945                                        SCEV::FlagAnyWrap, Depth + 1),
 2947                                        SCEV::FlagAnyWrap, Depth + 1),
 2948                             SCEV::FlagAnyWrap, Depth + 1);
 2976             const SCEV *Mul = getMulExpr(Ops[0], AddOp, SCEV::FlagAnyWrap,
 2982             return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1);
 2987             Operands.push_back(getMulExpr(Ops[0], AddRecOp, SCEV::FlagAnyWrap,
 3021       return getMulExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 3049       const SCEV *Scale = getMulExpr(LIOps, SCEV::FlagAnyWrap, Depth + 1);
 3052                                     SCEV::FlagAnyWrap, Depth + 1));
 3071       return getMulExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 3126                                         SCEV::FlagAnyWrap, Depth + 1));
 3131         AddRecOps.push_back(getAddExpr(SumOps, SCEV::FlagAnyWrap, Depth + 1));
 3135                                               SCEV::FlagAnyWrap);
 3146       return getMulExpr(Ops, SCEV::FlagAnyWrap, Depth + 1);
 3222                             AR->getLoop(), SCEV::FlagAnyWrap)) {
 3236                             AR->getLoop(), SCEV::FlagAnyWrap)) {
 3425     return getAddRecExpr(Operands, L, SCEV::FlagAnyWrap); // {X,+,0}  -->  X
 3498                                              : SCEV::FlagAnyWrap;
 4013   auto AddFlags = SCEV::FlagAnyWrap;
 4038   auto NegFlags = RHSIsNotMinSigned ? SCEV::FlagNSW : SCEV::FlagAnyWrap;
 4436     return SCEV::FlagAnyWrap;
 4440   SCEV::NoWrapFlags Result = SCEV::FlagAnyWrap;
 4808                     getTruncateExpr(Accum, TruncTy), L, SCEV::FlagAnyWrap);
 4885   auto *NewAR = getAddRecExpr(StartVal, Accum, L, SCEV::FlagAnyWrap);
 4982   SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap;
 5077         SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap;
 5967   if (isa<ConstantExpr>(V)) return SCEV::FlagAnyWrap;
 5971   SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap;
 5976   if (Flags == SCEV::FlagAnyWrap)
 5977     return SCEV::FlagAnyWrap;
 5979   return isSCEVExprNeverPoison(BinOp) ? Flags : SCEV::FlagAnyWrap;
 6181           if (Flags != SCEV::FlagAnyWrap) {
 6218           if (Flags != SCEV::FlagAnyWrap) {
 6241       SCEV::NoWrapFlags Flags = SCEV::FlagAnyWrap;
 6381         auto Flags = SCEV::FlagAnyWrap;
10889                                                SCEV::FlagAnyWrap));
lib/Analysis/ScalarEvolutionExpander.cpp
  742       Sum = InsertBinop(Instruction::Sub, Sum, W, SCEV::FlagAnyWrap,
  804       P = InsertBinop(Instruction::Mul, P, P, SCEV::FlagAnyWrap,
  808                                       SCEV::FlagAnyWrap,
  826                          SCEV::FlagAnyWrap, /*IsSafeToHoist*/ true);
  864                          SCEV::FlagAnyWrap, /*IsSafeToHoist*/ true);
  868   return InsertBinop(Instruction::UDiv, LHS, RHS, SCEV::FlagAnyWrap,
 1932                                    SE.getConstant(Ty, 1), L, SCEV::FlagAnyWrap);
lib/Analysis/ScalarEvolutionNormalization.cpp
   54     return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap);
   93   return SE.getAddRecExpr(Operands, AR->getLoop(), SCEV::FlagAnyWrap);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  837     return AR->getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap;
lib/Transforms/Scalar/LoopRerollPass.cpp
 1458     auto NewIVSCEV = SE->getAddRecExpr(Zero, One, L, SCEV::FlagAnyWrap);
 1489       SE->getAddRecExpr(Start, IncrExpr, L, SCEV::FlagAnyWrap);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  413                                       AR->getLoop(), SCEV::FlagAnyWrap),
  701       return SE.getAddRecExpr(Start, Step, AR->getLoop(), SCEV::FlagAnyWrap);
  763                            SCEV::FlagAnyWrap);
  789                            SCEV::FlagAnyWrap);
 3522                               SCEV::FlagAnyWrap);
lib/Transforms/Utils/SimplifyIndVar.cpp
  433       (SE->*Extension)((SE->*Operation)(LHS, RHS, SCEV::FlagAnyWrap, 0),
  437                        (SE->*Extension)(RHS, WideTy, 0), SCEV::FlagAnyWrap, 0);
tools/polly/lib/Analysis/ScopInfo.cpp
 1406                                     E->getLoop(), SCEV::FlagAnyWrap);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  964                                           SCEV::FlagAnyWrap);
unittests/Analysis/ScalarEvolutionTest.cpp
  559       return SE.getAddRecExpr(OpsCopy, L, SCEV::FlagAnyWrap);
  564       return SE.getAddExpr(OpsCopy, SCEV::FlagAnyWrap);
  870       SE.getAddRecExpr(Five, SE.getOne(T_int64), Loop, SCEV::FlagAnyWrap);
 1638                             SE.getOne(ARType), L, SCEV::FlagAnyWrap);
 1901     return cast<SCEVAddRecExpr>(SE.getAddRecExpr(Ops, L, SCEV::FlagAnyWrap));
 1912     return cast<SCEVAddRecExpr>(SE.getAddRecExpr(Ops, L, SCEV::FlagAnyWrap));
 1923     return cast<SCEVAddRecExpr>(SE.getAddRecExpr(Ops, L, SCEV::FlagAnyWrap));