From 8386c6b9e98f4de5850129d4ba3a24af3b669599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Hadh=C3=A1zy?= <85063808+Hels15@users.noreply.github.com> Date: Sat, 21 Sep 2024 08:59:52 +0100 Subject: extend chapter 2 peephole section (#118) * extend peephole section * fix bad indentatitons * Update README.md --- chapter02/docs/02-demonstration-peephole.svg | 54 +++++++++++ .../docs/02-demonstration-pre-peephole-nokill.svg | 100 +++++++++++++++++++++ chapter02/docs/02-demonstration-pre-peephole.svg | 87 ++++++++++++++++++ 3 files changed, 241 insertions(+) create mode 100644 chapter02/docs/02-demonstration-peephole.svg create mode 100644 chapter02/docs/02-demonstration-pre-peephole-nokill.svg create mode 100644 chapter02/docs/02-demonstration-pre-peephole.svg (limited to 'chapter02/docs') diff --git a/chapter02/docs/02-demonstration-peephole.svg b/chapter02/docs/02-demonstration-peephole.svg new file mode 100644 index 00000000..90ab6ca4 --- /dev/null +++ b/chapter02/docs/02-demonstration-peephole.svg @@ -0,0 +1,54 @@ + + + + + + +chapter02 + + +cluster_Nodes + + + + +Start1 + +Start + + + +Con_5 + +#3 + + + +Con_5->Start1 + + +0 + + + +Return6 + +Return + + + +Return6->Start1 + + +0 + + + +Return6->Con_5 + + +1 + + + \ No newline at end of file diff --git a/chapter02/docs/02-demonstration-pre-peephole-nokill.svg b/chapter02/docs/02-demonstration-pre-peephole-nokill.svg new file mode 100644 index 00000000..3d4f53df --- /dev/null +++ b/chapter02/docs/02-demonstration-pre-peephole-nokill.svg @@ -0,0 +1,100 @@ + + + + + + +chapter02 + + +cluster_Nodes + + + + +Start1 + +Start + + + +Con_2 + +#1 + + + +Con_2->Start1 + + +0 + + + +Con_3 + +#2 + + + +Con_3->Start1 + + +0 + + + +Add4 + ++ + + + +Add4->Con_2 + + +1 + + + +Add4->Con_3 + + +2 + + + +Con_5 + +#3 + + + +Con_5->Start1 + + +0 + + + +Return6 + +Return + + + +Return6->Start1 + + +0 + + + +Return6->Con_5 + + +1 + + + \ No newline at end of file diff --git a/chapter02/docs/02-demonstration-pre-peephole.svg b/chapter02/docs/02-demonstration-pre-peephole.svg new file mode 100644 index 00000000..49624652 --- /dev/null +++ b/chapter02/docs/02-demonstration-pre-peephole.svg @@ -0,0 +1,87 @@ + + + + + + +chapter02 + + +cluster_Nodes + + + + +Start1 + +Start + + + +Con_2 + +#1 + + + +Con_2->Start1 + + +0 + + + +Con_3 + +#2 + + + +Con_3->Start1 + + +0 + + + +Add4 + ++ + + + +Add4->Con_2 + + +1 + + + +Add4->Con_3 + + +2 + + + +Return5 + +Return + + + +Return5->Start1 + + +0 + + + +Return5->Add4 + + +1 + + + \ No newline at end of file -- cgit v1.2.3