Activities in Build Program Graphs
4 activities · 1 phase
| # | Name | Abbrev. | Guidance | Dependencies | Actions |
|---|---|---|---|---|---|
|
Data Preparation
4
|
|||||
| 1 | Add backward edges | BGS-1 | For every edge type added (Child, NextToken, LastRead, LastWrite, ComputedFrom, LastLexicalUse, ReturnsTo, FormalArgName), add the … | ||
| 1 | Add data flow edges | BGS-1 | For each variable token v, compute DR(v) (last read locations) and DW(v) (last write locations). … | ||
| 1 | Add semantic shortcut edges | BGS-1 | Add LastLexicalUse edges chaining all occurrences of the same variable (independent of data flow). Add … | ||
| 1 | Parse source to AST | BGS-1 | Parse each source file to its Abstract Syntax Tree. Label syntax nodes with nonterminal names … | ||