summaryrefslogtreecommitdiff
path: root/docs/chapter02/02-demonstration-peephole.json
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2023-09-26 17:43:36 +0100
committerCliff Click <cliffc@acm.org>2026-10-04 13:30:41 -0700
commitc9ca49691ac9040eb0459ac6de6c2fe62a347a02 (patch)
tree087e9c17b2bed2e7761f7adba1bc238b4db7e5b1 /docs/chapter02/02-demonstration-peephole.json
parent787a37d6b1753bb7c6abd36cba293737ad6b9a0a (diff)
downloadSimple-c9ca49691ac9040eb0459ac6de6c2fe62a347a02.tar.gz
Simple-c9ca49691ac9040eb0459ac6de6c2fe62a347a02.zip
Chapter 2: Arithmetic
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: Yichen Yan <oraluben@outlook.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: XmiliaH <45106915+XmiliaH@users.noreply.github.com> Co-authored-by: Hsiang-Ying Fu <66062782+fuhsnn@users.noreply.github.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: RobertObkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter02/02-demonstration-peephole.json')
-rw-r--r--docs/chapter02/02-demonstration-peephole.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/chapter02/02-demonstration-peephole.json b/docs/chapter02/02-demonstration-peephole.json
new file mode 100644
index 00000000..f78a058e
--- /dev/null
+++ b/docs/chapter02/02-demonstration-peephole.json
@@ -0,0 +1,14 @@
+{
+ "ver": 1,
+ "comp": "chapter02/docs/02-demonstration-peephole.svg",
+ "step": 1,
+ "roots": [],
+ "scope": 0,
+ "nodes": [
+ {"id": 1, "label": "Start", "type": null, "kind": "CTRL", "edges": [], "proj": null},
+ {"id": 5, "label": "#3", "type": null, "kind": "DATA", "edges": [{"idx": 0, "def": 1, "role": "ASSOC", "label": null}], "proj": null},
+ {"id": 6, "label": "Return", "type": null, "kind": "CTRL", "edges": [{"idx": 0, "def": 1, "role": "CTRL", "label": null}, {"idx": 1, "def": 5, "role": "DATA", "label": null}], "proj": null}
+ ],
+ "groups": [
+ ]
+}