[llvm] c597594 - [Transforms/Utils] Remove redundant declaration computeSyntheticCounts (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 24 08:09:08 PDT 2021


Author: Kazu Hirata
Date: 2021-09-24T08:08:58-07:00
New Revision: c597594461bb3ba34a9699b744be09135635cbc7

URL: https://github.com/llvm/llvm-project/commit/c597594461bb3ba34a9699b744be09135635cbc7
DIFF: https://github.com/llvm/llvm-project/commit/c597594461bb3ba34a9699b744be09135635cbc7.diff

LOG: [Transforms/Utils] Remove redundant declaration computeSyntheticCounts (NFC)

Added: 
    

Modified: 
    llvm/include/llvm/LTO/SummaryBasedOptimizations.h
    llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/LTO/SummaryBasedOptimizations.h b/llvm/include/llvm/LTO/SummaryBasedOptimizations.h
index 6697c821a5ead..508ab2587ac56 100644
--- a/llvm/include/llvm/LTO/SummaryBasedOptimizations.h
+++ b/llvm/include/llvm/LTO/SummaryBasedOptimizations.h
@@ -10,6 +10,8 @@
 #define LLVM_LTO_SUMMARYBASEDOPTIMIZATIONS_H
 namespace llvm {
 class ModuleSummaryIndex;
+
+/// Compute synthetic function entry counts.
 void computeSyntheticCounts(ModuleSummaryIndex &Index);
 
 } // namespace llvm

diff  --git a/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h b/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
index 024d84a7abc88..749b7b2bb5d86 100644
--- a/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
+++ b/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
@@ -130,9 +130,6 @@ bool renameModuleForThinLTO(
     bool ClearDSOLocalOnDeclarations,
     SetVector<GlobalValue *> *GlobalsToImport = nullptr);
 
-/// Compute synthetic function entry counts.
-void computeSyntheticCounts(ModuleSummaryIndex &Index);
-
 } // End llvm namespace
 
 #endif


        


More information about the llvm-commits mailing list