summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-05-22 12:20:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-05-22 12:49:18 -0400
commit305ee902874b49351f4916e303c293523f11570b (patch)
treebd3e3d479d855cd0cad7fab1ff23b53ad7481b44 /tests
parenta3a9a2ed41394c7ae9a1e5f57b0379b2c3a564d0 (diff)
downloadbfs-305ee902874b49351f4916e303c293523f11570b.tar.xz
opt: Track data flow information about predicates
This allows us to optimize things like -sparse -o -not -sparse <==> -true and -sparse -a -not -sparse <==> -false
Diffstat (limited to 'tests')
-rw-r--r--tests/test_data_flow_group.out19
-rw-r--r--tests/test_data_flow_hidden.out19
-rw-r--r--tests/test_data_flow_sparse.out19
-rw-r--r--tests/test_data_flow_user.out19
4 files changed, 76 insertions, 0 deletions
diff --git a/tests/test_data_flow_group.out b/tests/test_data_flow_group.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_data_flow_group.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_data_flow_hidden.out b/tests/test_data_flow_hidden.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_data_flow_hidden.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_data_flow_sparse.out b/tests/test_data_flow_sparse.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_data_flow_sparse.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz
diff --git a/tests/test_data_flow_user.out b/tests/test_data_flow_user.out
new file mode 100644
index 0000000..bb3cd8d
--- /dev/null
+++ b/tests/test_data_flow_user.out
@@ -0,0 +1,19 @@
+basic
+basic/a
+basic/b
+basic/c
+basic/e
+basic/g
+basic/i
+basic/j
+basic/k
+basic/l
+basic/c/d
+basic/e/f
+basic/g/h
+basic/j/foo
+basic/k/foo
+basic/l/foo
+basic/k/foo/bar
+basic/l/foo/bar
+basic/l/foo/bar/baz