[LLVMdev] [patch] color nodes matching a string pattern when displaying graphs
Christian.Sayer at dibcom.fr
Fri Jan 30 03:55:43 CST 2009
the patch attatched adds the option -view-dag-color-node=<list> to llc. The list of strings is matched with the names of the labels of nodes when displaying a graph, so that matching nodes are displayed in a colored bold style. I find this extremely usful on selectionDAGs to spot specific nodes in larger graphs.
You may complain that the implementation should be interacting more with the DOTGraphTraits class, but OTOH this might be an interesting feature for any type of graph, and as such it is certainly the lightest implementation.
Anyway, if this is considered an interesting feature for the mainline but unacceptable this way please let me know, I might eventually change it according to your suggestions.
CONFIDENTIAL NOTICE: The contents of this message, including any attachments, are confidential and are intended solely for the use of the person or entity to whom the message was addressed. If you are not the intended recipient of this message, please be advised that any dissemination, distribution, or use of the contents of this message is strictly prohibited. If you received this message in error, please notify the sender. Please also permanently delete all copies of the original message and any attached documentation. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2235 bytes
Url : http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20090130/452379cd/attachment.obj
More information about the LLVMdev