From d438edc542ae524c69cd0a5259c76313cf3abc76 Mon Sep 17 00:00:00 2001 From: dibyendumajumdar Date: Sat, 28 Oct 2023 12:13:35 +0100 Subject: Add writeup of if statement parsing --- chapter05/docs/05-graph2.svg | 228 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 chapter05/docs/05-graph2.svg (limited to 'chapter05/docs/05-graph2.svg') diff --git a/chapter05/docs/05-graph2.svg b/chapter05/docs/05-graph2.svg new file mode 100644 index 00000000..70d1a8c5 --- /dev/null +++ b/chapter05/docs/05-graph2.svg @@ -0,0 +1,228 @@ + + + + + + +chapter05 + + +cluster_Nodes + + + +cluster_Scope20_0 + + + +cluster_Scope20_1 + + + + +Start1 + + +Start + + + +$ctrl + +arg + + + +Con_5 + +#1 + + + +EQNode6 + +EQNode + + + +EQNode6->Start1:p1 + + + + + +EQNode6->Con_5 + + + + + +If7 + + +If + + + +True + + +False + + + +If7->Start1:p0 + + + + + +If7->EQNode6 + + + + + +Con_11 + +#2 + + + +Add12 + +Add + + + +Add12->Start1:p1 + + + + + +Add12->Con_11 + + + + + +Con_13 + +#3 + + + +Sub14 + +Sub + + + +Sub14->Start1:p1 + + + + + +Sub14->Con_13 + + + + + +Region15 + +Region + + + +Region15->If7:p0 + + + + + +Region15->If7:p1 + + + + + +Phi16 + +Phi + + + +Phi16->Add12 + + + + + +Phi16->Sub14 + + + + + +Phi16->Region15 + + + + + +Return17 + +Return + + + +Return17->Region15 + + + + + +Return17->Phi16 + + + + + +Scope20_0 + + +0 + +$ctrl + +arg + + + +Scope20_0:Scope20_0_arg->Start1:p1 + + + + + +Scope20_1 + + +1 + +a + + + +Scope20_1:Scope20_1_a->Phi16 + + + + + -- cgit v1.2.3