It is the analysis of flow of data in control flow graph, i.e., the analysis that determines the information regarding the definition and use of data in program. With the help of this analysis, optimization can be done. In general, its process in which values are computed using data flow analysis. The data flow property represents information that can be used for optimization.
Basic Terminologies –
Data Flow Properties –
Example –
Advantage –
It is used to eliminate common sub expressions.
Example –