#ifndef LLVM_PROFILEDATA_SAMPLEPROFWRITER_H
#define LLVM_PROFILEDATA_SAMPLEPROFWRITER_H
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <memory>
#include <set>
#include <system_error>
namespace llvm {
namespace sampleprof {
enum SectionLayout { … };
class FunctionPruningStrategy { … };
class DefaultFunctionPruningStrategy : public FunctionPruningStrategy { … };
class SampleProfileWriter { … };
class SampleProfileWriterText : public SampleProfileWriter { … };
class SampleProfileWriterBinary : public SampleProfileWriter { … };
class SampleProfileWriterRawBinary : public SampleProfileWriterBinary { … };
const std::array<SmallVector<SecHdrTableEntry, 8>, NumOfLayout>
ExtBinaryHdrLayoutTable = …;
class SampleProfileWriterExtBinaryBase : public SampleProfileWriterBinary { … };
class SampleProfileWriterExtBinary : public SampleProfileWriterExtBinaryBase { … };
}
}
#endif