Owen Anderson
|
a7aed18624
|
Reapply r110396, with fixes to appease the Linux buildbot gods.
llvm-svn: 110460
|
2010-08-06 18:33:48 +00:00 |
Owen Anderson
|
bda59bd247
|
Revert r110396 to fix buildbots.
llvm-svn: 110410
|
2010-08-06 00:23:35 +00:00 |
Owen Anderson
|
755aceb5d0
|
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
2010-08-05 23:42:04 +00:00 |
Gabor Greif
|
dde79d8f1a
|
mass elimination of reliance on automatic iterator dereferencing
llvm-svn: 109103
|
2010-07-22 13:36:47 +00:00 |
Owen Anderson
|
a57b97e7e7
|
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
llvm-svn: 109045
|
2010-07-21 22:09:45 +00:00 |
Benjamin Kramer
|
ccce8bae14
|
Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer.
llvm-svn: 92726
|
2010-01-05 13:12:22 +00:00 |
Nick Lewycky
|
02d5f77d26
|
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042
|
2009-10-25 06:33:48 +00:00 |
Owen Anderson
|
b5049bebb3
|
Do away with the strange use of BitVectors in SSI, and just use normal sets. This makes the code much more C++/LLVM-ish.
llvm-svn: 83286
|
2009-10-04 18:49:55 +00:00 |
Owen Anderson
|
286feb16a9
|
Fix a typo in the comment.
llvm-svn: 83283
|
2009-10-04 17:52:13 +00:00 |
Owen Anderson
|
a62bf10651
|
SSI needs to require DT and DF transitively, since it uses them outside of its runOnFunction.
Similarly, it can be marked setPreservesAll, since it does no work in its runOnFunction.
llvm-svn: 83282
|
2009-10-04 17:47:39 +00:00 |
Nick Lewycky
|
dddf5dcdaf
|
Correctly handle the case where a comparison is created in one BasicBlock and
used by a terminator in another.
llvm-svn: 81437
|
2009-09-10 07:02:09 +00:00 |
Nick Lewycky
|
cbfe9b195c
|
Fix up PHI nodes correctly in the presence of unreachable BBs, part two. Also
delete a newed pointer, and improve readability a little bit.
llvm-svn: 79411
|
2009-08-19 07:16:57 +00:00 |
Nick Lewycky
|
9ddc52d5b8
|
Be more careful when modifying PHI nodes. Patch by Andre Tavares.
llvm-svn: 79407
|
2009-08-19 06:24:33 +00:00 |
Nick Lewycky
|
4c737147e1
|
Don't crash on critical edge. Patch by Andre Tavares.
llvm-svn: 79252
|
2009-08-17 17:00:57 +00:00 |
Nick Lewycky
|
dd0e74ceee
|
SSI construction should just go ahead and ignore instructions in unreachable
blocks.
llvm-svn: 79132
|
2009-08-15 20:12:18 +00:00 |
Owen Anderson
|
55f1c09e31
|
Push LLVMContexts through the IntegerType APIs.
llvm-svn: 78948
|
2009-08-13 21:58:54 +00:00 |
Dan Gohman
|
38484ceec9
|
Remove unnecessary casts.
llvm-svn: 78664
|
2009-08-11 15:15:10 +00:00 |
Nick Lewycky
|
ab81d2f5e9
|
There's no need to consider PHI nodes in the same block as the instruction
we're inserting sigma/phi functions for. Patch by Andre Tavares.
llvm-svn: 75138
|
2009-07-09 15:59:27 +00:00 |
Nick Lewycky
|
eb373ad2af
|
Add some statistics to SSI so we can see what it's up to.
Add an -ssi-everything pass which calls createSSI on everything in the function.
llvm-svn: 75135
|
2009-07-09 15:33:14 +00:00 |
Nick Lewycky
|
cb23509546
|
Add Static Single Information construction pass written by André Tavares!
Use it by requiring it through the pass manager, then calling its createSSI
method on the variables that you want in SSI form.
llvm-svn: 74780
|
2009-07-03 19:28:36 +00:00 |