summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDavid Callahan <dcallahan@fb.com>2019-01-09 19:12:38 +0000
committerDavid Callahan <dcallahan@fb.com>2019-01-09 19:12:38 +0000
commit3ef0f4447dcc2cdf74d76b5dc64ccd2de8af35a4 (patch)
treea8c43cc0ad9dd1ab3a0626994786c6dfe25b9200 /llvm/lib/Analysis
parent6c6fb80c2d630ec8514899e73b49bbc432c16e68 (diff)
downloadbcm5719-llvm-3ef0f4447dcc2cdf74d76b5dc64ccd2de8af35a4.tar.gz
bcm5719-llvm-3ef0f4447dcc2cdf74d76b5dc64ccd2de8af35a4.zip
refactor BlockFrequencyInfo::view to take a title parameter
Summary: All a non-default title for the debugging this debugging aide Reviewers: twoh, Kader, modocache Reviewed By: twoh Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D56499 llvm-svn: 350749
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/BlockFrequencyInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/BlockFrequencyInfo.cpp b/llvm/lib/Analysis/BlockFrequencyInfo.cpp
index 41c29589521..ef27c36517e 100644
--- a/llvm/lib/Analysis/BlockFrequencyInfo.cpp
+++ b/llvm/lib/Analysis/BlockFrequencyInfo.cpp
@@ -252,8 +252,8 @@ void BlockFrequencyInfo::setBlockFreqAndScale(
/// Pop up a ghostview window with the current block frequency propagation
/// rendered using dot.
-void BlockFrequencyInfo::view() const {
- ViewGraph(const_cast<BlockFrequencyInfo *>(this), "BlockFrequencyDAGs");
+void BlockFrequencyInfo::view(StringRef title) const {
+ ViewGraph(const_cast<BlockFrequencyInfo *>(this), title);
}
const Function *BlockFrequencyInfo::getFunction() const {
OpenPOWER on IntegriCloud