LLVM 17.0.0git
|
Public Types | |
using | key_type = StringRef |
using | key_type_ref = StringRef |
using | data_type = const InstrProfWriter::ProfilingData *const |
using | data_type_ref = const InstrProfWriter::ProfilingData *const |
using | hash_value_type = uint64_t |
using | offset_type = uint64_t |
Public Member Functions | |
InstrProfRecordWriterTrait ()=default | |
void | EmitKey (raw_ostream &Out, key_type_ref K, offset_type N) |
void | EmitData (raw_ostream &Out, key_type_ref, data_type_ref V, offset_type) |
Static Public Member Functions | |
static hash_value_type | ComputeHash (key_type_ref K) |
static std::pair< offset_type, offset_type > | EmitKeyDataLength (raw_ostream &Out, key_type_ref K, data_type_ref V) |
Public Attributes | |
support::endianness | ValueProfDataEndianness = support::little |
InstrProfSummaryBuilder * | SummaryBuilder |
InstrProfSummaryBuilder * | CSSummaryBuilder |
Definition at line 98 of file InstrProfWriter.cpp.
Definition at line 103 of file InstrProfWriter.cpp.
Definition at line 104 of file InstrProfWriter.cpp.
Definition at line 106 of file InstrProfWriter.cpp.
Definition at line 100 of file InstrProfWriter.cpp.
Definition at line 101 of file InstrProfWriter.cpp.
Definition at line 107 of file InstrProfWriter.cpp.
|
default |
|
inlinestatic |
Definition at line 115 of file InstrProfWriter.cpp.
References llvm::IndexedInstrProf::ComputeHash().
|
inline |
Definition at line 147 of file InstrProfWriter.cpp.
References llvm::InstrProfSummaryBuilder::addRecord(), llvm::InstrProfRecord::Counts, CSSummaryBuilder, llvm::NamedInstrProfRecord::hasCSFlagInHash(), I, SummaryBuilder, ValueProfDataEndianness, and llvm::raw_ostream::write().
|
inline |
Definition at line 143 of file InstrProfWriter.cpp.
References N, and llvm::raw_ostream::write().
|
inlinestatic |
Definition at line 120 of file InstrProfWriter.cpp.
References llvm::InstrProfRecord::Counts, and N.
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::CSSummaryBuilder |
Definition at line 111 of file InstrProfWriter.cpp.
Referenced by EmitData().
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::SummaryBuilder |
Definition at line 110 of file InstrProfWriter.cpp.
Referenced by EmitData().
support::endianness llvm::InstrProfRecordWriterTrait::ValueProfDataEndianness = support::little |
Definition at line 109 of file InstrProfWriter.cpp.
Referenced by EmitData(), and llvm::InstrProfWriter::setValueProfDataEndianness().