hanchenye-llvm-project/polly/lib/Analysis
Michael Kruse 0446d81e2d [Simplify] Add -polly-simplify pass.
This new pass removes unnecessary accesses and writes. It currently
supports 2 simplifications, but more are planned.

It removes write accesses that write a loaded value back to the location
it was loaded from. It is a typical artifact from DeLICM. Removing it
will get rid of bogus dependencies later in dependency analysis.

It also removes statements without side-effects. ScopInfo already
removes these, but the removal of unnecessary writes can result in
more side-effect free statements.

Differential Revision: https://reviews.llvm.org/D30820

llvm-svn: 297473
2017-03-10 16:05:24 +00:00
..
DependenceInfo.cpp [DependenceInfo] Remove unused variable. NFC. 2017-02-23 15:41:01 +00:00
PolyhedralInfo.cpp Perform copying to created arrays according to the packing transformation 2016-09-14 06:26:09 +00:00
ScopBuilder.cpp Tidy up getFirstNonBoxedLoopFor [NFC] 2017-01-16 22:54:29 +00:00
ScopDetection.cpp [ScopDetect/Info] Allow unconditional hoisting of loads from dereferenceable ptrs 2017-03-09 11:36:00 +00:00
ScopDetectionDiagnostic.cpp [ScopDetection] Do not detect scops that exit to an unreachable 2017-03-07 15:50:43 +00:00
ScopGraphPrinter.cpp Fix clang-format 2016-12-19 14:06:40 +00:00
ScopInfo.cpp [Simplify] Add -polly-simplify pass. 2017-03-10 16:05:24 +00:00
ScopPass.cpp Decouple SCoP building logic from pass 2016-05-31 09:41:04 +00:00