summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/IndependentBlocks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove independent blocks passJohannes Doerfert2015-10-181-373/+0
| | | | | | | | | | | Polly can now be used as a analysis only tool as long as the code generation is disabled. However, we do not have an alternative to the independent blocks pass in place yet, though in the relevant cases this does not seem to impact the performance much. Nevertheless, a virtual alternative that allows the same transformations without changing the input region will follow shortly. llvm-svn: 250652
* [NFC] Move helper functions to ScopHelperJohannes Doerfert2015-10-091-1/+0
| | | | | | | | Helper functions in the BlockGenerators.h/cpp introduce dependences from the frontend to the backend of Polly. As they are used in ScopDetection, ScopInfo, etc. we move them to the ScopHelper file. llvm-svn: 249919
* [PM] Update Polly for the new AA infrastructure landed in r247167.Chandler Carruth2015-09-091-0/+8
| | | | llvm-svn: 247198
* Drop dead and disable code from IndependentBlocksTobias Grosser2015-08-181-161/+0
| | | | | | | Since Polly has now support for the code generation of scalar and PHI dependences this code was unused and is now dropped. llvm-svn: 245284
* Fix Polly after SCEV port to new pass managerTobias Grosser2015-08-171-4/+4
| | | | | | This fixes compilation after LLVM commit r245193. llvm-svn: 245211
* Remove leftover commentMichael Kruse2015-08-101-1/+0
| | | | | | | The function to which this commit applies has been removed in a previous commit. llvm-svn: 244450
* [Polly] Remove dead code in IndependentBlocksMichael Kruse2015-08-081-29/+0
| | | | | | | | | | | | | | Summary: The splitExitBlock function is never called. Going to replace its functionality in successive patches that do not modify the IR. Reviewers: grosser Subscribers: pollydev Projects: #polly Differential Revision: http://reviews.llvm.org/D11865 llvm-svn: 244404
* Remove code for scalar and PHI to array translationTobias Grosser2015-06-261-20/+1
| | | | | | | | | | | | | | | | This removes old code that has been disabled since several weeks and was hidden behind the flags -disable-polly-intra-scop-scalar-to-array=false and -polly-model-phi-nodes=false. Earlier, Polly used to translate scalars and PHI nodes to single element arrays, as this avoided the need for their special handling in Polly. With Johannes' patches adding native support for such scalar references to Polly, this code is not needed any more. After this commit both -polly-prepare and -polly-independent are now mostly no-ops. Only a couple of simple transformations still remain, but they are scheduled for removal too. Thanks again to Johannes Doerfert for his nice work in making all this code obsolete. llvm-svn: 240766
* Enable scalar and PHI code generation for PollyTobias Grosser2015-05-231-1/+1
| | | | | | | | | The feature itself has been committed by Johannes in r238070. As this is the way forward, we now enable it to ensure we get test coverage. Thank you Johannes for this nice work! llvm-svn: 238088
* Sort include directivesTobias Grosser2015-05-091-3/+2
| | | | | | | | | | Upcoming revisions of isl require us to include header files explicitly, which have previously been already transitively included. Before we add them, we sort the existing includes. Thanks to Chandler for sort_includes.py. A simple, but very convenient script. llvm-svn: 236930
* Do some preparation even with scalar and phi modeling enabledJohannes Doerfert2015-02-271-5/+5
| | | | llvm-svn: 230790
* Do not run independent blocks when we model all scalar dependencesJohannes Doerfert2015-02-061-0/+6
| | | | llvm-svn: 228441
* Model PHI nodes without demoting themJohannes Doerfert2015-02-061-1/+2
| | | | | | | | | | This allows us to model PHI nodes in the polyhedral description without demoting them. The modeling however will result in the same accesses as the demotion would have introduced. Differential Revision: http://reviews.llvm.org/D7415 llvm-svn: 228433
* [FIX] Debug build + instrinsic handlingJohannes Doerfert2015-01-261-25/+4
| | | | | | | The ignored intrinsics needed to be ignored in three other places as well. Tests and lnt pass now. llvm-svn: 227092
* [FIX] Independent blocks with intrinsics handlingJohannes Doerfert2015-01-251-1/+29
| | | | | | Also an old option was removed from some new test cases llvm-svn: 227057
* [PM] Update Polly following LLVM r226373 which refactors LoopInfo inChandler Carruth2015-01-171-4/+4
| | | | | | preparation for the new pass manager. llvm-svn: 226374
* Drop Cloog supportJohannes Doerfert2014-12-021-4/+0
| | | | | | | | | This commit drops the Cloog support for Polly. The scripts and documentation are changed to only use isl as prerequisity. In the code all Cloog specific parts have been removed and all relevant tests have been ported to the isl backend when it was created. llvm-svn: 223141
* Independent blocks: SE->forget() scalars translated to arraysTobias Grosser2014-11-161-0/+1
| | | | | | | | | | This prevents SCEVs to reference values not valid any more and as a consequence solves a bug where such values reintroduced during ast generation caused the independent blocks pass to fail validation. http://llvm.org/PR21204 llvm-svn: 222103
* Update for RegionInfo changes.Matt Arsenault2014-07-191-4/+6
| | | | | | | Mostly related to missing includes and renaming of the pass to RegionInfoPass. llvm-svn: 213457
* [C++11] Use more range based forsTobias Grosser2014-06-281-38/+30
| | | | llvm-svn: 211981
* [Modules] Fix potential ODR violations by sinking the DEBUG_TYPEChandler Carruth2014-04-221-1/+2
| | | | | | | | | | definition below all of the header #include lines, Polly edition. If you want to know more details about this, you can see the recent commits to Debug.h in LLVM. This is just the Polly segment of a cleanup I'm doing globally for this macro. llvm-svn: 206852
* Fix formattingTobias Grosser2014-04-151-1/+0
| | | | llvm-svn: 206333
* Fix more build errors in Polly after r206310. David caught one of theseChandler Carruth2014-04-151-5/+3
| | | | | | | in r206312, but others don't seem to show up on build bots? Unsure of why, they showed up for me. llvm-svn: 206326
* Move transformations into own directoryAndreas Simbuerger2014-03-111-0/+574
Move all transformations into their own directory. CMakeLists are adjusted accordingly. llvm-svn: 203607
OpenPOWER on IntegriCloud