summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopGraphPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [NFC] Fixes -Wrange-loop-analysis warningsMark de Wever2020-01-061-1/+1
| | | | | | This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall. Differential Revision: https://reviews.llvm.org/D72210
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Adjust to clang-format changesTobias Grosser2018-03-201-1/+0
| | | | llvm-svn: 328005
* [Polly][NewPM] Port ScopDetection to the new PassManagerPhilip Pfaffe2017-05-121-18/+46
| | | | | | | | | | | | | | | | Summary: This is a proof of concept of how to port polly-passes to the new PassManager architecture. This approach works ootb for Function-Passes, but might not be directly applicable to Scop/Region-Passes. While we could just run the Analyses/Transforms over functions instead, we'd surrender the nice pipelining behaviour we have now. Reviewers: Meinersbur, grosser Reviewed By: grosser Subscribers: pollydev, sanjoy, nemanjai, llvm-commits Tags: #polly Differential Revision: https://reviews.llvm.org/D31459 llvm-svn: 302902
* Fix clang-formatTobias Grosser2016-12-191-2/+2
| | | | llvm-svn: 290103
* Migrate from NodeType * to NodeRef.Tim Shen2016-08-221-1/+1
| | | | llvm-svn: 279488
* Fix formattingTobias Grosser2015-12-171-4/+3
| | | | llvm-svn: 255892
* ScopGraphPrinter: Only show functions that contain at least one scopTobias Grosser2015-12-171-5/+11
| | | | | | | | | | | | | | When running 'clang -O3 -mllvm -polly -mllvm -polly-show' we now only show the CFGs of functions with at least one detected scop. For larger files/projects this reduces the number of graphs printed significantly and is likely what developers want to see. The new option -polly-view-all enforces all graphs to be printed and the exiting option -poll-view-only limites the graph printing to functions that match a certain pattern. This patch requires https://llvm.org/svn/llvm-project/llvm/trunk@255889 (and vice versa) to compile correctly. llvm-svn: 255891
* Add option -polly-view-onlyTobias Grosser2015-08-031-0/+14
| | | | | | | | | If set, this option instructs -view-scops and -polly-show to only print functions that contain the specified string in their name. This allows to look at the scops of a specific function in a large .ll file, without flooding the screen with .dot graphs. llvm-svn: 243882
* Adding debug location information to Polly's JSCOP and dot exportsTobias Grosser2015-05-031-1/+14
| | | | | | | | | | | | | | | | | | | | This change adds location information for the detected regions in Polly when the required debug information is available. The JSCOP output format is extended with a "location" field which contains the information in the format "source.c:start-end" The dot output is extended to contain the location information for each nested region in the analyzed function. As part of this change, the existing getDebugLocation function has been moved into lib/Support/ScopLocation.cpp to avoid having to include polly/ScopDetectionDiagnostics.h. Differential Revision: http://reviews.llvm.org/D9431 Contributed-by: Roal Jordans <r.jordans@tue.nl> llvm-svn: 236393
* Avoid nullptr dereference in the ScopGraphPrinterTobias Grosser2015-03-291-1/+1
| | | | | Reported-by: http://buildd-clang.debian.net/scan-build llvm-svn: 233505
* Update formatting with clang-format.Bill Wendling2014-07-201-1/+1
| | | | llvm-svn: 213468
* Update for RegionInfo changes.Matt Arsenault2014-07-191-1/+1
| | | | | | | Mostly related to missing includes and renaming of the pass to RegionInfoPass. llvm-svn: 213457
* clang-format polly to avoid buildbot noiseTobias Grosser2014-07-091-4/+4
| | | | llvm-svn: 212609
* [C++11] Use more range based forsTobias Grosser2014-06-281-4/+3
| | | | llvm-svn: 211981
* Fix more build errors in Polly after r206310. David caught one of theseChandler Carruth2014-04-151-1/+1
| | | | | | | in r206312, but others don't seem to show up on build bots? Unsure of why, they showed up for me. llvm-svn: 206326
* clang-format: Remove empty linesTobias Grosser2014-03-211-5/+0
| | | | llvm-svn: 204468
* [C++11] Use foreach iterator for blocks and operandsTobias Grosser2014-03-031-7/+5
| | | | llvm-svn: 202707
* Small style improvementsTobias Grosser2013-07-131-2/+3
| | | | llvm-svn: 186248
* Integrate latest clang-format changesTobias Grosser2013-06-231-1/+1
| | | | llvm-svn: 184655
* Sort includesTobias Grosser2013-05-071-1/+0
| | | | llvm-svn: 181297
* Reformat with clang-formatTobias Grosser2013-05-071-4/+4
| | | | | | | clang-format become way more stable. This time we mainly reformat function signatures. llvm-svn: 181294
* clang-format: Many more filesTobias Grosser2013-03-231-69/+53
| | | | | | | | | | | | | After this commit, polly is clang-format clean. This can be tested with 'ninja polly-check-format'. Updates to clang-format may change this, but the differences will hopefully be both small and general improvements to the formatting. We currently have some not very nice formatting for a couple of items, DEBUG() stmts for example. I believe the benefit of being clang-format clean outweights the not perfect layout of this code. llvm-svn: 177796
* Fix obvious formatting problems.Tobias Grosser2012-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | We fix the following formatting problems found by clang-format: - 80 cols violations - Obvious problems with missing or too many spaces - multiple new lines in a row clang-format suggests many more changes, most of them falling in the following two categories: 1) clang-format does not at all format a piece of code nicely 2) The style that clang-format suggests does not match the style used in Polly/LLVM I consider differences caused by reason 1) bugs, which should be fixed by improving clang-format. Differences due to 2) need to be investigated closer to understand the cause of the difference and the solution that should be taken. llvm-svn: 171241
* ScopGraphPrinter: Escape error messageTobias Grosser2012-09-081-0/+16
| | | | | | Otherwise a '"' in the error message, yields an invalid .dot file. llvm-svn: 163466
* Update Polly to match the LLVM interface change in r156196.Chandler Carruth2012-05-041-5/+3
| | | | llvm-svn: 156203
* Fix placement of the '*' that marks a pointerTobias Grosser2011-11-171-6/+6
| | | | | | Suggested by Sebastian Pop. llvm-svn: 144902
* Show the reason a region is not a SCoP in the DOT graphs.Tobias Grosser2011-10-081-1/+2
| | | | llvm-svn: 141458
* Add initial version of PollyTobias Grosser2011-04-291-0/+215
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e in the old git repository. llvm-svn: 130476
OpenPOWER on IntegriCloud