Nadav Rotem
|
762317ecc6
|
Fix a typo
llvm-svn: 166367
|
2012-10-20 05:03:27 +00:00 |
|
Nadav Rotem
|
4e013454ca
|
Vectorizer: refactor the memory checks to a new function. No functionality change.
llvm-svn: 166366
|
2012-10-20 04:59:06 +00:00 |
|
Nadav Rotem
|
61a5b018ad
|
LoopVectorize: Keep the IRBuilder on the stack.
llvm-svn: 166354
|
2012-10-19 23:27:19 +00:00 |
|
Nadav Rotem
|
8fe03aa4c1
|
Vectorizer: Add support for loop reductions.
For example:
for (i=0; i<n; i++)
sum += A[i] + B[i] + i;
llvm-svn: 166351
|
2012-10-19 23:05:40 +00:00 |
|
Benjamin Kramer
|
5080891e07
|
LoopVectorize: Keep the IRBuilder on the stack.
No functionality change.
llvm-svn: 166274
|
2012-10-19 08:42:02 +00:00 |
|
Nadav Rotem
|
451f76acc3
|
vectorizer: Add support for reading and writing from the same memory location.
llvm-svn: 166255
|
2012-10-19 01:24:18 +00:00 |
|
Nadav Rotem
|
fe5d8c8c09
|
cleanup the comment.
llvm-svn: 166247
|
2012-10-18 23:21:01 +00:00 |
|
Nadav Rotem
|
ac2f32d807
|
fix a naming typo
llvm-svn: 166232
|
2012-10-18 21:45:31 +00:00 |
|
Nadav Rotem
|
b1d0bfd68b
|
Avoid reconstructing the pointer set when searching for duplicated read/write pointers.
llvm-svn: 166205
|
2012-10-18 18:34:50 +00:00 |
|
Nadav Rotem
|
f1bbc20bb0
|
When looking for a vector representation of a scalar, do a single lookup. Also, cache the result of the broadcast instruction.
No functionality change.
llvm-svn: 166191
|
2012-10-18 17:31:49 +00:00 |
|
Nadav Rotem
|
76ff018e87
|
remove unused variable to fix a warning.
llvm-svn: 166170
|
2012-10-18 06:09:21 +00:00 |
|
Nadav Rotem
|
67e1c2c770
|
Remove the use of dominators and AA.
llvm-svn: 166167
|
2012-10-18 05:33:02 +00:00 |
|
Nadav Rotem
|
fd924ec3c6
|
Vectorizer: Add support for loops with an unknown count. For example:
for (i=0; i<n; i++){
a[i] = b[i+1] + c[i+3];
}
llvm-svn: 166165
|
2012-10-18 05:29:12 +00:00 |
|
NAKAMURA Takumi
|
8ffefaa778
|
LoopVectorize.cpp: Fix a warning. [-Wunused-variable]
llvm-svn: 166153
|
2012-10-17 23:40:15 +00:00 |
|
Jakub Staszak
|
f66a4adca8
|
Remove redundant SetInsertPoint call.
llvm-svn: 166138
|
2012-10-17 23:06:37 +00:00 |
|
Roman Divacky
|
e9f1f9a823
|
Fix some typos and wrong indenting.
llvm-svn: 166128
|
2012-10-17 21:07:35 +00:00 |
|
Nadav Rotem
|
8303c909c7
|
Add a loop vectorizer.
llvm-svn: 166112
|
2012-10-17 18:25:06 +00:00 |
|