Homework 1

Handed out: April 14, 2009

Due date: April 23, 2009

  1. (Control flow analysis) Given the following control flow graph: (a) compute the dominator sets and construct the dominator tree; (b) identify the loops using the dominator information; and (c) is this control flow graph reducible? Explain.

  2. (Data flow analysis) For each of the problems listed below provide the following: the lattice values, meet operator, top and bottom elements, the partial order relation, pictorial representation of the partial order, the transfer functions, and the data flow equations.