class InstrProfRecordWriterTrait
Declaration
class InstrProfRecordWriterTrait { /* full declaration omitted */ };
Description
Writer for instrumentation based profile data.
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:91
Member Variables
- public support::endianness ValueProfDataEndianness = support::little
- public llvm::InstrProfSummaryBuilder* SummaryBuilder
- public llvm::InstrProfSummaryBuilder* CSSummaryBuilder
Method Overview
- public static llvm::InstrProfRecordWriterTrait::hash_value_type ComputeHash(llvm::InstrProfRecordWriterTrait::key_type_ref K)
- public void EmitData(llvm::raw_ostream & Out, llvm::InstrProfRecordWriterTrait::key_type_ref, llvm::InstrProfRecordWriterTrait::data_type_ref V, llvm::InstrProfRecordWriterTrait::offset_type)
- public void EmitKey(llvm::raw_ostream & Out, llvm::InstrProfRecordWriterTrait::key_type_ref K, llvm::InstrProfRecordWriterTrait::offset_type N)
- public static std::pair<offset_type, offset_type> EmitKeyDataLength(llvm::raw_ostream & Out, llvm::InstrProfRecordWriterTrait::key_type_ref K, llvm::InstrProfRecordWriterTrait::data_type_ref V)
- public InstrProfRecordWriterTrait()
Methods
¶static llvm::InstrProfRecordWriterTrait::
hash_value_type
ComputeHash(llvm::InstrProfRecordWriterTrait::
key_type_ref K)
static llvm::InstrProfRecordWriterTrait::
hash_value_type
ComputeHash(llvm::InstrProfRecordWriterTrait::
key_type_ref K)
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:108
Parameters
¶void EmitData(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::
key_type_ref,
llvm::InstrProfRecordWriterTrait::
data_type_ref V,
llvm::InstrProfRecordWriterTrait::offset_type)
void EmitData(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::
key_type_ref,
llvm::InstrProfRecordWriterTrait::
data_type_ref V,
llvm::InstrProfRecordWriterTrait::offset_type)
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:140
Parameters
- llvm::raw_ostream& Out
- llvm::InstrProfRecordWriterTrait::key_type_ref
- llvm::InstrProfRecordWriterTrait::data_type_ref V
- llvm::InstrProfRecordWriterTrait::offset_type
¶void EmitKey(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::key_type_ref
K,
llvm::InstrProfRecordWriterTrait::offset_type
N)
void EmitKey(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::key_type_ref
K,
llvm::InstrProfRecordWriterTrait::offset_type
N)
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:136
Parameters
- llvm::raw_ostream& Out
- llvm::InstrProfRecordWriterTrait::key_type_ref K
- llvm::InstrProfRecordWriterTrait::offset_type N
¶static std::pair<offset_type, offset_type>
EmitKeyDataLength(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::key_type_ref
K,
llvm::InstrProfRecordWriterTrait::
data_type_ref V)
static std::pair<offset_type, offset_type>
EmitKeyDataLength(
llvm::raw_ostream& Out,
llvm::InstrProfRecordWriterTrait::key_type_ref
K,
llvm::InstrProfRecordWriterTrait::
data_type_ref V)
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:113
Parameters
- llvm::raw_ostream& Out
- llvm::InstrProfRecordWriterTrait::key_type_ref K
- llvm::InstrProfRecordWriterTrait::data_type_ref V
¶InstrProfRecordWriterTrait()
InstrProfRecordWriterTrait()
Declared at: llvm/lib/ProfileData/InstrProfWriter.cpp:106