diff options
Diffstat (limited to 'chapter02/docs/02-pre-peephole-ex1.svg')
| -rw-r--r-- | chapter02/docs/02-pre-peephole-ex1.svg | 299 |
1 files changed, 149 insertions, 150 deletions
diff --git a/chapter02/docs/02-pre-peephole-ex1.svg b/chapter02/docs/02-pre-peephole-ex1.svg index dc33c7f5..8a1ef457 100644 --- a/chapter02/docs/02-pre-peephole-ex1.svg +++ b/chapter02/docs/02-pre-peephole-ex1.svg @@ -1,156 +1,155 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" - "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!-- Generated by graphviz version 2.43.0 (0) --> <!-- Title: chapter02 Pages: 1 --> -<svg width="301pt" height="404pt" - viewBox="0.00 0.00 301.08 404.00" xmlns="http://www.w3.org/2000/svg"> - <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 400)"> - <title>chapter02</title> - <polygon fill="white" stroke="transparent" points="-4,4 -4,-400 297.08,-400 297.08,4 -4,4"/> - <!-- Start1 --> - <g id="node1" class="node"> - <title>Start1</title> - <polygon fill="none" stroke="black" points="169.34,-396 115.34,-396 115.34,-360 169.34,-360 169.34,-396"/> - <text text-anchor="middle" x="142.34" y="-374.3" font-family="Times,serif" font-size="14.00">Start</text> - </g> - <!-- Con12 --> - <g id="node2" class="node"> - <title>Con12</title> - <ellipse fill="none" stroke="black" cx="46.34" cy="-162" rx="34.39" ry="18"/> - <text text-anchor="middle" x="46.34" y="-158.3" font-family="Times,serif" font-size="14.00">Con1</text> - </g> - <!-- Start1->Con12 --> - <g id="edge1" class="edge"> - <title>Start1->Con12</title> - <path fill="none" stroke="black" stroke-dasharray="1,5" - d="M115.19,-374.6C84.32,-370.26 35.25,-358.08 12.34,-324 -15.78,-282.17 11,-221.54 30.37,-187.88"/> - <polygon fill="black" stroke="black" points="33.47,-189.52 35.59,-179.14 27.46,-185.93 33.47,-189.52"/> - </g> - <!-- Con23 --> - <g id="node3" class="node"> - <title>Con23</title> - <ellipse fill="none" stroke="black" cx="55.34" cy="-306" rx="34.39" ry="18"/> - <text text-anchor="middle" x="55.34" y="-302.3" font-family="Times,serif" font-size="14.00">Con2</text> - </g> - <!-- Start1->Con23 --> - <g id="edge2" class="edge"> - <title>Start1->Con23</title> - <path fill="none" stroke="black" stroke-dasharray="1,5" - d="M120.83,-359.7C108.86,-350.07 93.88,-338.01 81.26,-327.86"/> - <polygon fill="black" stroke="black" points="83.35,-325.05 73.37,-321.51 78.97,-330.5 83.35,-325.05"/> - </g> - <!-- Con34 --> - <g id="node4" class="node"> - <title>Con34</title> - <ellipse fill="none" stroke="black" cx="142.34" cy="-306" rx="34.39" ry="18"/> - <text text-anchor="middle" x="142.34" y="-302.3" font-family="Times,serif" font-size="14.00">Con3</text> - </g> - <!-- Start1->Con34 --> - <g id="edge3" class="edge"> - <title>Start1->Con34</title> - <path fill="none" stroke="black" stroke-dasharray="1,5" - d="M142.34,-359.7C142.34,-351.98 142.34,-342.71 142.34,-334.11"/> - <polygon fill="black" stroke="black" points="145.84,-334.1 142.34,-324.1 138.84,-334.1 145.84,-334.1"/> - </g> - <!-- Con56 --> - <g id="node6" class="node"> - <title>Con56</title> - <ellipse fill="none" stroke="black" cx="229.34" cy="-306" rx="34.39" ry="18"/> - <text text-anchor="middle" x="229.34" y="-302.3" font-family="Times,serif" font-size="14.00">Con5</text> - </g> - <!-- Start1->Con56 --> - <g id="edge6" class="edge"> - <title>Start1->Con56</title> - <path fill="none" stroke="black" stroke-dasharray="1,5" - d="M163.84,-359.7C175.81,-350.07 190.8,-338.01 203.41,-327.86"/> - <polygon fill="black" stroke="black" points="205.71,-330.5 211.31,-321.51 201.32,-325.05 205.71,-330.5"/> - </g> - <!-- Return10 --> - <g id="node10" class="node"> - <title>Return10</title> - <polygon fill="none" stroke="black" points="268.34,-36 202.34,-36 202.34,0 268.34,0 268.34,-36"/> - <text text-anchor="middle" x="235.34" y="-14.3" font-family="Times,serif" font-size="14.00">Return</text> - </g> - <!-- Start1->Return10 --> - <g id="edge13" class="edge"> - <title>Start1->Return10</title> - <path fill="none" stroke="red" - d="M169.34,-373.51C199.13,-368.18 246.29,-355.12 272.34,-324 298.3,-292.99 291.34,-275.45 291.34,-235 291.34,-235 291.34,-235 291.34,-161 291.34,-117.91 268.74,-72.26 252.26,-44.7"/> - <polygon fill="red" stroke="red" points="255.17,-42.75 246.94,-36.07 249.21,-46.42 255.17,-42.75"/> - </g> - <!-- Add9 --> - <g id="node9" class="node"> - <title>Add9</title> - <ellipse fill="none" stroke="black" cx="180.34" cy="-90" rx="28.7" ry="18"/> - <text text-anchor="middle" x="180.34" y="-86.3" font-family="Times,serif" font-size="14.00">Add</text> - </g> - <!-- Con12->Add9 --> - <g id="edge10" class="edge"> - <title>Con12->Add9</title> - <path fill="none" stroke="black" d="M69.99,-148.65C92.27,-137 125.77,-119.5 150.02,-106.84"/> - <polygon fill="black" stroke="black" points="151.89,-109.81 159.13,-102.08 148.65,-103.61 151.89,-109.81"/> - </g> - <!-- Mul5 --> - <g id="node5" class="node"> - <title>Mul5</title> - <ellipse fill="none" stroke="black" cx="137.34" cy="-234" rx="28.7" ry="18"/> - <text text-anchor="middle" x="137.34" y="-230.3" font-family="Times,serif" font-size="14.00">Mul</text> - </g> - <!-- Con23->Mul5 --> - <g id="edge4" class="edge"> - <title>Con23->Mul5</title> - <path fill="none" stroke="black" d="M72.73,-290.15C84.56,-280.05 100.38,-266.55 113.4,-255.43"/> - <polygon fill="black" stroke="black" points="115.76,-258.03 121.09,-248.87 111.21,-252.7 115.76,-258.03"/> - </g> - <!-- Con34->Mul5 --> - <g id="edge5" class="edge"> - <title>Con34->Mul5</title> - <path fill="none" stroke="black" d="M141.1,-287.7C140.55,-279.98 139.89,-270.71 139.27,-262.11"/> - <polygon fill="black" stroke="black" points="142.76,-261.83 138.56,-252.1 135.78,-262.33 142.76,-261.83"/> - </g> - <!-- Add8 --> - <g id="node8" class="node"> - <title>Add8</title> - <ellipse fill="none" stroke="black" cx="180.34" cy="-162" rx="28.7" ry="18"/> - <text text-anchor="middle" x="180.34" y="-158.3" font-family="Times,serif" font-size="14.00">Add</text> - </g> - <!-- Mul5->Add8 --> - <g id="edge8" class="edge"> - <title>Mul5->Add8</title> - <path fill="none" stroke="black" d="M147.31,-216.76C152.58,-208.19 159.15,-197.49 165.04,-187.9"/> - <polygon fill="black" stroke="black" points="168.17,-189.5 170.42,-179.15 162.2,-185.84 168.17,-189.5"/> - </g> - <!-- Minus7 --> - <g id="node7" class="node"> - <title>Minus7</title> - <ellipse fill="none" stroke="black" cx="223.34" cy="-234" rx="39.79" ry="18"/> - <text text-anchor="middle" x="223.34" y="-230.3" font-family="Times,serif" font-size="14.00">Minus</text> - </g> - <!-- Con56->Minus7 --> - <g id="edge7" class="edge"> - <title>Con56->Minus7</title> - <path fill="none" stroke="black" d="M227.85,-287.7C227.19,-279.98 226.4,-270.71 225.66,-262.11"/> - <polygon fill="black" stroke="black" points="229.15,-261.77 224.8,-252.1 222.17,-262.37 229.15,-261.77"/> - </g> - <!-- Minus7->Add8 --> - <g id="edge9" class="edge"> - <title>Minus7->Add8</title> - <path fill="none" stroke="black" d="M213.15,-216.41C207.88,-207.83 201.34,-197.19 195.49,-187.67"/> - <polygon fill="black" stroke="black" points="198.38,-185.68 190.16,-178.99 192.41,-189.34 198.38,-185.68"/> - </g> - <!-- Add8->Add9 --> - <g id="edge11" class="edge"> - <title>Add8->Add9</title> - <path fill="none" stroke="black" d="M180.34,-143.7C180.34,-135.98 180.34,-126.71 180.34,-118.11"/> - <polygon fill="black" stroke="black" points="183.84,-118.1 180.34,-108.1 176.84,-118.1 183.84,-118.1"/> - </g> - <!-- Add9->Return10 --> - <g id="edge12" class="edge"> - <title>Add9->Return10</title> - <path fill="none" stroke="black" d="M192.54,-73.46C199.2,-64.99 207.61,-54.29 215.21,-44.61"/> - <polygon fill="black" stroke="black" points="218.19,-46.49 221.62,-36.46 212.69,-42.16 218.19,-46.49"/> - </g> - </g> +<svg width="322pt" height="436pt" + viewBox="0.00 0.00 322.00 436.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 432)"> +<title>chapter02</title> +<polygon fill="white" stroke="transparent" points="-4,4 -4,-432 318,-432 318,4 -4,4"/> +<g id="clust1" class="cluster"> +<title>cluster_Nodes</title> +<polygon fill="none" stroke="black" points="8,-8 8,-420 306,-420 306,-8 8,-8"/> +</g> +<!-- Start1 --> +<g id="node1" class="node"> +<title>Start1</title> +<polygon fill="yellow" stroke="black" points="117,-412 63,-412 63,-376 117,-376 117,-412"/> +<text text-anchor="middle" x="90" y="-390.3" font-family="Times,serif" font-size="14.00">Start</text> +</g> +<!-- Con12 --> +<g id="node2" class="node"> +<title>Con12</title> +<ellipse fill="none" stroke="black" cx="70" cy="-178" rx="34.39" ry="18"/> +<text text-anchor="middle" x="70" y="-174.3" font-family="Times,serif" font-size="14.00">Con1</text> +</g> +<!-- Con12->Start1 --> +<g id="edge1" class="edge"> +<title>Con12->Start1</title> +<path fill="none" stroke="black" stroke-dasharray="1,5" d="M62.43,-195.98C50.2,-225.92 29.16,-289.7 47,-340 50.66,-350.32 57.29,-360.1 64.26,-368.39"/> +<polygon fill="black" stroke="black" points="61.67,-370.74 70.96,-375.84 66.87,-366.06 61.67,-370.74"/> +</g> +<!-- Con23 --> +<g id="node3" class="node"> +<title>Con23</title> +<ellipse fill="none" stroke="black" cx="90" cy="-322" rx="34.39" ry="18"/> +<text text-anchor="middle" x="90" y="-318.3" font-family="Times,serif" font-size="14.00">Con2</text> +</g> +<!-- Con23->Start1 --> +<g id="edge2" class="edge"> +<title>Con23->Start1</title> +<path fill="none" stroke="black" stroke-dasharray="1,5" d="M90,-340.3C90,-348.02 90,-357.29 90,-365.89"/> +<polygon fill="black" stroke="black" points="86.5,-365.9 90,-375.9 93.5,-365.9 86.5,-365.9"/> +</g> +<!-- Con34 --> +<g id="node4" class="node"> +<title>Con34</title> +<ellipse fill="none" stroke="black" cx="177" cy="-322" rx="34.39" ry="18"/> +<text text-anchor="middle" x="177" y="-318.3" font-family="Times,serif" font-size="14.00">Con3</text> +</g> +<!-- Con34->Start1 --> +<g id="edge3" class="edge"> +<title>Con34->Start1</title> +<path fill="none" stroke="black" stroke-dasharray="1,5" d="M158.97,-337.5C147.52,-346.72 132.42,-358.87 119.27,-369.45"/> +<polygon fill="black" stroke="black" points="116.98,-366.8 111.38,-375.8 121.37,-372.25 116.98,-366.8"/> +</g> +<!-- Mul5 --> +<g id="node5" class="node"> +<title>Mul5</title> +<ellipse fill="none" stroke="black" cx="161" cy="-250" rx="28.7" ry="18"/> +<text text-anchor="middle" x="161" y="-246.3" font-family="Times,serif" font-size="14.00">Mul</text> +</g> +<!-- Mul5->Con23 --> +<g id="edge4" class="edge"> +<title>Mul5->Con23</title> +<path fill="none" stroke="black" d="M146.29,-265.5C136.65,-275 123.86,-287.62 112.91,-298.42"/> +<polygon fill="black" stroke="black" points="110.34,-296.03 105.68,-305.54 115.26,-301.02 110.34,-296.03"/> +</g> +<!-- Mul5->Con34 --> +<g id="edge5" class="edge"> +<title>Mul5->Con34</title> +<path fill="none" stroke="black" d="M164.87,-267.95C166.65,-275.74 168.81,-285.18 170.81,-293.92"/> +<polygon fill="black" stroke="black" points="167.41,-294.76 173.05,-303.72 174.24,-293.2 167.41,-294.76"/> +</g> +<!-- Con56 --> +<g id="node6" class="node"> +<title>Con56</title> +<ellipse fill="none" stroke="black" cx="264" cy="-322" rx="34.39" ry="18"/> +<text text-anchor="middle" x="264" y="-318.3" font-family="Times,serif" font-size="14.00">Con5</text> +</g> +<!-- Con56->Start1 --> +<g id="edge6" class="edge"> +<title>Con56->Start1</title> +<path fill="none" stroke="black" stroke-dasharray="1,5" d="M237.57,-333.63C207.98,-345.54 159.83,-364.91 126.62,-378.27"/> +<polygon fill="black" stroke="black" points="125.22,-375.06 117.25,-382.04 127.83,-381.55 125.22,-375.06"/> +</g> +<!-- Minus7 --> +<g id="node7" class="node"> +<title>Minus7</title> +<ellipse fill="none" stroke="black" cx="252" cy="-250" rx="39.79" ry="18"/> +<text text-anchor="middle" x="252" y="-246.3" font-family="Times,serif" font-size="14.00">Minus</text> +</g> +<!-- Minus7->Con56 --> +<g id="edge7" class="edge"> +<title>Minus7->Con56</title> +<path fill="none" stroke="black" d="M254.97,-268.3C256.29,-276.02 257.88,-285.29 259.35,-293.89"/> +<polygon fill="black" stroke="black" points="255.93,-294.63 261.07,-303.9 262.83,-293.45 255.93,-294.63"/> +</g> +<!-- Add8 --> +<g id="node8" class="node"> +<title>Add8</title> +<ellipse fill="none" stroke="black" cx="161" cy="-178" rx="28.7" ry="18"/> +<text text-anchor="middle" x="161" y="-174.3" font-family="Times,serif" font-size="14.00">Add</text> +</g> +<!-- Add8->Mul5 --> +<g id="edge8" class="edge"> +<title>Add8->Mul5</title> +<path fill="none" stroke="black" d="M161,-196.3C161,-204.02 161,-213.29 161,-221.89"/> +<polygon fill="black" stroke="black" points="157.5,-221.9 161,-231.9 164.5,-221.9 157.5,-221.9"/> +</g> +<!-- Add8->Minus7 --> +<g id="edge9" class="edge"> +<title>Add8->Minus7</title> +<path fill="none" stroke="black" d="M178.55,-192.5C191.62,-202.55 209.72,-216.48 224.68,-227.99"/> +<polygon fill="black" stroke="black" points="222.56,-230.77 232.62,-234.09 226.83,-225.22 222.56,-230.77"/> +</g> +<!-- Add9 --> +<g id="node9" class="node"> +<title>Add9</title> +<ellipse fill="none" stroke="black" cx="70" cy="-106" rx="28.7" ry="18"/> +<text text-anchor="middle" x="70" y="-102.3" font-family="Times,serif" font-size="14.00">Add</text> +</g> +<!-- Add9->Con12 --> +<g id="edge10" class="edge"> +<title>Add9->Con12</title> +<path fill="none" stroke="black" d="M70,-124.3C70,-132.02 70,-141.29 70,-149.89"/> +<polygon fill="black" stroke="black" points="66.5,-149.9 70,-159.9 73.5,-149.9 66.5,-149.9"/> +</g> +<!-- Add9->Add8 --> +<g id="edge11" class="edge"> +<title>Add9->Add8</title> +<path fill="none" stroke="black" d="M87.55,-120.5C101.14,-130.96 120.18,-145.6 135.46,-157.35"/> +<polygon fill="black" stroke="black" points="133.45,-160.22 143.51,-163.54 137.72,-154.67 133.45,-160.22"/> +</g> +<!-- Return10 --> +<g id="node10" class="node"> +<title>Return10</title> +<polygon fill="yellow" stroke="black" points="92,-52 26,-52 26,-16 92,-16 92,-52"/> +<text text-anchor="middle" x="59" y="-30.3" font-family="Times,serif" font-size="14.00">Return</text> +</g> +<!-- Return10->Start1 --> +<g id="edge12" class="edge"> +<title>Return10->Start1</title> +<path fill="none" stroke="red" d="M48.61,-52.09C42.9,-62.2 36.15,-75.45 32,-88 19.42,-126.09 17,-136.89 17,-177 17,-177 17,-177 17,-251 17,-291.54 17.45,-304.48 37,-340 42.87,-350.67 51.53,-360.62 60.16,-368.95"/> +<polygon fill="red" stroke="red" points="57.93,-371.65 67.66,-375.84 62.66,-366.5 57.93,-371.65"/> +</g> +<!-- Return10->Add9 --> +<g id="edge13" class="edge"> +<title>Return10->Add9</title> +<path fill="none" stroke="black" d="M61.72,-52.3C62.93,-60.02 64.39,-69.29 65.74,-77.89"/> +<polygon fill="black" stroke="black" points="62.3,-78.56 67.31,-87.9 69.22,-77.47 62.3,-78.56"/> +</g> +</g> </svg> |
