LLVM 23.0.0git
SampleProfReader.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/ProfileData/GCOV.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/ProfileData/SymbolRemappingReader.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Discriminator.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/OnDiskHashTable.h"
#include <cstdint>
#include <list>
#include <memory>
#include <optional>
#include <string>
#include <system_error>
#include <vector>

Go to the source code of this file.

Classes

class  llvm::sampleprof::SampleProfileReaderItaniumRemapper
 SampleProfileReaderItaniumRemapper remaps the profile data from a sample profile data reader, by applying a provided set of equivalences between components of the symbol names in the profile. More...
class  llvm::sampleprof::SampleProfileNameTable
 Sample-based profile reader. More...
class  llvm::sampleprof::SampleProfileNameTable::iterator
 iterator is a lightweight, self-contained input iterator designed to stream FunctionId symbols from either the memory-mapped file buffer (lazy loading from the FixedMD5 layout) or from an eagerly loaded vector of FunctionId objects (fallback). More...
struct  llvm::sampleprof::SampleProfileNameTable::iterator::UseLazy_t
class  llvm::sampleprof::SampleProfileReader
class  llvm::sampleprof::SampleProfileReaderText
class  llvm::sampleprof::SampleProfileReaderBinary
class  llvm::sampleprof::SampleProfileReaderRawBinary
class  llvm::sampleprof::FuncOffsetHashTableInfo
 Trait class for reading the on-disk function offset hash table mapping function name GUIDs to their offsets in the SecLBRProfile section. More...
struct  llvm::sampleprof::InMemoryModeT
 Tags to select the initialization mode of SampleProfileFuncOffsetTable. More...
struct  llvm::sampleprof::OnDiskModeT
class  llvm::sampleprof::SampleProfileFuncOffsetTable
 A unified wrapper representing the function offset table. More...
class  llvm::sampleprof::SampleProfileReaderExtBinaryBase
 SampleProfileReaderExtBinaryBase/SampleProfileWriterExtBinaryBase defines the basic structure of the extensible binary format. More...
class  llvm::sampleprof::SampleProfileReaderExtBinary
class  llvm::sampleprof::SampleProfileReaderGCC

Namespaces

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

Typedefs

using llvm::sampleprof::InlineCallStack = SmallVector<FunctionSamples *, 10>

Enumerations

enum  llvm::sampleprof::HistType {
  llvm::sampleprof::HIST_TYPE_INTERVAL , llvm::sampleprof::HIST_TYPE_POW2 , llvm::sampleprof::HIST_TYPE_SINGLE_VALUE , llvm::sampleprof::HIST_TYPE_CONST_DELTA ,
  llvm::sampleprof::HIST_TYPE_INDIR_CALL , llvm::sampleprof::HIST_TYPE_AVERAGE , llvm::sampleprof::HIST_TYPE_IOR , llvm::sampleprof::HIST_TYPE_INDIR_CALL_TOPN
}

Variables

constexpr InMemoryModeT llvm::sampleprof::InMemoryMode {}
constexpr OnDiskModeT llvm::sampleprof::OnDiskMode {}