can I print DFG for IR

I have been trying my hand on writing a simple traversal of the graph node.

I see the opt can print me a CFG for a given IR, is there some tool which i can use to print a DFG (data-flow graph) for the IR ?

thanks and regards