summaryrefslogtreecommitdiffstats
path: root/polly/utils
Commit message (Collapse)AuthorAgeFilesLines
* [arc] Remove unittesting from arcconfigPhilip Pfaffe2018-05-153-304/+0
| | | | | | | | | | | | | | Summary: Unittests aren't working, and I don't think they ever were. Just remove them, so that we don't have to write `arc --nounit` all the time. Reviewers: grosser, Meinersbur, bollu Subscribers: bollu, pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D46869 llvm-svn: 332355
* Revise polly-{update|check}-format targetsMichael Kruse2015-09-142-47/+0
| | | | | | | | | | | | | | | | | | Summary: Make clang-format run on each file independently using add_custom_format (instead using a shell script in utils/). The targets polly-{update|check}-format depend on these. The primary motivation is to make them work on Windows, but also improves them generally: - Each file update/check can run in parallel (Although they do not take long to run anyway) - Implicit dependency on clang-format, so it recompiles if necessary - polly-check-format shows the formatting difference if failing Differential Revision: http://reviews.llvm.org/D12837 llvm-svn: 247581
* Make arc unit work with ninja buildsJohannes Doerfert2015-08-121-5/+16
| | | | | | | | | | | | | | In order to find the llvm-obj directory it has to be (or a soft link to it) at one of the following locations: ${POLLY_SRC_DIR}/build ${POLLY_SRC_DIR}.build ${POLLY_SRC_DIR}-build s/${POLLY_SRC_DIR}/src/build Alternatively, the environment variable $POLLY_BIN_DIR can point to it. llvm-svn: 244727
* Rename 'scattering' to 'schedule'Tobias Grosser2015-04-211-1/+1
| | | | | | | | | | | | | | | | In Polly we used both the term 'scattering' and the term 'schedule' to describe the execution order of a statement without actually distinguishing between them. We now uniformly use the term 'schedule' for the execution order. This corresponds to the terminology of isl. History: CLooG introduced the term scattering as the generated code can be used as a sequential execution order (schedule) or as a parallel dimension enumerating different threads of execution (placement). In Polly and/or isl the term placement was never used, but we uniformly refer to an execution order as a schedule and only later introduce parallelism. When doing so we do not talk about about specific placement dimensions. llvm-svn: 235380
* Remove isl/cloog build scriptsTobias Grosser2015-02-152-98/+0
| | | | | | isl is not distributed as part of Polly. llvm-svn: 229304
* Update to the latest version of islTobias Grosser2014-12-071-1/+1
| | | | | | | | | | Isl now specifically marks modulo operations that are compared against zero. They can be implemented with the C/LLVM remainder operation. We also update a couple of test cases where the output of isl has slightly changed. llvm-svn: 223607
* checkout_isl: Do not fail in presence of an old CLooG checkoutTobias Grosser2014-12-021-1/+13
| | | | | | This should help our buildbots and may also simplify life for other people. llvm-svn: 223152
* Make checkout isl script executableTobias Grosser2014-12-021-0/+0
| | | | llvm-svn: 223146
* Drop Cloog supportJohannes Doerfert2014-12-022-96/+86
| | | | | | | | | 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
* Revert "Temporary disable formatting error"Tobias Grosser2014-11-031-3/+0
| | | | | | | This reverts commit r221159, as clang-format is again back to its old behaviour and we do not cause any buildbot error messages any more. llvm-svn: 221189
* Temporary disable formatting errorTobias Grosser2014-11-031-0/+3
| | | | | | | This should silence the buildbots until we understand if the clang-format changes in r221125 have been intentional. See reply on cfe-commits for details. llvm-svn: 221159
* Change the output of arc unitJohannes Doerfert2014-10-011-7/+33
| | | | | | | | | | | arc unit will now show the number of consecutive tests with the same result instead of printing a "." for each one. Due to the number of tests the "dots" didn't fit in one line any more. Furthermore the result list is shortened, only non passing tests or tests taking longer than a time threshold (50ms) will be reported (both to the user and to phabricator). llvm-svn: 218826
* Updated to isl 2c19ecd444095d6f560349018f68993bc0e03691Johannes Doerfert2014-09-181-1/+1
| | | | | | Changed test cases and fixed warnings. llvm-svn: 218043
* Added arcanist (arc) unit test supportJohannes Doerfert2014-09-083-0/+267
| | | | | | | | | | | | | | | | | | | | Thanks to Clemens (hammacher@cs.uni-saarland.de) extension of the arcanist unit test engine, we can run the llvm-lit tests automatically. Similar to the linters, aracanist will run all tests for each uploaded commit and asks the commiter for a statements in case unit tests fail. To use this feature the unit test engine needs to find the polly build directory. Currently we support the following setups: $POLLY_BUILD_DIR (environment variable) <root>/build <root>.build <root>-build <root:s/src/build> <cwd> llvm-svn: 217396
* Added arcanist linters and cleaned errors and warningsJohannes Doerfert2014-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Arcanist (arc) will now always run linters before uploading any new commit to Phabricator. All errors/warnings (or their absence) will be shown in the web interface together with a explanation by the commiter (arcanist will ask the commiter if the build was not clean). The linters include: - clang-format - spelling check - permissions check (aka. chmod) - filename check - merge conflict marker check Note, that their scope is sometimes limited (see .arclint for details). This commit also fixes all errors and warnings these linters reported, namely: - spelling mistakes and typos - executable permissions for various text files Differential Revision: http://reviews.llvm.org/D4916 llvm-svn: 215871
* Update to isl-0.13.0Tobias Grosser2014-07-151-1/+1
| | | | | | | | This pulls in a couple of minor cleanups in isl. More importantly, in preparation of the upcoming LLVM releases this change brings us back on a released version of isl. llvm-svn: 213062
* Remove use of llvm.codegen intrinsic for GPGPU codegenYabin Hu2014-06-241-489/+0
| | | | | | | | | | We use llvm.codegen intrinsic to generate code for embedded LLVM-IR strings. The reason we introduce such a intrinsic is that previous clang/opt tools was NOT linked with various LLVM targets and their AsmParsers and AsmPrinters. Since clang/opt been linked with all the needed libraries, we no longer need the llvm.codegen intrinsic. llvm-svn: 211573
* Update isl to fix memory bugsTobias Grosser2014-04-131-1/+1
| | | | llvm-svn: 206134
* Dependences: Refine the compute out facilityTobias Grosser2014-04-121-1/+1
| | | | | | | | | | | | We update to a newer version of isl, which includes changes to the compute out facility that make it a lot more predicable. With our new value, we can reliably bail out for all reported bugs, while still being able to compute dependences for all but two test cases in the LLVM test suite. For the remaining two test cases, the dependence problem we construct is unnecessarily complex, so there is hope we can improve on this. However, to avoid any future issues, having a reliable compute out facility in place is important. llvm-svn: 206106
* Update CLooG and some test casesTobias Grosser2014-03-101-1/+1
| | | | | | | | | | | | This is necessary to avoid test failures in the CLooG test suite due to the recent isl update. We also need to update two polly test cases which rely on a certain order in the textual description that isl chooses for its sets and maps. Changes here are not often, but we should probably switch to a check that verifies such maps are semantically equivalent instead of represented identically. llvm-svn: 203476
* Update isl to ensure 'extern "C" {' is availableTobias Grosser2014-03-101-1/+1
| | | | | | | | | | Older isl versions did not properly guard all function declarations for the use in C++. Specifically, the isl/val_gmp.h header was not properly guarded. This patch ensures we have the proper guards in place and do not accidentally link to name-mangled C++ versions of those functions that are not available in libisl.so. llvm-svn: 203462
* Update to isl 1b3ba3b72c0482fd36bf0b4a1186a259f7bafeedTobias Grosser2014-01-261-1/+1
| | | | | | | | | | | | | | | This includes the following very useful isl commit: commit d962967ab42323ea5ca0398956fbff6a98c782fa Author: Sven Verdoolaege <skimo@kotnet.org> Date: Wed Dec 18 12:05:32 2013 +0100 allow the user to impose a bound on the number of low-level operations This should allow the user to deterministically limit the effort spent on a computation. llvm-svn: 200155
* Switch isl back to isl 0.12.1Tobias Grosser2014-01-191-1/+1
| | | | | | | The newer isl version broke backward compatibility. For some reason, I did not find this in my own tests. llvm-svn: 199586
* Update to the latest cloog and isl versionsTobias Grosser2014-01-191-2/+2
| | | | | | | | | | | | | | | | This brings in isl_val support from cloog and, most importantly the following isl commit: commit d962967ab42323ea5ca0398956fbff6a98c782fa Author: Sven Verdoolaege <skimo@kotnet.org> Date: Wed Dec 18 12:05:32 2013 +0100 allow the user to impose a bound on the number of low-level operations This should allow the user to deterministically limit the effort spent on a computation. llvm-svn: 199582
* Update #include paths for r198688 in LLVM that moved headers in the AssemblyChandler Carruth2014-01-071-1/+1
| | | | | | directory to their proper homes. llvm-svn: 198691
* Update isl to latest maintenance releaseTobias Grosser2013-12-071-1/+1
| | | | | | | This includes isl commits b9c7b8c8c98a6722262f076b27f833a25b83f55d and 454621e935ff836361c77df436fbd7066c9d44e0 which fix PR18130. llvm-svn: 196655
* (re)enable formatting checksTobias Grosser2013-11-281-3/+2
| | | | llvm-svn: 195935
* Really stop the buildbot noiseTobias Grosser2013-11-221-1/+1
| | | | llvm-svn: 195521
* Disable format checkingTobias Grosser2013-11-221-1/+2
| | | | | | | We still have troubles as clang is not properly built yet. I messed up a path in the PollyBuilder and am waiting for another buildmaster restart. llvm-svn: 195520
* cmake: Provide path to installed clang-formatTobias Grosser2013-11-222-9/+18
| | | | | | This will now also enable the automatic formatting checks in the Polly buildbot. llvm-svn: 195507
* Disable formatting checks to silent buildbotsTobias Grosser2013-11-221-1/+2
| | | | | | Sorry for the noice. llvm-svn: 195446
* Move to CLooG 0.18.1 and isl 0.12.1Tobias Grosser2013-10-111-2/+2
| | | | llvm-svn: 192426
* Convert line endings to unix styleTobias Grosser2013-07-251-2353/+2353
| | | | llvm-svn: 187101
* Update CLooG such that the isl test cases are really up to dateTobias Grosser2013-06-241-1/+1
| | | | llvm-svn: 184699
* Use isl_val instead of isl_int in the core of PollyTobias Grosser2013-06-211-1/+1
| | | | | | | | | | | isl recently introduced isl_val as an abstract interface to represent arbitrary precision numbers. This interface superseeds the old isl_int interface. In contrast to the old interface which implemented arbitrary precision arithmetic using macros that forward to the gmp library, the new library hides the math library implementation in isl. This allows us to switch the math library used by isl without affecting users such as Polly. llvm-svn: 184529
* Update to a newer CLooG versionTobias Grosser2013-06-161-1/+1
| | | | | | | This update fixes the test cases to give correct results with the isl version we are currently using. llvm-svn: 184064
* Update isl to include isl_val changesTobias Grosser2013-05-311-1/+1
| | | | | | | | | | | The latest version of isl includes a new data type isl_val, which properly hides the multi precision math library used by isl. In Polly we would like to replace all uses of isl_int with the corresponding isl_val interfaces. This will allow us to switch the multi precision math library in isl. This is especially interesting for people who would like to replace libgmp with a non-gpl licensed library (e.g. imath). llvm-svn: 183026
* cmake: Add target to reformat with clang-formatTobias Grosser2013-05-071-0/+11
| | | | | | | Calling 'make polly-update-format' will format all Polly files with clang-format. llvm-svn: 181293
* check that clang-format existsSebastian Pop2013-02-151-0/+7
| | | | llvm-svn: 175305
* clang-format: Really check all filesTobias Grosser2013-02-141-1/+1
| | | | llvm-svn: 175174
* Report formatting problems as with 'diff -u'Tobias Grosser2013-02-141-1/+1
| | | | llvm-svn: 175171
* cmake: add command polly-check-formatTobias Grosser2013-02-141-0/+19
| | | | | | This command runs clang-format on all files and reports formatting problems llvm-svn: 175170
* User isl sha commit id instead of the git tagTobias Grosser2012-12-041-1/+1
| | | | | | Apperently the git tag causes trouble in some scripts. llvm-svn: 169313
* Update CLooGTobias Grosser2012-12-031-1/+1
| | | | | | This cloog versions passes all tests with isl 0.11. llvm-svn: 169150
* Use isl 0.11Tobias Grosser2012-12-031-1/+1
| | | | | | | We now switch to the newly released isl 0.11. This adds a couple of bug fixes on top of the recent update. llvm-svn: 169127
* Update the recommended isl versionTobias Grosser2012-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | Recent changes in isl: - Allow analysis of loops during code generation This simplifies the detection of parallel loops. - Simplify the way costumized ast printers are defined This enables us to highlight parallel / vector loops in our debug output. - Compile time improvements for codegen contexts that include parameters - Various bug fixes This update also gets us in sync for the isl 0.11 release. llvm-svn: 169100
* Update to Polly for LLVM r165262 which changes TargetData to Datalayout.Tobias Grosser2012-11-291-31/+29
| | | | | | Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 168903
* utils: use rmdir instead of rm to remove empty dirsSebastian Pop2012-11-181-2/+2
| | | | | | as suggested by Sven Verdoolaege <skimo-polly@kotnet.org> llvm-svn: 168279
* utils: remove the isl directory after cloning cloogSebastian Pop2012-11-171-1/+3
| | | | | | | This fixes my previous commit, thanks to "Dmitry N. Mikushin" <maemarcus@gmail.com> llvm-svn: 168252
* utils: remove existing cloog and isl dirs before git cloningSebastian Pop2012-11-171-0/+2
| | | | | | Patch adapted from "Dmitry N. Mikushin" <maemarcus@gmail.com>. llvm-svn: 168250
OpenPOWER on IntegriCloud