summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
Commit message (Collapse)AuthorAgeFilesLines
* Clean up reference counting to stop "leaking" alias setsChris Lattner2004-07-221-11/+13
| | | | llvm-svn: 15099
* These files don't need to include <iostream> since they include ↵Brian Gaeke2004-07-212-2/+0
| | | | | | "Support/Debug.h". llvm-svn: 15089
* Add capability to remove aliasing aliassets from an ASTChris Lattner2004-07-211-0/+56
| | | | llvm-svn: 15066
* Make the AST interface a bit richer by returning whether an insertion causedChris Lattner2004-07-211-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 usChris Lattner2004-07-211-4/+8
| | | | | | to miscompile the SingleSource/Regression/C++/pointer_member.cpp program. llvm-svn: 15062
* bug 122:Reid Spencer2004-07-189-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 informationChris Lattner2004-07-171-21/+29
| | | | | | for objects of size 0. llvm-svn: 14908
* Print modref information in a useful way.Chris Lattner2004-07-171-4/+14
| | | | llvm-svn: 14907
* Cleanups: fold two loops into oneChris Lattner2004-07-171-3/+9
| | | | | | New features: -print-all-alias-modref-info option, print more info llvm-svn: 14906
* Be compatible with IA64Chris Lattner2004-07-161-1/+2
| | | | llvm-svn: 14864
* Fixes for PR341Chris Lattner2004-07-153-15/+16
| | | | llvm-svn: 14843
* Fix for PR341Chris Lattner2004-07-151-1/+1
| | | | llvm-svn: 14842
* Simplify logic.Chris Lattner2004-07-141-2/+2
| | | | llvm-svn: 14825
* Disable some code that isn't helping mattersChris Lattner2004-07-081-1/+6
| | | | llvm-svn: 14682
* Headers movedChris Lattner2004-07-071-1/+1
| | | | llvm-svn: 14665
* Move all of the DSA headers into the Analysis/DataStructure subdir.Chris Lattner2004-07-0714-29/+31
| | | | llvm-svn: 14663
* As much as I hate to say it, the whole setNode interface for DSNodeHandlesChris Lattner2004-07-072-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 Spencer2004-07-0413-0/+19
| | | | llvm-svn: 14622
* Initial checkin of a simple mod/ref analysis for global variables. This isChris Lattner2004-06-281-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 dirChris Lattner2004-06-283-2/+234
| | | | llvm-svn: 14455
* Move DependenceGraph.* to lib/Analysis/DataStructureChris Lattner2004-06-284-2/+343
| | | | llvm-svn: 14452
* Moving to lib/Analysis/DataStructureChris Lattner2004-06-281-87/+0
| | | | llvm-svn: 14450
* Move MemoryDepAnalysis.h into lib/Analysis/DataStructureChris Lattner2004-06-284-3/+105
| | | | llvm-svn: 14448
* Move PgmDependenceGraph.h out of the public include hierarchyChris Lattner2004-06-283-2/+304
| | | | llvm-svn: 14446
* Simplify codeChris Lattner2004-06-261-12/+5
| | | | llvm-svn: 14424
* Fix headerChris Lattner2004-06-251-1/+1
| | | | llvm-svn: 14394
* Remove distasteful method which is really part of the indvars passChris Lattner2004-06-241-13/+0
| | | | llvm-svn: 14359
* Fix merging of nodes whose incoming offset is not zero. This unbreaks DSA onChris Lattner2004-06-231-2/+1
| | | | | | several mallocbench programs, including perl. llvm-svn: 14342
* File requires IPA, moved to lib/Analysis/IPAMisha Brukman2004-06-221-0/+0
| | | | llvm-svn: 14330
* File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructureMisha Brukman2004-06-221-0/+0
| | | | llvm-svn: 14327
* Files depend on DSA, moved to lib/Analysis/DataStructureMisha Brukman2004-06-222-0/+0
| | | | llvm-svn: 14326
* File depends on DSA, moved to lib/Analysis/DataStructureMisha Brukman2004-06-221-0/+495
| | | | llvm-svn: 14325
* If an edge points to a field of another memory object, actually reflect thisChris Lattner2004-06-221-0/+18
| | | | | | in the DOT visualization of the DSGraphs. llvm-svn: 14316
* REALLY fix PR378: crash in scalar evolution analysisChris Lattner2004-06-201-0/+1
| | | | llvm-svn: 14275
* Fix a bug in my change last night that caused a few test failures.Chris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14270
* Do not sort SCEV objects by address: instead sort by complexity and groupChris Lattner2004-06-201-18/+60
| | | | | | | by address. This prevents the resultant SCEV objects from depending on where in memory other scev objects happen to live. llvm-svn: 14263
* Fix a tiny bug in the -no-aa pass, in which it did not ever get a target data.Chris Lattner2004-06-191-9/+8
| | | | | | This is a regression from 1.2, though noone uses -no-aa anyway llvm-svn: 14245
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-171-2/+2
| | | | llvm-svn: 14201
* isnan is deadChris Lattner2004-06-151-1/+1
| | | | llvm-svn: 14191
* llvm.isnan doesn't access memoryChris Lattner2004-06-111-1/+1
| | | | llvm-svn: 14151
* Don't grab the condition of unconditional branches!Chris Lattner2004-06-081-7/+8
| | | | | | This fixes PR363 llvm-svn: 14076
* Add some notes so I can throw away one of my many todo lists.Chris Lattner2004-06-051-0/+6
| | | | llvm-svn: 14046
* Don't send random junk to CachedWriter's. Also remove a cast that could beChris Lattner2004-06-041-4/+6
| | | | | | problematic when Type does not derive from Value. llvm-svn: 14022
* Minor efficiency gain: do 1 nlogn lookup instead of twoChris Lattner2004-05-281-7/+4
| | | | | | Code cleanup llvm-svn: 13875
* Fix warnings about reaching end of non-void functionChris Lattner2004-05-271-0/+2
| | | | llvm-svn: 13852
* Recognize memalign and friends, and handle them specially.Vikram S. Adve2004-05-251-1/+2
| | | | llvm-svn: 13741
* Changes to work with the changes to the AliasAnalysis interface. The -no-aaChris Lattner2004-05-231-28/+67
| | | | | | class is now in the BasicAliasAnalysis.cpp file llvm-svn: 13684
* Move the -no-aa AA implementation into this file since both of theseChris Lattner2004-05-231-8/+46
| | | | | | | alias analysis implementations are special: they do not autoforward to a chained implementation of alias analysis llvm-svn: 13683
* Updates to work with the new auto-forwarding AA interface changesChris Lattner2004-05-231-9/+3
| | | | llvm-svn: 13682
* Fix a really nasty bug with the -disable-ds-field-sensitivity optionChris Lattner2004-05-231-0/+3
| | | | llvm-svn: 13681
OpenPOWER on IntegriCloud