DOTGraphTraits: Allow the decision to show a graph to consider the analysis
authorTobias Grosser <tobias@grosser.es>
Thu, 17 Dec 2015 12:48:25 +0000 (12:48 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 17 Dec 2015 12:48:25 +0000 (12:48 +0000)
commit0bc653bad8c7de4fc88b3cb989769285087447ea
treeae7ade1acedec3d08497d8e6b3df7ef1b5b8377c
parent62fecef1288a128a00647e284800d4b16ce86593
DOTGraphTraits: Allow the decision to show a graph to consider the analysis

The method processFunction() is called to decide if a graph should be shown for
a certain function. To allow DOTGraphTraitViewers to take this decision based
on the analysis results for the given function, we forward a reference to the
analysis result. This will be used by Polly to only visualize functions where
interesting loop regions have been detected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255889 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DOTGraphTraitsPass.h