summaryrefslogtreecommitdiffstats
path: root/polly/test/CodeGen/OpenMP
Commit message (Collapse)AuthorAgeFilesLines
* Update to ISL 0.17.Michael Kruse2016-05-041-1/+1
| | | | | | | | | | | | This release includes sevaral improvments compared to the previous version isl-0.16.1-145-g243bf7c (from the ISL 0.17 announcement): - optionally combine SCCs incrementally in scheduler - optionally maximize coincidence in scheduler - optionally avoid loop coalescing in scheduler - minor AST generator improvements - improve support for expansions in schedule trees llvm-svn: 268500
* [FIX] Do not recompute SCEVs but pass them to subfunctionsJohannes Doerfert2016-04-091-0/+59
| | | | | | | | | | | | This reverts commit 2879c53e80e05497f408f21ce470d122e9f90f94. Additionally, it adds SDiv and SRem instructions to the set of values discovered by the findValues function even if we add the operands to be able to recompute the SCEVs. In subfunctions we do not want to recompute SDiv and SRem instructions but pass them instead as they might have been created through the IslExprBuilder and are more complicated than simple SDiv/SRem instructions in the code. llvm-svn: 265873
* execute cloog specific testcases only with CLOOG_FOUNDSebastian Pop2012-12-0317-1101/+0
| | | | llvm-svn: 169159
* do not execute the OpenMP tests when cloog is not foundSebastian Pop2012-11-271-0/+3
| | | | llvm-svn: 168724
* Tests: Pipe test files into 'opt'Tobias Grosser2012-11-048-8/+8
| | | | | | | Use 'opt < %s' instead of just 'opt %s' to ensure that no temporary files are created. llvm-svn: 167372
* Tests: move content of .c files in .llTobias Grosser2012-11-0220-198/+209
| | | | llvm-svn: 167283
* Codegen: Selectively copy in array addresses for OpenMP codeTobias Grosser2012-11-014-9/+7
| | | | | | | | | | | | | | | | | The detection of values that need to be copied in to the generated OpenMP subfunction also detects the array base addresses needed in the SCoP. Hence, it is not necessary to unconditionally copy all the base addresses to the generated function. Test cases are modified to reflect this change. Arrays which are global variables do not occur in the struct passed to the subfunction anymore. A test case for base address copy-in is added in copy_in_array.{c,ll}. Committed with slight modifications Contributed by: Armin Groesslinger <armin.groesslinger@uni-passau.de> llvm-svn: 167215
* CodeGen: Add scop-parameters to the OpenMP contextTobias Grosser2012-11-013-0/+107
| | | | | | | | | | | | | In addition to the arrays and clast variables a SCoP statement may also refer to values defined before the SCoP or to function arguments. Detect these values and add them to the set of values passed to the function generated for OpenMP parallel execution of a clast. Committed with additional test cases and some refactoring. Contributed by: Armin Groesslinger <armin.groesslinger@uni-passau.de> llvm-svn: 167214
* Codegen: Copy and restore the ValueMap and ClastVars explicitlyTobias Grosser2012-11-011-0/+56
| | | | | | | | | | | | When generating OpenMP or GPGPU code the original ValueMap and ClastVars must be kept. We already recovered the original ClastVars by reverting the changes, but we did not keep the content of the ValueMap. This patch keeps now an explicit copy of both maps and restores them after generating OpenMP or GPGPU code. This is an adapted version of a patch contributed by: Armin Groesslinger <armin.groesslinger@uni-passau.de> llvm-svn: 167213
* CodeGen: Allow function parameters to be rewritten in getNewValue()Tobias Grosser2012-04-012-0/+69
| | | | | | | | | | | | | When deriving new values for the statements of a SCoP, we assumed that parameter values are constant within the SCoP and consquently do not need to be rewritten. For OpenMP code generation this assumption is wrong, as such values are not available in the OpenMP subfunction and consequently also may need to be rewritten. Committed with some changes. Contributed-By: Johannes Doerfert <s9jodoer@stud.uni-saarland.de> llvm-svn: 153838
* CodeGeneration: Proberly build the dominator treeTobias Grosser2012-03-291-1/+1
| | | | llvm-svn: 153645
* tests: Replace . by %sTobias Grosser2012-02-131-3/+3
| | | | llvm-svn: 150377
* Adapt to LLVM type system changesTobias Grosser2011-07-123-10/+17
| | | | | | | Remove constness of Types and do not name the structures generated in the OpenMP code. llvm-svn: 134980
* ScopDetection: Remember the functions generated by backend in a pointer set, ↵Hongbin Zheng2011-05-061-2/+2
| | | | | | | | so we do not re-generate code for these functions. llvm-svn: 130975
* Add initial version of PollyTobias Grosser2011-04-2920-0/+850
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476
OpenPOWER on IntegriCloud