[PATCH] D11875: [RegionInfo] Add debug-time region viewer functions

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 8 12:34:04 PDT 2015


Meinersbur created this revision.
Meinersbur added a reviewer: grosser.
Meinersbur added a subscriber: llvm-commits.
Meinersbur set the repository for this revision to rL LLVM.

Analogously to Function::viewCFG(), RegionInfo::view() and RegionInfo::viewOnly() are meant to be called while debugging. They open a viewer to show how RegionInfo currently understands the region hierarchy.

The functions viewRegion(Function*) and viewRegionOnly(Function*) invoke a fresh region analysis of the function in contrast to viewRegion(RegionInfo*) and viewRegionOnly(RegionInfo*) which show the current analysis result.

Repository:
  rL LLVM

http://reviews.llvm.org/D11875

Files:
  include/llvm/Analysis/RegionInfo.h
  include/llvm/Analysis/RegionPrinter.h
  lib/Analysis/RegionInfo.cpp
  lib/Analysis/RegionPrinter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11875.31596.patch
Type: text/x-patch
Size: 5065 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150808/ea9f8504/attachment.bin>


More information about the llvm-commits mailing list