diff options
author | Duncan Sands <baldrick@free.fr> | 2008-09-23 12:47:39 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-09-23 12:47:39 +0000 |
commit | 9c40c289267d734766c2b29dc93554d2b0592174 (patch) | |
tree | a0bdb777bf39b2720da21e16361d0b21716861f7 /llvm/tools/opt/PrintSCC.cpp | |
parent | bdb215d338261f0de9d8b73920dcc8c9148d2ceb (diff) | |
download | bcm5719-llvm-9c40c289267d734766c2b29dc93554d2b0592174.tar.gz bcm5719-llvm-9c40c289267d734766c2b29dc93554d2b0592174.zip |
Rationalize the names of passes that print information:
-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
Diffstat (limited to 'llvm/tools/opt/PrintSCC.cpp')
-rw-r--r-- | llvm/tools/opt/PrintSCC.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/opt/PrintSCC.cpp b/llvm/tools/opt/PrintSCC.cpp index 0b9c12ff4bf..f314baaba93 100644 --- a/llvm/tools/opt/PrintSCC.cpp +++ b/llvm/tools/opt/PrintSCC.cpp @@ -14,12 +14,12 @@ // // (1) As a reference for how to use the scc_iterator. // (2) To print out the SCCs for a CFG or a CallGraph: -// analyze -cfgscc to print the SCCs in each CFG of a module. -// analyze -cfgscc -stats to print the #SCCs and the maximum SCC size. -// analyze -cfgscc -debug > /dev/null to watch the algorithm in action. +// analyze -print-cfg-sccs to print the SCCs in each CFG of a module. +// analyze -print-cfg-sccs -stats to print the #SCCs and the maximum SCC size. +// analyze -print-cfg-sccs -debug > /dev/null to watch the algorithm in action. // // and similarly: -// analyze -callscc [-stats] [-debug] to print SCCs in the CallGraph +// analyze -print-callgraph-sccs [-stats] [-debug] to print SCCs in the CallGraph // // (3) To test the scc_iterator. // @@ -64,11 +64,11 @@ namespace { char CFGSCC::ID = 0; RegisterPass<CFGSCC> - Y("cfgscc", "Print SCCs of each function CFG"); + Y("print-cfg-sccs", "Print SCCs of each function CFG"); char CallGraphSCC::ID = 0; RegisterPass<CallGraphSCC> - Z("callscc", "Print SCCs of the Call Graph"); + Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); } bool CFGSCC::runOnFunction(Function &F) { |