summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFGPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with ↵Owen Anderson2010-07-211-3/+2
| | | | | | RegisterAnalysisGroup<> for pass registration. llvm-svn: 109058
* Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson2010-07-211-2/+1
| | | | llvm-svn: 109045
* Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky2009-10-251-1/+0
| | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-4/+4
| | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
* make DOTGraphTraits public, patch by Tobias Grosser!Chris Lattner2009-10-181-61/+2
| | | | llvm-svn: 84396
* The flag "--dot-cfg-only" is at the moment equivalent to the flag "--dot-cfg".Duncan Sands2009-09-191-1/+1
| | | | | | | It prints the content of all bbs, instead of printing empty bbs to make the CFG more readable. Fix this. Patch by Tobias Grosser. llvm-svn: 82315
* Make LLVM command-line tools overwrite their output files without -f.Dan Gohman2009-08-251-2/+2
| | | | | | | | | | | | | | | | This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990
* convert LoopInfo.h and GraphWriter.h to use raw_ostreamChris Lattner2009-08-231-11/+14
| | | | llvm-svn: 79836
* Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner2009-08-231-7/+4
| | | | | | update all code that this affects. llvm-svn: 79830
* eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner2009-08-231-8/+10
| | | | | | This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
* Switch to getNameStr().Daniel Dunbar2009-07-241-6/+6
| | | | llvm-svn: 76962
* Get rid of the global CFGOnly flag by threading a ShortNames parameters ↵Owen Anderson2009-06-241-20/+17
| | | | | | | | through the GraphViz rendering code. Update other uses in the codebase for this change. llvm-svn: 74084
* Rationalize the names of passes that print information:Duncan Sands2008-09-231-3/+3
| | | | | | | | | | | | | | | | | -callgraph => print-callgraph -callscc => print-callgraph-sccs -cfgscc => print-cfg-sccs -externalfnconstants => print-externalfnconstants -print => print-function -print-alias-sets (no change) -print-callgraph => dot-callgraph -print-cfg => dot-cfg -print-cfg-only => dot-cfg-only -print-dom-info (no change) -printm => print-module -printusedtypes => print-used-types llvm-svn: 56487
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-5/+5
| | | | llvm-svn: 55779
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-131-14/+21
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
* Restore isCFGOnly property of various analysis passes.Devang Patel2008-03-201-4/+4
| | | | llvm-svn: 48579
* PassInfo keep tracks whether a pass is an analysis pass or not.Devang Patel2008-03-191-7/+7
| | | | llvm-svn: 48554
* Do not use virtual function to identify an analysis pass.Devang Patel2008-03-191-16/+3
| | | | llvm-svn: 48520
* Identify Analysis pass.Devang Patel2008-03-181-0/+13
| | | | | | | Do not run analysis pass again if analysis info is still available. This fixes PR1441. llvm-svn: 48476
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Add explicit keywords.Dan Gohman2007-07-021-1/+1
| | | | llvm-svn: 37839
* Fix PR 1497Devang Patel2007-06-051-0/+2
| | | | | | Use separate pass id for CFGOnlyPrinter. llvm-svn: 37439
* Add passes -view-cfg and -view-cfg-only that are like -print-cfg andDan Gohman2007-05-141-0/+42
| | | | | | | -print-cfg-only except they use the ViewCFG function, which displays the CFG rendered with graphviz with gv. llvm-svn: 37033
* Fix typo in comment.Nick Lewycky2007-05-061-2/+2
| | | | llvm-svn: 36873
* Drop 'const'Devang Patel2007-05-031-4/+4
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-021-4/+4
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-011-0/+6
| | | | llvm-svn: 36632
* Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduceReid Spencer2007-02-051-2/+3
| | | | | | LLVM's footprint and speed up linking. llvm-svn: 33941
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-3/+3
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Remove the 'printname' argument to WriteAsOperand. It is always true, andChris Lattner2006-12-061-2/+2
| | | | | | passing false would make the asmprinter fail anyway. llvm-svn: 32264
* Removed some of the iostream #includes. Moved towards converting to usingBill Wendling2006-11-281-4/+4
| | | | | | llvm streams llvm-svn: 31983
* Needs the iostream include.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31815
* Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.Chris Lattner2006-08-271-3/+3
| | | | llvm-svn: 29921
* For PR801:Reid Spencer2006-06-271-95/+1
| | | | | | | | | Refactor the Graph writing code to use a common implementation which is now in lib/Support/GraphWriter.cpp. This completes the PR. Patch by Anton Korobeynikov. Thanks, Anton! llvm-svn: 28925
* For PR798:Reid Spencer2006-06-051-14/+66
| | | | | | Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
* * Unbreak optimized build (noticed by Eric van Riet Paap)Misha Brukman2005-08-041-3/+5
| | | | | | * Comment #endif clauses for readability llvm-svn: 22646
* add support for Graphviz when viewing CFGsChris Lattner2005-08-031-0/+20
| | | | llvm-svn: 22620
* Remove trailing whitespaceMisha Brukman2005-04-211-6/+6
| | | | llvm-svn: 21416
* 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
* 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
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-1/+1
| | | | llvm-svn: 15334
* Move the stuff that fixes the size, orientation & fonts of graphs toBrian Gaeke2004-05-051-5/+2
| | | | | | | | | | | the debugging functions that call "dot". These fixed settings have various problems: for example, the fixed size that is set in the graph traits classes is not appropriate for turning the dot file into a PNG, and if TrueType font rendering is being used, the 'Courier' TrueType font may not be installed. It seems easy enough to specify these things on the command line, anyhow. llvm-svn: 13366
* Reorder #includes as per style guide.Misha Brukman2004-04-291-3/+3
| | | | llvm-svn: 13263
* Add functions that return instances of these printer passesBrian Gaeke2004-04-261-0/+10
| | | | llvm-svn: 13175
* Finegrainify namespacificationChris Lattner2003-12-111-5/+23
| | | | | | Add new -print-cfg-only pass llvm-svn: 10407
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-3/+4
| | | | llvm-svn: 9903
* Make sure to print labels on nodes without namesChris Lattner2003-10-221-1/+7
| | | | llvm-svn: 9376
* If the basic block has no name, make sure to print the % number of itChris Lattner2003-10-221-1/+7
| | | | llvm-svn: 9375
* Implement the Function::viewCFG* methods, for use in a debugger. Also, theChris Lattner2003-10-221-0/+144
-print-cfg pass now lives here. llvm-svn: 9374
OpenPOWER on IntegriCloud