diff options
author | Easwaran Raman <eraman@google.com> | 2016-02-04 23:34:31 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2016-02-04 23:34:31 +0000 |
commit | d68aae24e4e3577e895f2c4b10a211ffa93246f0 (patch) | |
tree | 12f1b0dd13bbfe211b9339e0b1a1a42e8b00358c /llvm/tools/llvm-profdata/llvm-profdata.cpp | |
parent | 6795eff63eb3f04c6cc658d70c951622ac94882a (diff) | |
download | bcm5719-llvm-d68aae24e4e3577e895f2c4b10a211ffa93246f0.tar.gz bcm5719-llvm-d68aae24e4e3577e895f2c4b10a211ffa93246f0.zip |
Refactor profile summary support code. NFC.
Summary computation is not just for instrumented profiling and so I have moved
the ProfileSummary class to ProfileCommon.h (named so to allow code unrelated
to summary but common to instrumented and sampled profiling to be placed there)
Differential Revision: http://reviews.llvm.org/D16661
llvm-svn: 259846
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
-rw-r--r-- | llvm/tools/llvm-profdata/llvm-profdata.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index 9d926531503..2b6eacfb48a 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -17,6 +17,7 @@ #include "llvm/IR/LLVMContext.h" #include "llvm/ProfileData/InstrProfReader.h" #include "llvm/ProfileData/InstrProfWriter.h" +#include "llvm/ProfileData/ProfileCommon.h" #include "llvm/ProfileData/SampleProfReader.h" #include "llvm/ProfileData/SampleProfWriter.h" #include "llvm/Support/CommandLine.h" |