SLIDE 1
- Jonathan Aldrich
Dataflow Analysis - - PowerPoint PPT Presentation
Dataflow Analysis Jonathan Aldrich
σι = { x MZ | x∈} σ3 = [x Z, t2 Z] σι σ12 = ⊥ σ10 = [t10 NZ,-] σ3 σ11 = ZA(σ10, [t11 := x + t10]) = [t MZ] σ [while]7 [:=]3 [;]13 [x] [0] [<] [:=] END BEGIN
each time
bound by the height h of the lattice
each node n (h*n total)
execute h times for each successor edge (h*e total, where e ≥ n)
by n. So we get O(n3)
function, but not on the whole program
T(σ, [x = 0]) = [x Z] σ
F(σ, [x = 0]) = [x NZ] σ
T(σ, [x = y]) = [x σ(y)] σ
F(σ, [x = y]) = [x ¬σ(y)] σ
T(σ, [x = 0]) = [x Z] σ
F(σ, [x = 0]) = [x NZ] σ
T(σ, [x = y]) = [x σ(y)] σ
F(σ, [x = y]) = [x ¬σ(y)] σ