llvm-project/polly/include/polly
Michael Kruse cc345e6e94 [ScopBuilder] Introduce -polly-stmt-granularity=scalar-indep option.
The option splits BasicBlocks into minimal statements such that no
additional scalar dependencies are introduced.

The algorithm is based on a union-find structure, and unites sets if
putting them into separate statements would introduce a scalar
dependencies. As a consequence, instructions may be split into separate
statements such their relative order is different than the statements
they are in. This is accounted for instructions whose relative order
matters (e.g. memory accesses).

The algorithm is generic in that heuristic changes can be made
relatively easily. We might relax the order requirement for read-reads
or accesses to different base pointers. Forwardable instructions can be
made to not cause a join.

This implementation gives us a speed-up of 82% in SPEC 2006 456.hmmer
benchmark by allowing loop-distribution in a hot loop such that one of
the loops can be vectorized.

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

llvm-svn: 314983
2017-10-05 13:43:00 +00:00
..
CodeGen [IslExprBuilder] Do not generate RTC with more than 64 bit 2017-09-23 15:32:07 +00:00
Config [CMake] Retire Polly's FindCUDA.cmake in favour of CMake's default FindCUDA.cmake script. 2017-06-06 19:20:48 +00:00
Support [Polly] Add dumpPw() and dumpExpanded() functions. NFC. 2017-09-29 15:45:40 +00:00
Canonicalization.h Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00
CodePreparation.h Add missing license text to two headers. NFC. 2017-08-10 15:40:36 +00:00
DeLICM.h [DeLICM] Export Known and Written to DeLICMTests. NFC. 2017-04-13 16:32:39 +00:00
DependenceInfo.h Check whether IslAstInfo and DependenceInfo were computed for the same Scop. 2017-09-21 00:01:13 +00:00
FlattenAlgo.h Introduce isl C++ bindings, Part 1: value_ptr style interface 2017-03-10 11:41:03 +00:00
FlattenSchedule.h Fix namespaces after clang-format update 2017-03-01 15:54:27 +00:00
ForwardOpTree.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-24 21:22:41 +00:00
JSONExporter.h Add missing license text to two headers. NFC. 2017-08-10 15:40:36 +00:00
LinkAllPasses.h [ScopInliner] Add a simple Scop-based inliner to polly. 2017-08-17 21:57:23 +00:00
Options.h
PolyhedralInfo.h [NFC] [PolyhedralInfo] fix typo 2017-05-23 11:41:52 +00:00
PruneUnprofitable.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-25 21:35:27 +00:00
RegisterPasses.h clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00
ScheduleOptimizer.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-24 21:22:41 +00:00
ScopBuilder.h [ScopBuilder] Introduce -polly-stmt-granularity=scalar-indep option. 2017-10-05 13:43:00 +00:00
ScopDetection.h [PM] Properly require and preserve OptimizationRemarkEmitter. NFCI. 2017-08-28 14:07:33 +00:00
ScopDetectionDiagnostic.h [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-25 21:35:27 +00:00
ScopInfo.h [ScopDetect/Info] Look through PHIs that follow an error block 2017-09-24 09:25:30 +00:00
ScopPass.h Fix the build after r314375 2017-09-28 12:20:24 +00:00
Simplify.h Add more statistics. 2017-08-23 13:50:30 +00:00
ZoneAlgo.h [ZoneAlgo] Handle non-StoreInst/LoadInst MemoryAccesses including memset. 2017-09-06 12:40:55 +00:00