summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA
Commit message (Collapse)AuthorAgeFilesLines
* Malloc/Free have mod/ref effects. Do not allow CSE of function calls thatChris Lattner2005-04-221-0/+2
| | | | | | call malloc/free. This fixes PR555. llvm-svn: 21443
* Convert tabs to spacesMisha Brukman2005-04-222-4/+4
| | | | llvm-svn: 21439
* Remove trailing whitespaceMisha Brukman2005-04-217-53/+53
| | | | llvm-svn: 21416
* do not crash when using -debugChris Lattner2005-04-051-0/+4
| | | | llvm-svn: 21092
* do not dereference an extra layer of pointers to determine if an externalChris Lattner2005-04-041-12/+5
| | | | | | | call can modify a memory location. This fixes test/Regression/Analysis/Andersens/modreftest.ll llvm-svn: 21088
* import all of the rest of the stubs that dsa uses for direct comparisonChris Lattner2005-03-291-11/+43
| | | | llvm-svn: 20932
* learn about some more functions.Chris Lattner2005-03-291-4/+7
| | | | llvm-svn: 20929
* Fix a major problem with global variable initializers. This could causeChris Lattner2005-03-291-1/+2
| | | | | | | us to have stuff pointing to the null pointer, which makes no sense (the null ptr is an ssa value, not the null object) llvm-svn: 20922
* add some more functions, ignore setcc for constraints!Chris Lattner2005-03-291-4/+9
| | | | llvm-svn: 20917
* Handle "known" external calls context sensitively, add support for reallocChris Lattner2005-03-291-17/+29
| | | | | | | | and a couple of other functions that are important. Handle aggregate undef values for gv initializers llvm-svn: 20914
* Teach andersens that non-escaping memory cannot be mod/ref'd by external fn ↵Chris Lattner2005-03-281-2/+40
| | | | | | calls. llvm-svn: 20891
* Fix grammarMisha Brukman2005-03-281-1/+1
| | | | llvm-svn: 20890
* Make anders-aa much more precise by not being completely pessimistic aboutChris Lattner2005-03-281-1/+39
| | | | | | external functions. Teach it about a few important ones. llvm-svn: 20889
* wrap some long linesChris Lattner2005-03-271-5/+10
| | | | llvm-svn: 20884
* teach andersens about undefChris Lattner2005-03-271-1/+1
| | | | llvm-svn: 20881
* Simplify dead code into a fixme :)Chris Lattner2005-03-241-13/+4
| | | | llvm-svn: 20800
* fix a compiler crash in runtime/libprofileChris Lattner2005-03-241-1/+1
| | | | llvm-svn: 20799
* wrap a long lineChris Lattner2005-03-231-1/+2
| | | | llvm-svn: 20797
* If we are calling an external function, chain to another AA to potentiallyChris Lattner2005-03-231-8/+20
| | | | | | | | decide, don't just immediately give up. This implements GlobalsModRef/chaining-analysis.ll llvm-svn: 20796
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-153-9/+9
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Add even more missing createXxxPass functions.Jeff Cohen2005-01-081-0/+3
| | | | llvm-svn: 19402
* Actually overload the virtual method. This fixesChris Lattner2004-12-171-1/+2
| | | | | | | Regression/Analysis/GlobalsModRef/purecse.ll. Isn't this what the -Woverload-whatever flag would warn about :) llvm-svn: 19018
* Adjust to new alias analysis interfacesChris Lattner2004-12-151-10/+8
| | | | llvm-svn: 18957
* For PR387:\Reid Spencer2004-12-071-0/+3
| | | | | | Add getModRefInfo method to avoid overloaded virtuals llvm-svn: 18601
* For PR387:\Reid Spencer2004-12-071-2/+2
| | | | | | | Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual llvm-svn: 18589
* Mission accomplished!Chris Lattner2004-11-191-1/+0
| | | | llvm-svn: 17990
* Fix library name.Alkis Evlogimenos2004-10-281-1/+1
| | | | llvm-svn: 17306
* We won't use automakeReid Spencer2004-10-222-701/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+676
| | | | llvm-svn: 17136
* Add supportChris Lattner2004-10-161-0/+1
| | | | llvm-svn: 17052
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-5/+5
| | | | llvm-svn: 16950
* Build both archive and relinked objectsReid Spencer2004-10-101-1/+5
| | | | llvm-svn: 16892
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+21
| | | | llvm-svn: 16885
* 'Pass' should now not be derived from by clients. Instead, they should deriveChris Lattner2004-09-206-8/+8
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* Finegrainify namespacificationChris Lattner2004-09-201-7/+4
| | | | | | | | 'Pass' should now not be derived from by clients. Instead, they should derive from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16434
* Fix a nasty iterator invalidation problem I introduced yesterday. ThisChris Lattner2004-09-191-5/+5
| | | | | | | unfortunately is the cause of a bunch of failures from tonight, and the reason the tester is running so slow :( llvm-svn: 16407
* Add CallGraphNode::removeAnyCallEdgeTo methodChris Lattner2004-09-181-0/+12
| | | | llvm-svn: 16398
* When changing a function, make sure to update the CallGraphNode for theChris Lattner2004-09-181-0/+1
| | | | | | function, not just the CallGraph. llvm-svn: 16388
* Implement new changeFunction method, nuke a never implemented one.Chris Lattner2004-09-181-8/+14
| | | | llvm-svn: 16386
* Changes For Bug 352Reid Spencer2004-09-016-9/+9
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Fix a bug that caused the pass to go into infinite loops on trivial testcases.Chris Lattner2004-08-161-1/+2
| | | | | | This is fallout of the Bug 122 changes. llvm-svn: 15811
* Add standard print/dump methods to CallGraph classes.Chris Lattner2004-08-081-16/+22
| | | | llvm-svn: 15569
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-2/+1
| | | | llvm-svn: 15334
* nuke pointless -debug outputChris Lattner2004-07-271-4/+0
| | | | llvm-svn: 15267
* Fix conservative assumption, which was quite broken. Also, notice thatChris Lattner2004-07-271-2/+22
| | | | | | functions known to not access memory (like sin/cos) don't access memory! :) llvm-svn: 15264
* Complete rewrite of this pass to be faster, use less memory, be easier toChris Lattner2004-07-271-97/+148
| | | | | | | understand, and more accurate to boot! This implements GlobalModRef/purecse.ll over the previous impl. llvm-svn: 15260
* bug 122:Reid Spencer2004-07-184-15/+12
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942
* Fixes for PR341Chris Lattner2004-07-152-8/+6
| | | | llvm-svn: 14843
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-041-0/+1
| | | | 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
OpenPOWER on IntegriCloud