summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SSI.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid going through the LLVMContext for type equality where it's safe to ↵Benjamin Kramer2010-01-051-1/+1
| | | | | | dereference the type pointer. llvm-svn: 92726
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-1/+1
| | | | | | | 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
* Do away with the strange use of BitVectors in SSI, and just use normal sets. ↵Owen Anderson2009-10-041-116/+90
| | | | | | This makes the code much more C++/LLVM-ish. llvm-svn: 83286
* Fix a typo in the comment.Owen Anderson2009-10-041-1/+1
| | | | llvm-svn: 83283
* SSI needs to require DT and DF transitively, since it uses them outside of ↵Owen Anderson2009-10-041-3/+3
| | | | | | | | its runOnFunction. Similarly, it can be marked setPreservesAll, since it does no work in its runOnFunction. llvm-svn: 83282
* Correctly handle the case where a comparison is created in one BasicBlock andNick Lewycky2009-09-101-37/+30
| | | | | | used by a terminator in another. llvm-svn: 81437
* Fix up PHI nodes correctly in the presence of unreachable BBs, part two. AlsoNick Lewycky2009-08-191-7/+30
| | | | | | delete a newed pointer, and improve readability a little bit. llvm-svn: 79411
* Be more careful when modifying PHI nodes. Patch by Andre Tavares.Nick Lewycky2009-08-191-1/+2
| | | | llvm-svn: 79407
* Don't crash on critical edge. Patch by Andre Tavares.Nick Lewycky2009-08-171-1/+1
| | | | llvm-svn: 79252
* SSI construction should just go ahead and ignore instructions in unreachableNick Lewycky2009-08-151-2/+6
| | | | | | blocks. llvm-svn: 79132
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-1/+1
| | | | llvm-svn: 78948
* Remove unnecessary casts.Dan Gohman2009-08-111-1/+1
| | | | llvm-svn: 78664
* There's no need to consider PHI nodes in the same block as the instructionNick Lewycky2009-07-091-0/+4
| | | | | | we're inserting sigma/phi functions for. Patch by Andre Tavares. llvm-svn: 75138
* Add some statistics to SSI so we can see what it's up to.Nick Lewycky2009-07-091-0/+43
| | | | | | Add an -ssi-everything pass which calls createSSI on everything in the function. llvm-svn: 75135
* Add Static Single Information construction pass written by André Tavares!Nick Lewycky2009-07-031-0/+390
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
OpenPOWER on IntegriCloud