aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/CallGraph
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-09-23 12:47:39 +0000
committerDuncan Sands <baldrick@free.fr>2008-09-23 12:47:39 +0000
commit3ee8fc964952a65bcb3668b85938c46f90631e42 (patch)
tree9789cfd5d13ff14c8fc68588f8fb089e5c4d2b41 /test/Analysis/CallGraph
parent1de42e8374c1479dc30ae043c2ee87bd1d895afe (diff)
downloadexternal_llvm-3ee8fc964952a65bcb3668b85938c46f90631e42.zip
external_llvm-3ee8fc964952a65bcb3668b85938c46f90631e42.tar.gz
external_llvm-3ee8fc964952a65bcb3668b85938c46f90631e42.tar.bz2
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/CallGraph')
-rw-r--r--test/Analysis/CallGraph/2008-09-09-DirectCall.ll3
-rw-r--r--test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll b/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
index a3afc37..456ffa2 100644
--- a/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
+++ b/test/Analysis/CallGraph/2008-09-09-DirectCall.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function 'callee'} | count 2
+; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
+; RUN: grep {Calls function 'callee'} | count 2
define internal void @callee(...) {
entry:
diff --git a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
index 8e6e5d2..ffc27bb 100644
--- a/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
+++ b/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -callgraph -disable-output |& grep {Calls function}
+; RUN: llvm-as < %s | opt -print-callgraph -disable-output |& \
+; RUN: grep {Calls function}
@a = global void ()* @f ; <void ()**> [#uses=0]