summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/CallGraph.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* add a dump method to CallGraphChris Lattner2006-01-141-0/+4
| | | | llvm-svn: 25314
* Separate the call graph implementation from its interface. This implementsChris Lattner2005-12-221-105/+178
| | | | | | | | | the rough idea sketched out in http://nondot.org/sabre/LLVMNotes/CallGraphClass.txt, allowing new spiffy implementations of the callgraph interface to be built. Many thanks to Saem Ghani for contributing this! llvm-svn: 24944
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21416
* Mission accomplished!Chris Lattner2004-11-191-1/+0
| | | | llvm-svn: 17990
* 'Pass' should now not be derived from by clients. Instead, they should deriveChris Lattner2004-09-201-1/+1
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* 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-011-1/+1
| | | | | | | | 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
* 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
* bug 122:Reid Spencer2004-07-181-4/+2
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942
* Fix a problem with double freeing memory. For some reason, CallGraph is notChris Lattner2004-05-021-0/+1
| | | | | | acting like a normal pass. :( llvm-svn: 13318
* Plug a minor memory leakChris Lattner2004-05-021-0/+1
| | | | llvm-svn: 13317
* Change the call graph class to have TWO external nodes, making call graphChris Lattner2004-04-121-181/+22
| | | | | | | SCC passes much more useful. In particular, this should fix the incredibly stupid missed inlining opportunities that the inliner suffered from. llvm-svn: 12860
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* More additionsChris Lattner2003-11-091-3/+4
| | | | llvm-svn: 9834
* Add more functionsChris Lattner2003-11-091-0/+8
| | | | llvm-svn: 9826
* None of the __llvm_* functions call into the program. This makes theChris Lattner2003-11-091-0/+3
| | | | | | callgraph MUCH simpler for eh using program. llvm-svn: 9825
* Make the call graph more precise despite the hated constantpointerrefs.Chris Lattner2003-10-311-16/+36
| | | | | | Do you detect the animosity I feel towards CPRs yet? llvm-svn: 9640
* When someone includes CallGraph.h, make sure that they link in CallGraph.cppChris Lattner2003-10-301-0/+1
| | | | llvm-svn: 9611
* This is a disgusting hack that improves code substantially, by makingChris Lattner2003-10-221-2/+122
| | | | | | callgraphSCC passes more effective. llvm-svn: 9384
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* These two conditions are not exclusive!!Chris Lattner2003-09-151-3/+6
| | | | llvm-svn: 8518
* Make the print output more usefulChris Lattner2003-09-151-3/+7
| | | | llvm-svn: 8517
* Replace M with F when refering to functionsChris Lattner2003-08-311-11/+11
| | | | llvm-svn: 8274
* Allow the call graph to be called from analyze naturally with print implementedChris Lattner2002-11-041-6/+5
| | | | llvm-svn: 4517
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-211-1/+0
| | | | llvm-svn: 3417
* * Standardize how analysis results/passes as printed with the print() virtualChris Lattner2002-07-271-2/+1
| | | | | | | | | | methods * Eliminate AnalysisID: Now it is just a typedef for const PassInfo* * Simplify how AnalysisID's are initialized * Eliminate Analysis/Writer.cpp/.h: incorporate printing functionality into the analyses themselves. llvm-svn: 3116
* * Add support for different "PassType's"Chris Lattner2002-07-261-3/+2
| | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112
* * s/method/functionChris Lattner2002-07-181-52/+53
| | | | llvm-svn: 2958
* MEGAPATCH checkin.Chris Lattner2002-06-251-9/+8
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* Print out what the root of the call graph is.Chris Lattner2002-04-101-0/+2
| | | | llvm-svn: 2223
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2207
* s/Method/FunctionChris Lattner2002-03-291-2/+2
| | | | llvm-svn: 2043
* change refs to Method to FunctionChris Lattner2002-03-261-13/+13
| | | | | | Change references to MEthodArgument to FunctionArgument llvm-svn: 1989
* Clean up call graph, add comments, and fix ↵Chris Lattner2002-03-061-30/+88
| | | | | | test/Regression/Other/2002-01-31-CallGraph.ll llvm-svn: 1828
* Move call graph printing support out of Writer.h into Callgraph.hChris Lattner2002-03-061-22/+2
| | | | | | remove dead global function llvm-svn: 1825
* Take CallGraph out of the CFG namespace. It has nothing to do with CFGsChris Lattner2002-03-061-12/+12
| | | | llvm-svn: 1820
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-4/+3
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746
* Convert analyses to new pass structureChris Lattner2002-01-311-2/+10
| | | | llvm-svn: 1603
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-4/+4
| | | | llvm-svn: 1503
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-1/+1
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-1/+1
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Implement a new entry node that has edges to all external methods in the moduleChris Lattner2001-11-261-13/+58
| | | | llvm-svn: 1369
* Added function IsLeafMethod to identify leaf methods.Vikram S. Adve2001-10-221-0/+23
| | | | | | This will use the CallGraph only if one is provided. llvm-svn: 950
* * Add support for Invoke instructionsChris Lattner2001-10-131-3/+11
| | | | | | * Add support for indirect calls llvm-svn: 752
* Commit more code over to new cast styleChris Lattner2001-10-021-3/+1
| | | | llvm-svn: 697
* Initial support for construction of a call graphChris Lattner2001-09-281-0/+66
llvm-svn: 660
OpenPOWER on IntegriCloud