Control Data Flow Graph (CDFG)


Does anyone know any tool that can help generate a control/data flow graph (CDFG) for LLVM IR programs?

The opt -view-cfg and related commands can visualize a program as a control flow graph. But how can I embody data flow information into that graph?

Your help will be greatly appreciated!


Wenhao Jia

Hi Wenhao,