aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSizeOpts.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2020-02-17 17:55:03 +0100
committerBenjamin Kramer <benny.kra@googlemail.com>2020-02-17 17:55:23 +0100
commit564a9de28ed432b0e758b691b6095e421969de60 (patch)
treef69c89ed7adaa8ad65afb35b03530add22550df8 /llvm/lib/CodeGen/MachineSizeOpts.cpp
parent351ed50dcb2a67a88213ef67469f70bd5e2b4a60 (diff)
downloadllvm-564a9de28ed432b0e758b691b6095e421969de60.zip
llvm-564a9de28ed432b0e758b691b6095e421969de60.tar.gz
llvm-564a9de28ed432b0e758b691b6095e421969de60.tar.bz2
Hide implementation details. NFC>
Diffstat (limited to 'llvm/lib/CodeGen/MachineSizeOpts.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineSizeOpts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineSizeOpts.cpp b/llvm/lib/CodeGen/MachineSizeOpts.cpp
index a181b54..29aabf1 100644
--- a/llvm/lib/CodeGen/MachineSizeOpts.cpp
+++ b/llvm/lib/CodeGen/MachineSizeOpts.cpp
@@ -24,6 +24,7 @@ extern cl::opt<bool> ForcePGSO;
extern cl::opt<int> PgsoCutoffInstrProf;
extern cl::opt<int> PgsoCutoffSampleProf;
+namespace {
namespace machine_size_opts_detail {
/// Like ProfileSummaryInfo::isColdBlock but for MachineBasicBlock.
@@ -91,7 +92,6 @@ bool isFunctionHotInCallGraphNthPercentile(
}
} // namespace machine_size_opts_detail
-namespace {
struct MachineBasicBlockBFIAdapter {
static bool isFunctionColdInCallGraph(const MachineFunction *MF,
ProfileSummaryInfo *PSI,