Changes between Version 11 and Version 12 of AliasAnalysis


Ignore:
Timestamp:
04/26/16 13:11:15 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AliasAnalysis

    v11 v12  
    5555Suppose `p0` is the process executes the main function, and `p1` is the spawned process that executes `f`.
    5656
    57 Then the alias result of statements `s0` and `s1` would be:
     57Then the alias analysis result of statements `s0` and `s1` would be:
    5858
    5959`O(p, s0)={x}`
     
    6262and
    6363`OR(p, s0)={x}`
    64 `OR(1, s1)={y}`
     64`OR(q, s1)={y}`
    6565
    6666Suppose the current state is `S=(p0: s0, p1:s1)`, i.e., the enable statement of `p0` and `p1` is `s0` and `s1`, respectively. Since we know **statically** that `O(p, s0)` never intersect with `O(q, s1)`, then we know that `s0` and `s1` commute. So the ample set at `S` is either `{p0}` or `{p1}`.
     
    8989}
    9090}}}
     91
     92alias analysis result:
    9193
    9294`O(p, s0')={}`\\
     
    119121
    120122
    121