summaryrefslogtreecommitdiffstats
path: root/polly/lib/Exchange
Commit message (Collapse)AuthorAgeFilesLines
...
* ScopInfo: Store ScopStmt pointer in the domainTobias Grosser2012-05-291-0/+12
| | | | | | | | Store a pointer to each ScopStmt in the isl_id associated with the space of its domain. This will later allow us to recover the statement during code generation with isl. llvm-svn: 157607
* Remove FinalReadTobias Grosser2012-03-084-25/+0
| | | | | | | | | | | | | The FinalRead statement represented a virtual read that is executed after the SCoP. It was used when we verified the correctness of a schedule by checking if it yields the same FLOW dependences as the original code. This is only works, if we have a final read that reads all memory at the end of the SCoP. We now switched to just checking if a schedule does not introduce negative dependences and also consider WAW WAR dependences. This restricts the schedules a little bit more, but we do not have any optimizer that would calculate a more complex schedule. Hence, for now final reads are obsolete. llvm-svn: 152319
* OpenScop: Remove use of getNameStr()Tobias Grosser2011-11-222-5/+5
| | | | llvm-svn: 145073
* cmake: Create libPollyExchange as in the autoconf buildTobias Grosser2011-11-221-0/+18
| | | | llvm-svn: 145072
* Do not use getNameStr() anymore.Tobias Grosser2011-11-174-9/+9
| | | | | | | Instead we switch to the recommended getName(). This fixes compilation with recent versions of LLVM. llvm-svn: 144909
* Fix placement of the '*' that marks a pointerTobias Grosser2011-11-171-1/+1
| | | | | | Suggested by Sebastian Pop. llvm-svn: 144902
* ScopLib: Fix export/import after parameters are now tagged with isl_ids.Tobias Grosser2011-11-151-3/+27
| | | | llvm-svn: 144643
* JSONImporter: Fix parameter ids when importing new access functionsTobias Grosser2011-11-151-0/+19
| | | | | | | | | | The new isl_id support for parmeters created problems when importing new access functions. Even though the parameters had the same names, they were mapped to different ids and where therefore incompatible. We copy the ids now from the old parameter dimensions. This fixes the problem. llvm-svn: 144642
* JScop: Allow to update the contextTobias Grosser2011-11-151-0/+13
| | | | llvm-svn: 144639
* Make JScop export/reimport accessible from clangTobias Grosser2011-11-151-8/+14
| | | | llvm-svn: 144638
* PoCC: Fix bugs when executing PoCCTobias Grosser2011-10-231-16/+16
| | | | | | | These are remainders of the switch to the newer isl version. At the point of switching I did not test with PoCC support. I should have done. ;-) llvm-svn: 142777
* ScopLib: Fix memory issuesTobias Grosser2011-10-231-23/+32
| | | | llvm-svn: 142769
* Fix compilation of Polly with scoplib supportTobias Grosser2011-10-231-36/+40
| | | | llvm-svn: 142767
* ScopInfo: Only give away a copy of the access relation.Tobias Grosser2011-10-061-7/+10
| | | | | | | | Also take the chance and rename access functions to access relations. This is because we do not only allow plain functions to describe an access, but we can have any access relation that can be described with linear constraints. llvm-svn: 141257
* ScopInfo: Only give away a copy of the schedule.Tobias Grosser2011-10-062-2/+7
| | | | llvm-svn: 141256
* ScopInfo: Get the isl_ctx always with getIslCtx()Tobias Grosser2011-10-061-2/+2
| | | | llvm-svn: 141254
* Adapt to introduction of isl_spaceTobias Grosser2011-10-064-91/+91
| | | | | | | | Polly should now be compiled with CLooG 0c252c88946b27b7b61a1a8d8fd7f94d2461dbfd and isl 56b7d238929980e62218525b4b3be121af386edf. The most convenient way to update is utils/checkout_cloog.sh. llvm-svn: 141251
* Free isl_ctx and fix several memory leaksTobias Grosser2011-08-201-1/+5
| | | | | | | | | Because of me not understanding the LLVM pass structure well, I did not find a good way to allocate isl_ctx and to free it later without getting issues with reference counting. I now found this place, such that we can free isl_ctx. This patch also fixes the memory leaks that were ignored beforehand. llvm-svn: 138204
* Memaccess: Code generation for constant access function changeRaghesh Aloor2011-08-151-0/+9
| | | | | | | Support for generating code for an access function change which is a constant is added. llvm-svn: 137603
* Memaccess: Display Changed Access RelationRaghesh Aloor2011-08-031-0/+5
| | | | | | | The changed access relations imported from JSCOP file is shown as output of -analyze pass. llvm-svn: 136774
* Memaccess: Bugfix-Reading of JSCoP file failsRaghesh Aloor2011-07-161-1/+1
| | | | | | | While iterating through the memory accesses in JSCOP file the inner loop index was not initialized to zero. llvm-svn: 135340
* MemAccess: Reading Change in Access FunctionRaghesh Aloor2011-07-121-0/+30
| | | | | | | This patch reads the change in access functions from imported JSCOP file. A test case is also added. llvm-svn: 134991
* Fix for broken buildRaghesh Aloor2011-07-092-0/+2
| | | | | | | isl/map.h is included in OpenScopExporter.cpp and OpenScopImporter.cpp llvm-svn: 134786
* ScopLib: Add missing includeTobias Grosser2011-07-061-0/+1
| | | | llvm-svn: 134513
* ScopInfo: Do not return reference to member variable 'domain'.Tobias Grosser2011-05-062-2/+6
| | | | | | | | Instead of returning a pointer to the domain, we return a new copy of it. This is safer, as we do not give access to internal objects. It is also not expensive, as isl will just increment a reference counter. llvm-svn: 131010
* JSONExport: Some cleanupsTobias Grosser2011-04-291-8/+11
| | | | llvm-svn: 130481
* JSONExporter: Remove unused variableTobias Grosser2011-04-291-1/+0
| | | | llvm-svn: 130477
* Add initial version of PollyTobias Grosser2011-04-297-0/+2056
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476
OpenPOWER on IntegriCloud