[llvm-commits] [llvm] r56337 - in /llvm/trunk: test/Analysis/CallGraph/2008-09-09-DirectCall.ll test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll test/Other/2002-01-31-CallGraph.ll tools/opt/AnalysisWrappers.cpp
Duncan Sands
baldrick at free.fr
Mon Sep 22 07:46:39 PDT 2008
Hi Devang,
> How about renaming -callgraph as -dump-callgraph ?
opt has the following options that print info.
-callgraph - Print a call graph
-callscc - Print SCCs of the Call Graph
-cfgscc - Print SCCs of each function CFG
-externalfnconstants - Print external fn callsites passed constants
-print - Print function to stderr
-print-alias-sets - Alias Set Printer
-print-callgraph - Print Call Graph to 'dot' file
-print-cfg - Print CFG of function to 'dot' file
-print-cfg-only - Print CFG of function to 'dot' file (with no function bodies)
-print-dom-info - Dominator Info Printer
-printm - Print module to stderr
-printusedtypes - Find Used Types
It seems a bit of a mess. What do you think of the following changes:
-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
?
Ciao,
Duncan.
More information about the llvm-commits
mailing list