class SampleProfileWriterExtBinary
Declaration
class SampleProfileWriterExtBinary
: public SampleProfileWriterExtBinaryBase { /* full declaration omitted */ };
Description
Sample-based profile writer (binary format).
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:325
Inherits from: SampleProfileWriterExtBinaryBase
Member Variables
Inherited from SampleProfileWriterExtBinaryBase:
- protected SecLayout = DefaultLayout
- protected SectionHdrLayout = ExtBinaryHdrLayoutTable[DefaultLayout]
- protected SecLBRProfileStart = 0
Inherited from SampleProfileWriterBinary:
Inherited from SampleProfileWriter:
Method Overview
- public SampleProfileWriterExtBinary(std::unique_ptr<raw_ostream> & OS)
- private void verifySecLayout(llvm::sampleprof::SectionLayout SL)
- private std::error_code writeCtxSplitLayout(const llvm::sampleprof::SampleProfileMap & ProfileMap)
- private std::error_code writeCustomSection(llvm::sampleprof::SecType Type)
- private std::error_code writeDefaultLayout(const llvm::sampleprof::SampleProfileMap & ProfileMap)
- private std::error_code writeSections(const llvm::sampleprof::SampleProfileMap & ProfileMap)
Inherited from SampleProfileWriterExtBinaryBase:
- protected addContext
- protected addNewSection
- protected addSectionFlag
- protected addSectionFlag
- protected markSectionStart
- public resetSecLayout
- public setPartialProfile
- public setProfileSymbolList
- public setToCompressAllSections
- public setToCompressSection
- public setUseMD5
- protected verifySecLayout
- public write
- protected writeCSNameIdx
- protected writeCSNameTableSection
- protected writeContextIdx
- protected writeCustomSection
- protected writeFuncMetadata
- protected writeFuncMetadata
- protected writeFuncOffsetTable
- protected writeNameTable
- protected writeNameTableSection
- protected writeOneSection
- protected writeProfileSymbolListSection
- public writeSample
- protected writeSections
Inherited from SampleProfileWriterBinary:
- protected addContext
- protected addName
- protected addNames
- protected getNameTable
- protected stablizeNameTable
- protected writeBody
- protected writeContextIdx
- protected writeHeader
- protected writeMagicIdent
- protected writeNameIdx
- protected writeNameTable
- public writeSample
- protected writeSummary
Inherited from SampleProfileWriter:
- protected computeSummary
- public create
- public create
- public getOutputStream
- public resetSecLayout
- public setPartialProfile
- public setProfileSymbolList
- public setToCompressAllSections
- public setUseMD5
- public write
- protected writeFuncProfiles
- protected writeHeader
- public writeSample
Methods
¶SampleProfileWriterExtBinary(
std::unique_ptr<raw_ostream>& OS)
SampleProfileWriterExtBinary(
std::unique_ptr<raw_ostream>& OS)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:327
Parameters
- std::unique_ptr<raw_ostream>& OS
¶void verifySecLayout(
llvm::sampleprof::SectionLayout SL)
void verifySecLayout(
llvm::sampleprof::SectionLayout SL)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:340
Parameters
- llvm::sampleprof::SectionLayout SL
¶std::error_code writeCtxSplitLayout(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
std::error_code writeCtxSplitLayout(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:332
Parameters
- const llvm::sampleprof::SampleProfileMap& ProfileMap
¶std::error_code writeCustomSection(
llvm::sampleprof::SecType Type)
std::error_code writeCustomSection(
llvm::sampleprof::SecType Type)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:336
Parameters
- llvm::sampleprof::SecType Type
¶std::error_code writeDefaultLayout(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
std::error_code writeDefaultLayout(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:331
Parameters
- const llvm::sampleprof::SampleProfileMap& ProfileMap
¶std::error_code writeSections(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
std::error_code writeSections(
const llvm::sampleprof::SampleProfileMap&
ProfileMap)
Declared at: llvm/include/llvm/ProfileData/SampleProfWriter.h:334
Parameters
- const llvm::sampleprof::SampleProfileMap& ProfileMap