summaryrefslogtreecommitdiff
path: root/docs/chapter11/graph7.gv
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-06-30 01:58:08 +0100
committerCliff Click <cliffc@acm.org>2025-02-07 09:12:14 -0800
commit8aa378bee34a405d19fdccb9a9250072e7b0701b (patch)
treeccde707d31dd34d05ca02ca6e1e05b75ab0cf95a /docs/chapter11/graph7.gv
parent2b61f5bcc096bb544658d6ee2c49ebfb053c3d70 (diff)
downloadSimple-8aa378bee34a405d19fdccb9a9250072e7b0701b.tar.gz
Simple-8aa378bee34a405d19fdccb9a9250072e7b0701b.zip
Chapter 11: Global Code Motion
Co-authored-by: Dibyendu Majumdar <mobile@majumdar.org.uk> Co-authored-by: Thalia Archibald <thalia@archibald.dev> Co-authored-by: tannal <tannal2409@gmail.com> Co-authored-by: hadha <helsgithub15@gmail.com> Co-authored-by: Tamás Hadházy <85063808+Hels15@users.noreply.github.com> Co-authored-by: Robert Obkircher <robert.obkircher@gmail.com>
Diffstat (limited to 'docs/chapter11/graph7.gv')
-rw-r--r--docs/chapter11/graph7.gv23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/chapter11/graph7.gv b/docs/chapter11/graph7.gv
new file mode 100644
index 00000000..18be364b
--- /dev/null
+++ b/docs/chapter11/graph7.gv
@@ -0,0 +1,23 @@
+digraph chapter11 {
+ rankdir=BT;
+ concentrate="true";
+ compound="true";
+ subgraph cluster_Nodes {
+ Start2 [ shape=plaintext label=<
+ <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
+ <TR><TD BGCOLOR="yellow">Start</TD></TR>
+ <TR><TD>
+ <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
+ <TR><TD PORT="p0" BGCOLOR="yellow">$ctrl</TD></TR>
+ </TABLE>
+ </TD></TR>
+ </TABLE>>
+ ];
+ Con_4 [ label="#0" ];
+ Loop8 [ shape=box style=filled fillcolor=yellow label="Loop" ];
+ { rank=same; Loop8;}
+ }
+ edge [ fontname=Helvetica, fontsize=8 ];
+ Loop8 -> Start2:p0[taillabel=1 color=red];
+ Loop8 -> Loop8[taillabel=2 color=red constraint=false];
+}