diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-23 02:28:40 +0000 | 
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-02-23 02:28:40 +0000 | 
| commit | b3613fce19b0fd154d38b044196357afdc335f8d (patch) | |
| tree | dc9f0db960338b827777b42e5a14238e4782ebcb /llvm/include | |
| parent | 4e796d0c9f404d080548665857f9c569534b239a (diff) | |
| download | bcm5719-llvm-b3613fce19b0fd154d38b044196357afdc335f8d.tar.gz bcm5719-llvm-b3613fce19b0fd154d38b044196357afdc335f8d.zip | |
Revert "Add prefix based function layout when profile is available."
This reverts commit r261582, since this bot has been broken for four
hours:
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_check/19399/
llvm-svn: 261604
Diffstat (limited to 'llvm/include')
| -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. | 

