Bill Wendling
83e9312ece
Use attributes references on call/invoke instructions.
...
llvm-svn: 175881
2013-02-22 09:29:15 +00:00
Tobias Grosser
de49b8fa3b
Support: clang-format
...
llvm-svn: 175874
2013-02-22 08:21:52 +00:00
Tobias Grosser
7242ad9226
CodeGen: clang-format
...
llvm-svn: 175872
2013-02-22 08:07:06 +00:00
Sebastian Pop
47d4ee3ed4
capitalize SCEV to match the current naming convention
...
llvm-svn: 175306
2013-02-15 21:26:53 +00:00
Sebastian Pop
d768601be1
check that clang-format exists
...
llvm-svn: 175305
2013-02-15 21:26:50 +00:00
Sebastian Pop
f30d3b2d89
don't store a pointer to the loop in IVS
...
llvm-svn: 175304
2013-02-15 21:26:48 +00:00
Sebastian Pop
860e021fe6
add NestLoops to remove some uses of IVS
...
llvm-svn: 175303
2013-02-15 21:26:44 +00:00
Sebastian Pop
637b23dc63
use apply and ScevParameterRewriter::rewrite instead of SCEVRewriter
...
llvm-svn: 175296
2013-02-15 20:56:01 +00:00
Sebastian Pop
9d10fffa33
add LoopToScev maps
...
llvm-svn: 175295
2013-02-15 20:55:59 +00:00
Tobias Grosser
482706f31f
Do not run formatting checks by default
...
llvm-svn: 175178
2013-02-14 16:42:50 +00:00
Tobias Grosser
d535f55146
Formatting fixes
...
llvm-svn: 175177
2013-02-14 16:42:45 +00:00
Tobias Grosser
02d9a6a100
clang-format: Really check all files
...
llvm-svn: 175174
2013-02-14 16:25:44 +00:00
Tobias Grosser
f471c3e63a
Report formatting problems as with 'diff -u'
...
llvm-svn: 175171
2013-02-14 16:20:55 +00:00
Tobias Grosser
c38af88764
cmake: add command polly-check-format
...
This command runs clang-format on all files and reports formatting problems
llvm-svn: 175170
2013-02-14 16:19:16 +00:00
Tobias Grosser
e2417fc2a4
clang-format a file
...
llvm-svn: 175012
2013-02-12 22:05:48 +00:00
Tobias Grosser
d1d40a9e0a
Use documented isl function
...
llvm-svn: 175011
2013-02-12 22:05:43 +00:00
Tobias Grosser
c92c8f06ec
[isl-codegen]: Fix off by one in getNumberOfIterations
...
We need to remove one dimension. Any is correct as long as it exists. We have
choosen for whatever reason the dimension #dims - 2. This is incorrect if
there is just one dimension. For CLooG this case did never happen. For isl
however, the case can happen and causes undefined behavior including crashes.
We choose now always the last dimension #dims - 1. We could have choosen
dimension '0' but the last dimension is what we remove conceptionally in the
algorithm, so it seems better to actually program it that way.
While at it remove another piece of undefined behavior.
llvm-svn: 174894
2013-02-11 17:52:36 +00:00
Tobias Grosser
7b3ac71920
[cmake] Make CLooG optional
...
CLooG is already optional in the autoconf build.
llvm-svn: 174872
2013-02-11 10:36:19 +00:00
Tobias Grosser
c14582f276
CodeGen: clang-format goodness
...
The changed files are not yet clang-format clean, but we are getting close.
llvm-svn: 174403
2013-02-05 18:01:29 +00:00
Tobias Grosser
1f11b44939
TempScopInfo: clang-format
...
llvm-svn: 174368
2013-02-05 12:27:23 +00:00
Tobias Grosser
14f4c3e9fa
Dependences: clang-format
...
Everything except INITIALIZE_PASS_* macros
llvm-svn: 174367
2013-02-05 12:27:22 +00:00
Tobias Grosser
abfbe637bc
ScopInfo: clang-format file
...
clang-format was able to format the entire file except the final
INITIALIZE_PASS_* macros.
llvm-svn: 174366
2013-02-05 12:09:06 +00:00
Tobias Grosser
0d1eee3298
ScopDetect: clang-format pointer types in templates
...
llvm-svn: 174365
2013-02-05 11:56:05 +00:00
Tobias Grosser
af3c00b87b
ScopDetection: clang-format some more code
...
llvm-svn: 174362
2013-02-05 09:40:22 +00:00
Tobias Grosser
428b3e48e2
ScopDetection: Improve printing of alias sets
...
We now show the all members of the alias set that may couse possible aliasing.
In case a alias set member is not a named instruction (unnamed instructions or
constant expressions), we show the expression itself.
This improves our error message
from:
Possible aliasing for value: .reg2mem
to:
Possible aliasing: ".reg2mem",
"[0 x double]* inttoptr (i64 47255179264 to [0 x double]*)
llvm-svn: 174329
2013-02-04 15:46:25 +00:00
Tobias Grosser
71036882d2
cmake: Install all polly include files
...
Contributed-by: Richard Membarth <richard.membarth@informatik.uni-erlangen.de>
llvm-svn: 172903
2013-01-19 14:17:52 +00:00
Tobias Grosser
f75ba19697
www: Add kernelgen publications
...
Contributed by: Dmitry Mikushin <dmitry@kernelgen.org>
llvm-svn: 172772
2013-01-18 00:26:39 +00:00
Tobias Grosser
18b1abb137
Add missing __isl_give
...
Contributed by: Sameer Abu Asal <sameer.abuasal@gmail.com>
llvm-svn: 172771
2013-01-18 00:09:42 +00:00
Tobias Grosser
74394f0dcf
clang-format goodness
...
llvm-svn: 172486
2013-01-14 22:40:23 +00:00
Tobias Grosser
b1304ba9b2
Dead code elimination: Make variable names uppercase
...
llvm-svn: 171844
2013-01-08 08:53:58 +00:00
Tobias Grosser
184e2fcd9c
clang-format the dead code elimination pass
...
llvm-svn: 171843
2013-01-08 08:27:46 +00:00
Chandler Carruth
535d52c7ca
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to
...
reflect the migration in r171366.
llvm-svn: 171370
2013-01-02 11:47:44 +00:00
NAKAMURA Takumi
43632a26a5
Update the copyright coredits -- Happy new year 2013!
...
llvm-svn: 171342
2013-01-01 10:00:19 +00:00
Tobias Grosser
ae2d83ec41
Formatting: Break lines after binary operators such as '&&'
...
assert(Condition
&& "Text");
->
assert(Condition &&
"Text);
This aligns Polly with the style used in LLVM.
llvm-svn: 171242
2012-12-29 23:57:18 +00:00
Tobias Grosser
1bb59b0dcf
Fix obvious formatting problems.
...
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
2012-12-29 23:47:38 +00:00
Tobias Grosser
16242dab74
www: Add news to Polly website
...
llvm-svn: 171231
2012-12-29 17:40:09 +00:00
Tobias Grosser
317b5ef24d
www: Add new Polly publication
...
Polly - Performing polyhedral optimizations on a low-level intermediate
representation
Tobias Grosser, Armin Groesslinger, Christian Lengauer Parallel
Processing Letters 2012 22:04
llvm-svn: 171228
2012-12-29 16:47:41 +00:00
Tobias Grosser
7a2f39534f
'chmod -x' on files that do not need the executable bits
...
llvm-svn: 171224
2012-12-29 15:09:03 +00:00
Sebastian Pop
ab9ea13f64
avoid initializing twice
...
llvm-svn: 170854
2012-12-21 07:27:17 +00:00
Sebastian Pop
eb283143e2
do not access Info when it is NULL
...
llvm-svn: 170853
2012-12-21 07:27:13 +00:00
Sebastian Pop
2aa5c24a3a
return -1 when polly::getNumberOfIterations returns -1
...
llvm-svn: 170422
2012-12-18 08:56:51 +00:00
Sebastian Pop
04c4ce32ae
isl: vector code generation based on ISL ast
...
Original patch by Tobias Grosser, slightly modified by Sebastian Pop.
llvm-svn: 170420
2012-12-18 07:46:13 +00:00
Sebastian Pop
a00a029115
change interface for isStride
...
isStride now takes a partial schedule as input.
Patch from Tobias Grosser <tobias@grosser.es>.
llvm-svn: 170419
2012-12-18 07:46:06 +00:00
Sebastian Pop
e252c85545
isl: detect vector parallelism
...
llvm-svn: 170138
2012-12-13 16:52:41 +00:00
Tobias Grosser
e36abf6d5d
isl: Detect openmp parallelism
...
Based on code written by Riyadh Baghdadi.
llvm-svn: 170102
2012-12-13 06:24:06 +00:00
Andy Gibbs
9936b214c0
Integrate polly test-suite into an llvm "make check-all" if built as part of the whole using cmake.
...
llvm-svn: 169487
2012-12-06 07:59:18 +00:00
Tobias Grosser
7e07b14d0b
User isl sha commit id instead of the git tag
...
Apperently the git tag causes trouble in some scripts.
llvm-svn: 169313
2012-12-04 21:54:37 +00:00
Sebastian Pop
a267d9b829
adapt cloog codegen testcases to isl
...
llvm-svn: 169161
2012-12-03 21:34:09 +00:00
Sebastian Pop
47987128b6
use -polly-ast instead of -polly-cloog
...
llvm-svn: 169160
2012-12-03 21:33:55 +00:00
Sebastian Pop
b08a52898a
execute cloog specific testcases only with CLOOG_FOUND
...
llvm-svn: 169159
2012-12-03 21:33:40 +00:00