LLVM 20.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 | |
llvm::endianness | ValueProfDataEndianness = llvm::endianness::little |
InstrProfSummaryBuilder * | SummaryBuilder |
InstrProfSummaryBuilder * | CSSummaryBuilder |
Definition at line 102 of file InstrProfWriter.cpp.
Definition at line 107 of file InstrProfWriter.cpp.
Definition at line 108 of file InstrProfWriter.cpp.
Definition at line 110 of file InstrProfWriter.cpp.
Definition at line 104 of file InstrProfWriter.cpp.
Definition at line 105 of file InstrProfWriter.cpp.
Definition at line 111 of file InstrProfWriter.cpp.
|
default |
|
inlinestatic |
Definition at line 119 of file InstrProfWriter.cpp.
References llvm::IndexedInstrProf::ComputeHash().
|
inline |
Definition at line 153 of file InstrProfWriter.cpp.
References llvm::InstrProfSummaryBuilder::addRecord(), llvm::InstrProfRecord::BitmapBytes, llvm::InstrProfRecord::Counts, CSSummaryBuilder, llvm::NamedInstrProfRecord::hasCSFlagInHash(), I, llvm::little, SummaryBuilder, ValueProfDataEndianness, and llvm::raw_ostream::write().
|
inline |
Definition at line 149 of file InstrProfWriter.cpp.
References N, and llvm::raw_ostream::write().
|
inlinestatic |
Definition at line 124 of file InstrProfWriter.cpp.
References llvm::InstrProfRecord::BitmapBytes, llvm::InstrProfRecord::Counts, llvm::little, and N.
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::CSSummaryBuilder |
Definition at line 115 of file InstrProfWriter.cpp.
Referenced by EmitData().
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::SummaryBuilder |
Definition at line 114 of file InstrProfWriter.cpp.
Referenced by EmitData().
llvm::endianness llvm::InstrProfRecordWriterTrait::ValueProfDataEndianness = llvm::endianness::little |
Definition at line 113 of file InstrProfWriter.cpp.
Referenced by EmitData(), and llvm::InstrProfWriter::setValueProfDataEndianness().