Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug that caused the pass to go into infinite loops on trivial testcases. | Chris Lattner | 2004-08-16 | 1 | -1/+2 |
| | | | | | | This is fallout of the Bug 122 changes. llvm-svn: 15811 | ||||
* | Add standard print/dump methods to CallGraph classes. | Chris Lattner | 2004-08-08 | 1 | -16/+22 |
| | | | | llvm-svn: 15569 | ||||
* | Hide this option | Chris Lattner | 2004-08-02 | 1 | -1/+1 |
| | | | | llvm-svn: 15415 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 8 | -13/+8 |
| | | | | llvm-svn: 15334 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 3 | -8/+4 |
| | | | | llvm-svn: 15328 | ||||
* | Merge i*.h headers into Instructions.h as part of bug403. | Alkis Evlogimenos | 2004-07-29 | 1 | -2/+1 |
| | | | | llvm-svn: 15325 | ||||
* | Fix test/Regression/Analysis/BasicAA/2004-07-28-MustAliasbug.llx | Chris Lattner | 2004-07-29 | 1 | -5/+9 |
| | | | | | | | This also fixes the miscompilation of MallocBench/gs with dead store elimination enabled. llvm-svn: 15324 | ||||
* | Make the create...() functions for some of these passes return a FunctionPass *. | Brian Gaeke | 2004-07-27 | 1 | -1/+1 |
| | | | | llvm-svn: 15276 | ||||
* | nuke pointless -debug output | Chris Lattner | 2004-07-27 | 1 | -4/+0 |
| | | | | llvm-svn: 15267 | ||||
* | Fix conservative assumption, which was quite broken. Also, notice that | Chris Lattner | 2004-07-27 | 1 | -2/+22 |
| | | | | | | functions known to not access memory (like sin/cos) don't access memory! :) llvm-svn: 15264 | ||||
* | Remove a bogus assertion | Chris Lattner | 2004-07-27 | 1 | -3/+0 |
| | | | | llvm-svn: 15261 | ||||
* | Complete rewrite of this pass to be faster, use less memory, be easier to | Chris Lattner | 2004-07-27 | 1 | -97/+148 |
| | | | | | | | understand, and more accurate to boot! This implements GlobalModRef/purecse.ll over the previous impl. llvm-svn: 15260 | ||||
* | Use context-sensitive alias analysis to avoid pessimization in clients of | Chris Lattner | 2004-07-27 | 1 | -5/+23 |
| | | | | | | | AliasSetTracker (dse and licm). This implements DeadStoreElimination/context-sensitive.llx llvm-svn: 15254 | ||||
* | Make basicaa a bit more aggressive | Chris Lattner | 2004-07-27 | 1 | -0/+4 |
| | | | | llvm-svn: 15252 | ||||
* | basic-aa can actually provide simple mod/ref info | Chris Lattner | 2004-07-27 | 1 | -3/+3 |
| | | | | llvm-svn: 15251 | ||||
* | This was implemented back in march | Chris Lattner | 2004-07-27 | 1 | -7/+0 |
| | | | | llvm-svn: 15250 | ||||
* | Add some new methods | Chris Lattner | 2004-07-26 | 1 | -0/+13 |
| | | | | llvm-svn: 15230 | ||||
* | Fix a latent bug in the AliasSetTracker that was exposed by the FreeInst ↵ | Chris Lattner | 2004-07-25 | 1 | -1/+2 |
| | | | | | | additions and broke a bunch of programs last night. llvm-svn: 15214 | ||||
* | Add support for free instructions | Chris Lattner | 2004-07-25 | 1 | -2/+18 |
| | | | | llvm-svn: 15197 | ||||
* | Clean up reference counting to stop "leaking" alias sets | Chris Lattner | 2004-07-22 | 1 | -11/+13 |
| | | | | llvm-svn: 15099 | ||||
* | These files don't need to include <iostream> since they include ↵ | Brian Gaeke | 2004-07-21 | 2 | -2/+0 |
| | | | | | | "Support/Debug.h". llvm-svn: 15089 | ||||
* | Add capability to remove aliasing aliassets from an AST | Chris Lattner | 2004-07-21 | 1 | -0/+56 |
| | | | | llvm-svn: 15066 | ||||
* | Make the AST interface a bit richer by returning whether an insertion caused | Chris Lattner | 2004-07-21 | 1 | -19/+32 |
| | | | | | | an insertion or not (because the pointer set already existed). llvm-svn: 15064 | ||||
* | Do not ignore casts unless they are pointer-pointer casts. This caused us | Chris Lattner | 2004-07-21 | 1 | -4/+8 |
| | | | | | | to miscompile the SingleSource/Regression/C++/pointer_member.cpp program. llvm-svn: 15062 | ||||
* | bug 122: | Reid Spencer | 2004-07-18 | 9 | -48/+32 |
| | | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942 | ||||
* | Fix incorrect computation of mod/ref sets. Do not ask for mod/ref information | Chris Lattner | 2004-07-17 | 1 | -21/+29 |
| | | | | | | for objects of size 0. llvm-svn: 14908 | ||||
* | Print modref information in a useful way. | Chris Lattner | 2004-07-17 | 1 | -4/+14 |
| | | | | llvm-svn: 14907 | ||||
* | Cleanups: fold two loops into one | Chris Lattner | 2004-07-17 | 1 | -3/+9 |
| | | | | | | New features: -print-all-alias-modref-info option, print more info llvm-svn: 14906 | ||||
* | Be compatible with IA64 | Chris Lattner | 2004-07-16 | 1 | -1/+2 |
| | | | | llvm-svn: 14864 | ||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 3 | -15/+16 |
| | | | | llvm-svn: 14843 | ||||
* | Fix for PR341 | Chris Lattner | 2004-07-15 | 1 | -1/+1 |
| | | | | llvm-svn: 14842 | ||||
* | Simplify logic. | Chris Lattner | 2004-07-14 | 1 | -2/+2 |
| | | | | llvm-svn: 14825 | ||||
* | Disable some code that isn't helping matters | Chris Lattner | 2004-07-08 | 1 | -1/+6 |
| | | | | llvm-svn: 14682 | ||||
* | Headers moved | Chris Lattner | 2004-07-07 | 1 | -1/+1 |
| | | | | llvm-svn: 14665 | ||||
* | Move all of the DSA headers into the Analysis/DataStructure subdir. | Chris Lattner | 2004-07-07 | 14 | -29/+31 |
| | | | | llvm-svn: 14663 | ||||
* | As much as I hate to say it, the whole setNode interface for DSNodeHandles | Chris Lattner | 2004-07-07 | 2 | -11/+7 |
| | | | | | | | | | | | | is HOPELESSLY broken. The problem is that the embedded getNode call can change the offset of the node handle in unpredictable ways. As it turns out, all of the clients of this method really want to set both the node and the offset, thus it is more efficient (and less buggy) to just do both of them in one method call. This fixes some obscure bugs handling non-forwarded node handles. llvm-svn: 14660 | ||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 13 | -0/+19 |
| | | | | llvm-svn: 14622 | ||||
* | Initial checkin of a simple mod/ref analysis for global variables. This is | Chris Lattner | 2004-06-28 | 1 | -0/+327 |
| | | | | | | | still overly conservative and uses very simple data structures, but it is a start, and allows elimination of a lot of loads. llvm-svn: 14462 | ||||
* | Moved IPModRef out of the public include dir | Chris Lattner | 2004-06-28 | 3 | -2/+234 |
| | | | | llvm-svn: 14455 | ||||
* | Move DependenceGraph.* to lib/Analysis/DataStructure | Chris Lattner | 2004-06-28 | 4 | -2/+343 |
| | | | | llvm-svn: 14452 | ||||
* | Moving to lib/Analysis/DataStructure | Chris Lattner | 2004-06-28 | 1 | -87/+0 |
| | | | | llvm-svn: 14450 | ||||
* | Move MemoryDepAnalysis.h into lib/Analysis/DataStructure | Chris Lattner | 2004-06-28 | 4 | -3/+105 |
| | | | | llvm-svn: 14448 | ||||
* | Move PgmDependenceGraph.h out of the public include hierarchy | Chris Lattner | 2004-06-28 | 3 | -2/+304 |
| | | | | llvm-svn: 14446 | ||||
* | Simplify code | Chris Lattner | 2004-06-26 | 1 | -12/+5 |
| | | | | llvm-svn: 14424 | ||||
* | Fix header | Chris Lattner | 2004-06-25 | 1 | -1/+1 |
| | | | | llvm-svn: 14394 | ||||
* | Remove distasteful method which is really part of the indvars pass | Chris Lattner | 2004-06-24 | 1 | -13/+0 |
| | | | | llvm-svn: 14359 | ||||
* | Fix merging of nodes whose incoming offset is not zero. This unbreaks DSA on | Chris Lattner | 2004-06-23 | 1 | -2/+1 |
| | | | | | | several mallocbench programs, including perl. llvm-svn: 14342 | ||||
* | File requires IPA, moved to lib/Analysis/IPA | Misha Brukman | 2004-06-22 | 1 | -0/+0 |
| | | | | llvm-svn: 14330 | ||||
* | File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure | Misha Brukman | 2004-06-22 | 1 | -0/+0 |
| | | | | llvm-svn: 14327 | ||||
* | Files depend on DSA, moved to lib/Analysis/DataStructure | Misha Brukman | 2004-06-22 | 2 | -0/+0 |
| | | | | llvm-svn: 14326 |