Module 15: Reaching Definition
  Lecture 29: Reaching Definition
 


Example

  • A function f mapping a lattice to itself
    f:L → L is monotonic if for all x, y

    for example f : BV 3 → BV 3 defined as
    f : (x1, x2, x3) → (x1, 1, x3) is monotonic
  • Height: it is the length of the longest ascending chain such that there exists
    x1, x2, . . . , xn such that
  • Monotonicity and finite height ensure that the data-flow algorithms implementing function f terminate
  • flow function maps lattice to lattice.
    Flow function for B1 is given as
  • Let FB() be the flow function representing flow through block B and Fp represent the composition of the flow functions encountered in following path p then