summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGeneration.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Codegen: Give split and merge basic blocks better namesTobias Grosser2012-02-121-2/+2
| | | | llvm-svn: 150335
* CodeGen: Further improve styleTobias Grosser2012-02-121-37/+30
| | | | llvm-svn: 150334
* CodeGen: Move generation of OpenMP out of the wayTobias Grosser2012-02-121-25/+28
| | | | | | We also fix some style issues. This change contains no functional change. llvm-svn: 150333
* CodeGeneration: Rephrase comment slightlyTobias Grosser2012-02-011-8/+8
| | | | llvm-svn: 149502
* CodeGeneration: Order includes alphabeticallyTobias Grosser2012-02-011-8/+8
| | | | llvm-svn: 149501
* Remove unneeded default caseTobias Grosser2012-01-261-2/+0
| | | | | | This silences a clang warning. llvm-svn: 149073
* CodeGen: Separate declaration and definition of ClastStmtCodeGenTobias Grosser2012-01-241-457/+517
| | | | llvm-svn: 148814
* CodeGen: Separate declaration and definition of ClastExpCodeGenTobias Grosser2012-01-241-118/+126
| | | | llvm-svn: 148813
* CodeGen: Use getNullValue to simplify some codeTobias Grosser2012-01-241-6/+2
| | | | llvm-svn: 148812
* CodeGen: Separate declaration and definitions of BlockGeneratorTobias Grosser2012-01-241-401/+473
| | | | llvm-svn: 148811
* ScopInfo: Add isStrideX to unify stride checkingTobias Grosser2012-01-241-4/+6
| | | | llvm-svn: 148810
* Memaccess: Removing some unwanted codeRaghesh Aloor2012-01-131-5/+0
| | | | llvm-svn: 148100
* Memaccess: Using isl_map_dim_maxRaghesh Aloor2011-12-281-6/+61
| | | | | | | | Use isl_map_dim_max to extract the details of the changed access relation. Only constant access functions are supported now. llvm-svn: 147305
* Memacess: Some style changesRaghesh Aloor2011-12-091-31/+33
| | | | llvm-svn: 146255
* CodeGen: Style improvements.Tobias Grosser2011-12-061-14/+18
| | | | llvm-svn: 145932
* Do not use getNameStr() anymore.Tobias Grosser2011-11-171-14/+11
| | | | | | | 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-4/+4
| | | | | | Suggested by Sebastian Pop. llvm-svn: 144902
* Enable prevectorization with -enable-polly-vector.Tobias Grosser2011-10-231-3/+5
| | | | | | This removes the separate prevector options for the Pluto and isl scheduler. llvm-svn: 142774
* Initialize the passes early and properly.Tobias Grosser2011-10-081-3/+12
| | | | llvm-svn: 141455
* ScopInfo: Only give away a copy of the access relation.Tobias Grosser2011-10-061-11/+15
| | | | | | | | 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
* Adapt to introduction of isl_spaceTobias Grosser2011-10-061-6/+7
| | | | | | | | 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
* CodeGen: Support for Cast Operations in vector code generationTobias Grosser2011-09-041-1/+20
| | | | llvm-svn: 139097
* CodeGen: Remove unused codeTobias Grosser2011-09-041-8/+2
| | | | llvm-svn: 139096
* CodeGen: Better separate scalar and vector code generation.Tobias Grosser2011-09-041-45/+41
| | | | llvm-svn: 139095
* CodeGeneration: Simplify code, fix style.Tobias Grosser2011-09-041-11/+8
| | | | llvm-svn: 139094
* CodeGen: Split large function in smaller ones.Tobias Grosser2011-09-041-74/+91
| | | | llvm-svn: 139093
* CodeGen: Improve naming of copied basic blocksTobias Grosser2011-09-041-1/+2
| | | | | | | | | It may happen that we generate the code of a basic block from the original scop is code generated several times. The new naming scheme reduces confusing that earlier appeared as the version numbers of the new basic blocks could have been interpreted as part of the name of the original basic block. llvm-svn: 139092
* Fix crashes due to unaligned parametersTobias Grosser2011-08-251-1/+3
| | | | | | | | Due to the recent introduction of isl_id, parameters need now always to be aligned. This was not yet taken care of in the code path of vectorization and dependence analysis. llvm-svn: 138555
* Free isl_ctx and fix several memory leaksTobias Grosser2011-08-201-1/+2
| | | | | | | | | 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-3/+39
| | | | | | | Support for generating code for an access function change which is a constant is added. llvm-svn: 137603
* Removing some trailing whitespacesRaghesh Aloor2011-08-111-1/+1
| | | | llvm-svn: 137304
* Memaccess: Some style changesRaghesh Aloor2011-08-081-16/+16
| | | | llvm-svn: 137043
* Memaccess: Codegeneration for a simple access function changeRaghesh Aloor2011-08-031-1/+28
| | | | | | | | Code is generated for a simple access function change imported from JSCOP file. An access of A[i] is changed to A[0]. The code for A[0] is generated directly without refering to isl function calls. llvm-svn: 136789
* Fix two compiler warningsTobias Grosser2011-08-011-1/+1
| | | | | | One of them actually pointed to an invalid condition in an assert. llvm-svn: 136657
* Use llvm::*Type without constTobias Grosser2011-07-181-16/+16
| | | | llvm-svn: 135384
* CodeGeneration: Adjust call to CreateCall.Tobias Grosser2011-07-151-2/+1
| | | | | | | | | Needed to avoid compile error after the patch "Convert CallInst and InvokeInst APIs to use ArrayRef. Contributed by: Sebastian Pop <sebpop@gmail.com> llvm-svn: 135321
* Adapt to LLVM type system changesTobias Grosser2011-07-121-11/+7
| | | | | | | Remove constness of Types and do not name the structures generated in the OpenMP code. llvm-svn: 134980
* CodeGen: Adapt to change of PHI operand storageTobias Grosser2011-07-051-3/+0
| | | | | | | Commit 133435 "Change how PHINodes store their operands" broke Polly. Fix this breakage by adapting to the changes in the commit. llvm-svn: 134434
* CodeGeneration: Adapt to SCEVExpander changeTobias Grosser2011-06-301-1/+1
| | | | | Reported-By: Sebastian Pop <sebpop@gmail.com> llvm-svn: 134179
* CodeGeneration: Use FIXME instead of XXXTobias Grosser2011-05-231-3/+3
| | | | | | Cleanup suggested by ether. llvm-svn: 131898
* CodeGeneration: Cleanup getAnalysis/addPreservedTobias Grosser2011-05-141-3/+5
| | | | llvm-svn: 131360
* CodeGeneration: Localize variablesTobias Grosser2011-05-141-3/+2
| | | | llvm-svn: 131359
* CodeGeneration: Admit that we change the code.Tobias Grosser2011-05-141-1/+1
| | | | | | No need to pretend anymore that we do not update the LLVM-IR. llvm-svn: 131358
* Cloog: Export clast_rootTobias Grosser2011-05-141-1/+1
| | | | llvm-svn: 131357
* CodeGeneration: No need to forget SCoP.Tobias Grosser2011-05-141-3/+0
| | | | | | | As we do not delete the SCoP, there is no need to remove it from the SCoP detection. llvm-svn: 131356
* CodeGeneration: We do not preserve the PostDominatorTreeTobias Grosser2011-05-141-1/+0
| | | | llvm-svn: 131355
* CodeGeneration: Remove -polly-codegen-onlyTobias Grosser2011-05-141-13/+1
| | | | | | | If we only want to optimize a single function, we should extract this function into a separate .ll file. This simplifies the code. llvm-svn: 131353
* CodeGeneration: Do not delete the old version of the Scop.Tobias Grosser2011-05-141-78/+124
| | | | | | | Instead of deleting the old code, keep it on the side in an if-branch. It will either be deleted by the dead code elimination or we can use it as fallback. llvm-svn: 131352
* CodeGeneration: Support only simple regionsTobias Grosser2011-05-141-0/+2
| | | | llvm-svn: 131351
* ScopDetection: Remember the functions generated by backend in a pointer set, ↵Hongbin Zheng2011-05-061-4/+8
| | | | | | | | so we do not re-generate code for these functions. llvm-svn: 130975
OpenPOWER on IntegriCloud