[llvm-commits] [PATCH] Create Generic DOTGraphTraits Printer/Viewer

Chris Lattner clattner at apple.com
Fri Jan 15 11:58:14 PST 2010


On Jan 13, 2010, at 4:21 PM, Tobias Grosser wrote:

>
> Move the DOTGraphTraits dotty printer/viewer templates, that were  
> developed for
> the dominance tree into their own header file. This will allow reuse  
> in future
> passes.

Ok with a couple changes: Please drop this in llvm/Analysis instead of  
llvm/Support.  Also, please add enough forward declarations and  
#includes to make DOTGraphTraitsPass.h self contained.

Thanks!

-Chris

> ---
> include/llvm/Support/DOTGraphTraitsPass.h |   79 ++++++++++++++++++++ 
> +++++++++
> lib/Analysis/DomPrinter.cpp               |   70 +++++ 
> +-------------------
> 2 files changed, 96 insertions(+), 53 deletions(-)
> create mode 100644 include/llvm/Support/DOTGraphTraitsPass.h
>
> <0001-Create-Generic-DOTGraphTraits-Printer- 
> Viewer.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list