
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A homework assignment focused on dataflow analysis. The assignment includes building a control-flow graph, computing live-variables at entry and exit of each basic block, and converting the cfg into static single assignment (ssa) form. The code snippet given is in pascal language and includes variables a, b, i, and g, with assignments, conditional statements, and loops.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Suppose we have the following code.
a := 200 b := a - 2; i := 0; L: if (a > i) goto E b := b- 2; i := i + 3; c := a + b; goto L E: g := 2 * b