#ifndef LLVM_PROFILEDATA_PROFILECOMMON_H
#define LLVM_PROFILEDATA_PROFILECOMMON_H
#include "llvm/ADT/ArrayRef.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/Error.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <vector>
namespace llvm {
extern cl::opt<bool> UseContextLessSummary;
extern cl::opt<int> ProfileSummaryCutoffHot;
extern cl::opt<int> ProfileSummaryCutoffCold;
extern cl::opt<unsigned> ProfileSummaryHugeWorkingSetSizeThreshold;
extern cl::opt<unsigned> ProfileSummaryLargeWorkingSetSizeThreshold;
extern cl::opt<uint64_t> ProfileSummaryHotCount;
extern cl::opt<uint64_t> ProfileSummaryColdCount;
namespace sampleprof {
class FunctionSamples;
}
class ProfileSummaryBuilder { … };
class InstrProfSummaryBuilder final : public ProfileSummaryBuilder { … };
class SampleProfileSummaryBuilder final : public ProfileSummaryBuilder { … };
void ProfileSummaryBuilder::addCount(uint64_t Count) { … }
}
#endif