Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add a dump method to CallGraph | Chris Lattner | 2006-01-14 | 1 | -0/+4 | |
| | | | | llvm-svn: 25314 | |||||
* | Separate the call graph implementation from its interface. This implements | Chris Lattner | 2005-12-22 | 1 | -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 whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 | |
| | | | | llvm-svn: 21416 | |||||
* | Mission accomplished! | Chris Lattner | 2004-11-19 | 1 | -1/+0 | |
| | | | | llvm-svn: 17990 | |||||
* | 'Pass' should now not be derived from by clients. Instead, they should derive | Chris Lattner | 2004-09-20 | 1 | -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. This | Chris Lattner | 2004-09-19 | 1 | -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 method | Chris Lattner | 2004-09-18 | 1 | -0/+12 | |
| | | | | llvm-svn: 16398 | |||||
* | When changing a function, make sure to update the CallGraphNode for the | Chris Lattner | 2004-09-18 | 1 | -0/+1 | |
| | | | | | | function, not just the CallGraph. llvm-svn: 16388 | |||||
* | Implement new changeFunction method, nuke a never implemented one. | Chris Lattner | 2004-09-18 | 1 | -8/+14 | |
| | | | | llvm-svn: 16386 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -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 Lattner | 2004-08-08 | 1 | -16/+22 | |
| | | | | llvm-svn: 15569 | |||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 15334 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -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 not | Chris Lattner | 2004-05-02 | 1 | -0/+1 | |
| | | | | | | acting like a normal pass. :( llvm-svn: 13318 | |||||
* | Plug a minor memory leak | Chris Lattner | 2004-05-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 13317 | |||||
* | Change the call graph class to have TWO external nodes, making call graph | Chris Lattner | 2004-04-12 | 1 | -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 Gaeke | 2003-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | More additions | Chris Lattner | 2003-11-09 | 1 | -3/+4 | |
| | | | | llvm-svn: 9834 | |||||
* | Add more functions | Chris Lattner | 2003-11-09 | 1 | -0/+8 | |
| | | | | llvm-svn: 9826 | |||||
* | None of the __llvm_* functions call into the program. This makes the | Chris Lattner | 2003-11-09 | 1 | -0/+3 | |
| | | | | | | callgraph MUCH simpler for eh using program. llvm-svn: 9825 | |||||
* | Make the call graph more precise despite the hated constantpointerrefs. | Chris Lattner | 2003-10-31 | 1 | -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.cpp | Chris Lattner | 2003-10-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 9611 | |||||
* | This is a disgusting hack that improves code substantially, by making | Chris Lattner | 2003-10-22 | 1 | -2/+122 | |
| | | | | | | callgraphSCC passes more effective. llvm-svn: 9384 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | These two conditions are not exclusive!! | Chris Lattner | 2003-09-15 | 1 | -3/+6 | |
| | | | | llvm-svn: 8518 | |||||
* | Make the print output more useful | Chris Lattner | 2003-09-15 | 1 | -3/+7 | |
| | | | | llvm-svn: 8517 | |||||
* | Replace M with F when refering to functions | Chris Lattner | 2003-08-31 | 1 | -11/+11 | |
| | | | | llvm-svn: 8274 | |||||
* | Allow the call graph to be called from analyze naturally with print implemented | Chris Lattner | 2002-11-04 | 1 | -6/+5 | |
| | | | | llvm-svn: 4517 | |||||
* | - Do not expose ::ID from any of the analyses anymore. | Chris Lattner | 2002-08-21 | 1 | -1/+0 | |
| | | | | llvm-svn: 3417 | |||||
* | * Standardize how analysis results/passes as printed with the print() virtual | Chris Lattner | 2002-07-27 | 1 | -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 Lattner | 2002-07-26 | 1 | -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/function | Chris Lattner | 2002-07-18 | 1 | -52/+53 | |
| | | | | llvm-svn: 2958 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -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 Lattner | 2002-04-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 2223 | |||||
* | Add #includes to make up for #includes pruned out of header files. | Chris Lattner | 2002-04-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 2207 | |||||
* | s/Method/Function | Chris Lattner | 2002-03-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 2043 | |||||
* | change refs to Method to Function | Chris Lattner | 2002-03-26 | 1 | -13/+13 | |
| | | | | | | Change references to MEthodArgument to FunctionArgument llvm-svn: 1989 | |||||
* | Clean up call graph, add comments, and fix ↵ | Chris Lattner | 2002-03-06 | 1 | -30/+88 | |
| | | | | | | test/Regression/Other/2002-01-31-CallGraph.ll llvm-svn: 1828 | |||||
* | Move call graph printing support out of Writer.h into Callgraph.h | Chris Lattner | 2002-03-06 | 1 | -22/+2 | |
| | | | | | | remove dead global function llvm-svn: 1825 | |||||
* | Take CallGraph out of the CFG namespace. It has nothing to do with CFGs | Chris Lattner | 2002-03-06 | 1 | -12/+12 | |
| | | | | llvm-svn: 1820 | |||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 1 | -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 structure | Chris Lattner | 2002-01-31 | 1 | -2/+10 | |
| | | | | llvm-svn: 1603 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 1503 | |||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -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 things | Chris Lattner | 2001-11-27 | 1 | -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 module | Chris Lattner | 2001-11-26 | 1 | -13/+58 | |
| | | | | llvm-svn: 1369 | |||||
* | Added function IsLeafMethod to identify leaf methods. | Vikram S. Adve | 2001-10-22 | 1 | -0/+23 | |
| | | | | | | This will use the CallGraph only if one is provided. llvm-svn: 950 | |||||
* | * Add support for Invoke instructions | Chris Lattner | 2001-10-13 | 1 | -3/+11 | |
| | | | | | | * Add support for indirect calls llvm-svn: 752 | |||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -3/+1 | |
| | | | | llvm-svn: 697 | |||||
* | Initial support for construction of a call graph | Chris Lattner | 2001-09-28 | 1 | -0/+66 | |
llvm-svn: 660 |