[LLVMdev] Canonical way to visualize LLVM IR?

Paul Sokolovsky pmiscml at gmail.com
Sun Feb 24 09:39:04 PST 2013


Hello,

LLVM provides several ways to visual IR structure straight in its core -
Function::viewCFG() to render control flow graph, then -view-* options
to llc to render various stages of transforming to machine code.
However, I wasn't able to find a way to render complete DAG
visualization of normal IR - which besides CFG would also show dataflow
(and other flows, if any). What people use to visualize such structure?


Thanks,
 Paul                          mailto:pmiscml at gmail.com



More information about the llvm-dev mailing list