summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2017-02-15 19:21:04 +0000
committerXinliang David Li <davidxl@google.com>2017-02-15 19:21:04 +0000
commit538d666814d99ccc425aa633318938bd3bcad10b (patch)
treef9e15950cbde695bc9e17a7d4096f0140656d04a /llvm/lib/CodeGen/BranchFolding.cpp
parent8eb1a48540172402843035cb95ecacf005c7cdeb (diff)
downloadbcm5719-llvm-538d666814d99ccc425aa633318938bd3bcad10b.tar.gz
bcm5719-llvm-538d666814d99ccc425aa633318938bd3bcad10b.zip
include function name in dot filename
Differential Revision: http://reviews.llvm.org/D29975 llvm-svn: 295220
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index d148a9dbac5..4a9e15ebd76 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -497,7 +497,9 @@ BranchFolder::MBFIWrapper::printBlockFreq(raw_ostream &OS,
return MBFI.printBlockFreq(OS, Freq);
}
-void BranchFolder::MBFIWrapper::view(bool isSimple) { MBFI.view(isSimple); }
+void BranchFolder::MBFIWrapper::view(const Twine &Name, bool isSimple) {
+ MBFI.view(Name, isSimple);
+}
uint64_t
BranchFolder::MBFIWrapper::getEntryFreq() const {
OpenPOWER on IntegriCloud