LLVM 22.0.0git
SampleProfWriter.h File Reference
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <memory>
#include <set>
#include <system_error>

Go to the source code of this file.

Classes

class  llvm::sampleprof::FunctionPruningStrategy
 When writing a profile with size limit, user may want to use a different strategy to reduce function count other than dropping functions with fewest samples first. More...
class  llvm::sampleprof::DefaultFunctionPruningStrategy
class  llvm::sampleprof::SampleProfileWriter
 Sample-based profile writer. Base class. More...
class  llvm::sampleprof::SampleProfileWriterText
 Sample-based profile writer (text format). More...
class  llvm::sampleprof::SampleProfileWriterBinary
 Sample-based profile writer (binary format). More...
class  llvm::sampleprof::SampleProfileWriterRawBinary
class  llvm::sampleprof::SampleProfileWriterExtBinaryBase
class  llvm::sampleprof::SampleProfileWriterExtBinary

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::sampleprof

Enumerations

enum  llvm::sampleprof::SectionLayout { llvm::sampleprof::DefaultLayout , llvm::sampleprof::CtxSplitLayout , llvm::sampleprof::NumOfLayout }

Variables

const std::array< SmallVector< SecHdrTableEntry, 8 >, NumOfLayoutllvm::sampleprof::ExtBinaryHdrLayoutTable