



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Finding the Right Place to Evaluate Expressions Four Necessary Data-Flow Problems
4
t = x+y
= x+y (^) = t
5
= x+y = x+y
= x+y
t = x+y t = x+y
= t
8
t = x+y
= t
= x+y
= x+y
= x+y
t = x+y
14
= x+y = x+y
x+y is anticipatedhere and could be = x+y
computed now rather than later.
= x+y
x+y is anticipated here, but is also available. No computa- tion is needed.
17
= x+y
= x+y
Anticipated
Backwards; Intersection; IN[B] = (OUT[B] – Def(B)) ∪ Use(B)Docsity.com
OUT[B] = (IN[B] ∪ INANTICIPATED[B]) – Kill(B)