1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Analysis/LoopAccessAnalysis
Silviu Baranga 6e6031d4bf [SCEV][LAA] Re-commit r260085 and r260086, this time with a fix for the memory
sanitizer issue. The PredicatedScalarEvolution's copy constructor
wasn't copying the Generation value, and was leaving it un-initialized.

Original commit message:

[SCEV][LAA] Add no wrap SCEV predicates and use use them to improve strided pointer detection

Summary:
This change adds no wrap SCEV predicates with:
  - support for runtime checking
  - support for expression rewriting:
      (sext ({x,+,y}) -> {sext(x),+,sext(y)}
      (zext ({x,+,y}) -> {zext(x),+,sext(y)}

Note that we are sign extending the increment of the SCEV, even for
the zext case. This is needed to cover the fairly common case where y would
be a (small) negative integer. In order to do this, this change adds two new
flags: nusw and nssw that are applicable to AddRecExprs and permit the
transformations above.

We also change isStridedPtr in LAA to be able to make use of
these predicates. With this feature we should now always be able to
work around overflow issues in the dependence analysis.

Reviewers: mzolotukhin, sanjoy, anemet

Subscribers: mzolotukhin, sanjoy, llvm-commits, rengolin, jmolloy, hfinkel

Differential Revision: http://reviews.llvm.org/D15412

llvm-svn: 260112
2016-02-08 17:02:45 +00:00
..
backward-dep-different-types.ll [LoopAccesses] Remove unused global variables in tests 2015-04-02 04:42:51 +00:00
forward-loop-carried.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
forward-loop-independent.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
interleave-innermost.ll [Vectorization] Actually return from error case in isStridedPtr 2016-01-08 01:55:13 +00:00
non-wrapping-pointer.ll [LAA] Try to prove non-wrapping of pointers if SCEV cannot 2015-06-26 17:25:43 +00:00
nullptr.ll Fix LoopAccessAnalysis when potentially nullptr check are involved 2015-11-05 05:49:43 +00:00
number-of-memchecks.ll [LAA] Add clarifying comments for the checking pointer grouping algorithm. NFC 2015-07-28 13:44:08 +00:00
pointer-with-unknown-bounds.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
resort-to-memchecks-only.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
reverse-memcheck-bounds.ll Fix memcheck interval ends for pointers with negative strides 2015-07-16 14:02:58 +00:00
safe-no-checks.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
store-to-invariant-check1.ll [LoopAccesses] Allow analysis to complete in the presence of uniform stores 2015-04-08 17:48:40 +00:00
store-to-invariant-check2.ll [LoopAccesses] Allow analysis to complete in the presence of uniform stores 2015-04-08 17:48:40 +00:00
store-to-invariant-check3.ll [LoopAccesses] Allow analysis to complete in the presence of uniform stores 2015-04-08 17:48:40 +00:00
stride-access-dependence.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
underlying-objects-1.ll [getUnderlyingOjbects] Analyze loop PHIs further to remove false positives 2015-04-23 20:09:20 +00:00
underlying-objects-2.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
unsafe-and-rt-checks.ll [LAA] LLE 3/6: Rename InterestingDependence to Dependences, NFC 2015-11-03 21:39:52 +00:00
wrapping-pointer-versioning.ll [SCEV][LAA] Re-commit r260085 and r260086, this time with a fix for the memory 2016-02-08 17:02:45 +00:00