[LLVMdev] Modifying LLVM Graph

Pranav Kant pranav913 at gmail.com
Mon Dec 29 12:02:04 PST 2014


I have written a data flow graph pass that would output the data flow
dependencies in a DOT format for any given Function F. I used GraphTraits
and DOTGraphTraits as required by GraphWriter and then used the WriteGraph
function to write the graph in dot format to a file.

However, to further continue my research on the project I am working on, I
want to modify this generated DFG and insert some additional nodes in
between various currently existing Instruction nodes. I want to modify this
graph heavily by playing with their edges. What is required to be done to
accomplish this purpose ?

-- 
Regards,
Pranav Kant,
Department of Computer Science
National Institute of Technology Hamirpur
http://pricked.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141230/02710349/attachment.html>


More information about the llvm-dev mailing list