summaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/O3_low-memory-unused_metrics.txt1
-rw-r--r--test/passes/converge_O3_metrics.bin.txt3
-rw-r--r--test/passes/func-metrics.txt6
-rw-r--r--test/passes/fuzz_metrics_noprint.bin.txt1
-rw-r--r--test/passes/metrics_all-features.txt2
-rw-r--r--test/passes/metrics_strip-debug_metrics.bin.txt2
-rw-r--r--test/passes/metrics_strip-producers_metrics.bin.txt2
-rw-r--r--test/passes/print_g_metrics.bin.txt1
-rw-r--r--test/passes/sparse_matrix_liveness.bin.txt2
-rw-r--r--test/passes/translate-to-fuzz_all-features_metrics_noprint.txt1
10 files changed, 21 insertions, 0 deletions
diff --git a/test/passes/O3_low-memory-unused_metrics.txt b/test/passes/O3_low-memory-unused_metrics.txt
index fd9245adc..8806e9a04 100644
--- a/test/passes/O3_low-memory-unused_metrics.txt
+++ b/test/passes/O3_low-memory-unused_metrics.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 1
[funcs] : 1
diff --git a/test/passes/converge_O3_metrics.bin.txt b/test/passes/converge_O3_metrics.bin.txt
index 312e67fe7..712172cc7 100644
--- a/test/passes/converge_O3_metrics.bin.txt
+++ b/test/passes/converge_O3_metrics.bin.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 2
[funcs] : 6
@@ -231,6 +232,7 @@ total
(i32.const 0)
)
)
+Metrics
total
[exports] : 2
[funcs] : 6
@@ -457,6 +459,7 @@ total
(i32.const 0)
)
)
+Metrics
total
[exports] : 2
[funcs] : 6
diff --git a/test/passes/func-metrics.txt b/test/passes/func-metrics.txt
index afd6afe07..b61e8146e 100644
--- a/test/passes/func-metrics.txt
+++ b/test/passes/func-metrics.txt
@@ -1,3 +1,4 @@
+Metrics
global
[exports] : 0
[funcs] : 3
@@ -106,6 +107,7 @@ func: ifs
)
)
)
+Metrics
global
[exports] : 0
[funcs] : 0
@@ -117,6 +119,7 @@ global
[total] : 0
(module
)
+Metrics
global
[exports] : 2
[funcs] : 3
@@ -194,6 +197,7 @@ export: b (func_b)
(call $waka)
)
)
+Metrics
global
[exports] : 1
[funcs] : 1
@@ -228,6 +232,7 @@ start: func_a
(call $waka)
)
)
+Metrics
global
[exports] : 0
[funcs] : 1
@@ -258,6 +263,7 @@ start: func_a
(call $waka)
)
)
+Metrics
global
[exports] : 1
[funcs] : 1
diff --git a/test/passes/fuzz_metrics_noprint.bin.txt b/test/passes/fuzz_metrics_noprint.bin.txt
index c5dab17e7..2f1719633 100644
--- a/test/passes/fuzz_metrics_noprint.bin.txt
+++ b/test/passes/fuzz_metrics_noprint.bin.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 23
[funcs] : 34
diff --git a/test/passes/metrics_all-features.txt b/test/passes/metrics_all-features.txt
index 2fcf29257..a5e80db45 100644
--- a/test/passes/metrics_all-features.txt
+++ b/test/passes/metrics_all-features.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 0
[funcs] : 1
@@ -80,6 +81,7 @@ total
)
)
)
+Metrics
total
[exports] : 0
[funcs] : 0
diff --git a/test/passes/metrics_strip-debug_metrics.bin.txt b/test/passes/metrics_strip-debug_metrics.bin.txt
index ef1b5c013..848db9e32 100644
--- a/test/passes/metrics_strip-debug_metrics.bin.txt
+++ b/test/passes/metrics_strip-debug_metrics.bin.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 1
[funcs] : 1
@@ -9,6 +10,7 @@ total
[total] : 1
[vars] : 0
Nop : 1
+Metrics
total
[exports] : 1
[funcs] : 1
diff --git a/test/passes/metrics_strip-producers_metrics.bin.txt b/test/passes/metrics_strip-producers_metrics.bin.txt
index a983af3a9..65d6bd6a8 100644
--- a/test/passes/metrics_strip-producers_metrics.bin.txt
+++ b/test/passes/metrics_strip-producers_metrics.bin.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 1
[funcs] : 1
@@ -9,6 +10,7 @@ total
[total] : 1
[vars] : 0
Nop : 1
+Metrics
total
[exports] : 1
[funcs] : 1
diff --git a/test/passes/print_g_metrics.bin.txt b/test/passes/print_g_metrics.bin.txt
index e5ac1edae..2acec546f 100644
--- a/test/passes/print_g_metrics.bin.txt
+++ b/test/passes/print_g_metrics.bin.txt
@@ -66,6 +66,7 @@
(nop)
)
)
+Metrics
total
[exports] : 3
[funcs] : 3
diff --git a/test/passes/sparse_matrix_liveness.bin.txt b/test/passes/sparse_matrix_liveness.bin.txt
index 7e9429545..62f7582c8 100644
--- a/test/passes/sparse_matrix_liveness.bin.txt
+++ b/test/passes/sparse_matrix_liveness.bin.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 1
[funcs] : 1
@@ -12,6 +13,7 @@ total
Const : 1
LocalGet : 1
LocalSet : 1
+Metrics
total
[exports] : 1
[funcs] : 1
diff --git a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt
index 6db0f908d..07afaa7eb 100644
--- a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt
+++ b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt
@@ -1,3 +1,4 @@
+Metrics
total
[exports] : 5
[funcs] : 9