Hi All,
The Gimple representation of GCC provides some data flow analysis for each
basic block in the SSA (Static Single Assignment) form. One could see the
data dependencies (which I think are called flow-dependence edges) in
gimple form. I would like to take Gimple as input and generate a data flow
graph for basic blocks. The example shown on the website shows how to
generate control flom graph using "show-ssa.py." However, it does not
visualize the data dependencies in each basic block. I need to visualize
the data dependence in order to analyze the data flow in each basic block
in form of a data flow graph. By data flow graphs I mean graphs in which
nodes in the graph represent operations like addition and multiplication,
and edges represent data dependence between nodes. I was wondering if there
is already such a plugin? Or it would be great if you could provide some
advice on how to write such a pass.
Thanks,
Amin