diff options
Diffstat (limited to 'llvm/include/llvm/ProfileData/ProfileCommon.h')
-rw-r--r-- | llvm/include/llvm/ProfileData/ProfileCommon.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/ProfileData/ProfileCommon.h b/llvm/include/llvm/ProfileData/ProfileCommon.h index 76631146dda..e7d69431542 100644 --- a/llvm/include/llvm/ProfileData/ProfileCommon.h +++ b/llvm/include/llvm/ProfileData/ProfileCommon.h @@ -21,8 +21,6 @@ #define LLVM_PROFILEDATA_PROFILE_COMMON_H namespace llvm { -class Function; -class Module; namespace IndexedInstrProf { struct Summary; } @@ -30,8 +28,6 @@ namespace sampleprof { class FunctionSamples; } struct InstrProfRecord; -inline const char *getHotSectionPrefix() { return ".hot"; } -inline const char *getUnlikelySectionPrefix() { return ".unlikely"; } // The profile summary is one or more (Cutoff, MinCount, NumCounts) triplets. // The semantics of counts depend on the type of profile. For instrumentation // profile, counts are block counts and for sample profile, counts are @@ -70,10 +66,6 @@ protected: public: static const int Scale = 1000000; - // \brief Returns true if F is a hot function. - static bool isFunctionHot(const Function *F); - // \brief Returns true if F is unlikley executed. - static bool isFunctionUnlikely(const Function *F); inline std::vector<ProfileSummaryEntry> &getDetailedSummary(); void computeDetailedSummary(); /// \brief A vector of useful cutoff values for detailed summary. |