Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 55779 | |||||
* | Replace two manual loops with calls to CallSite::hasArguments (no functional ↵ | Matthijs Kooijman | 2008-06-04 | 1 | -3/+1 | |
| | | | | | | changes). llvm-svn: 51947 | |||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -4/+5 | |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | |||||
* | add a new CallGraphNode::removeCallEdgeFor method, tidy some comments. | Chris Lattner | 2008-04-13 | 1 | -0/+14 | |
| | | | | llvm-svn: 49617 | |||||
* | PassInfo keep tracks whether a pass is an analysis pass or not. | Devang Patel | 2008-03-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 48554 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Rather than having special rules like "intrinsics cannot | Duncan Sands | 2007-12-03 | 1 | -1/+1 | |
| | | | | | | | | | throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544 | |||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -3/+3 | |
| | | | | llvm-svn: 36662 | |||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -4/+3 | |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | |||||
* | Fix build error. | Lauro Ramos Venancio | 2007-05-02 | 1 | -2/+4 | |
| | | | | llvm-svn: 36648 | |||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -1/+5 | |
| | | | | llvm-svn: 36632 | |||||
* | Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce | Reid Spencer | 2007-02-05 | 1 | -1/+2 | |
| | | | | | | LLVM's footprint and speed up linking. llvm-svn: 33941 | |||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -1/+1 | |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | |||||
* | Added an automatic cast to "std::ostream*" etc. from OStream. We then can | Bill Wendling | 2006-12-17 | 1 | -2/+2 | |
| | | | | | | | rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636 | |||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -4/+4 | |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | |||||
* | straighten out various memory ownership issues in the callgraph stuff. | Chris Lattner | 2006-12-05 | 1 | -3/+2 | |
| | | | | | | This fixes Regression/Other/2002-01-31-CallGraph.ll. llvm-svn: 32237 | |||||
* | Add a comment and fix a memory leak. Thanks to Vikram for pointing this out. | Chris Lattner | 2006-12-04 | 1 | -4/+5 | |
| | | | | llvm-svn: 32196 | |||||
* | Replacing std::iostreams with llvm iostreams. Some of these changes involve | Bill Wendling | 2006-11-29 | 1 | -4/+9 | |
| | | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990 | |||||
* | Fix a bug pointed out by Zhongxing Xu | Chris Lattner | 2006-10-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 30831 | |||||
* | simplify AnalysisGroup registration, eliminating one typeid call. | Chris Lattner | 2006-08-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 29932 | |||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 29925 | |||||
* | Change the callgraph representation to store the callsite along with the | Chris Lattner | 2006-07-12 | 1 | -17/+19 | |
| | | | | | | | | | | | target CG node. This allows the inliner to properly update the callgraph when using the pruning inliner. The pruning inliner may not copy over all call sites from a callee to a caller, so the edges corresponding to those call sites should not be copied over either. This fixes PR827 and Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll llvm-svn: 29120 | |||||
* | For PR780: | Reid Spencer | 2006-06-07 | 1 | -6/+3 | |
| | | | | | | | | | | 1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. llvm-svn: 28715 | |||||
* | Fix -pedantic warning | Chris Lattner | 2006-06-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 28634 | |||||
* | Change from using a stub function to a stub variable for passing to the | Reid Spencer | 2006-06-01 | 1 | -1/+1 | |
| | | | | | | | IncludeFile hack to ensure linkage of analysis passes. This works around some -pedantic warnings about assigning an object to a function. llvm-svn: 28621 | |||||
* | Add a new CallGraph::getOrInsertFunction for clients to use when updating | Chris Lattner | 2006-01-14 | 1 | -16/+19 | |
| | | | | | | the callgraph. llvm-svn: 25317 | |||||
* | 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 |