[RegionInfo] Use RegionInfo* instead of RegionInfoPass* as graph type
authorMichael Kruse <llvm@meinersbur.de>
Mon, 10 Aug 2015 12:57:23 +0000 (12:57 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Mon, 10 Aug 2015 12:57:23 +0000 (12:57 +0000)
commit6b23651c14703b5e2859afd3e9e5ffecbab7ac13
treebc14ca375ade470e1e610975435e32577ec5c40c
parenta7bed6c4c5f9d5132243b8366b8356cb8dd1bf00
[RegionInfo] Use RegionInfo* instead of RegionInfoPass* as graph type

This allows printing region graphs when only the RegionInfo (e.g. Region::getRegionInfo()), but no RegionInfoPass object is available.

Specifically, we will use this to print RegionInfo graphs in the debugger.

Differential version: http://reviews.llvm.org/D11874

Reviewed-by: grosser
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244442 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/RegionPrinter.cpp