LLVM 22.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 40 of file InstrProfWriter.cpp.
Definition at line 45 of file InstrProfWriter.cpp.
Definition at line 46 of file InstrProfWriter.cpp.
Definition at line 48 of file InstrProfWriter.cpp.
Definition at line 42 of file InstrProfWriter.cpp.
Definition at line 43 of file InstrProfWriter.cpp.
Definition at line 49 of file InstrProfWriter.cpp.
|
default |
|
inlinestatic |
Definition at line 57 of file InstrProfWriter.cpp.
References llvm::IndexedInstrProf::ComputeHash().
|
inline |
Definition at line 91 of file InstrProfWriter.cpp.
References llvm::InstrProfRecord::BitmapBytes, llvm::InstrProfRecord::Counts, CSSummaryBuilder, llvm::NamedInstrProfRecord::hasCSFlagInHash(), I, llvm::little, SummaryBuilder, ValueProfDataEndianness, and llvm::raw_ostream::write().
|
inline |
Definition at line 87 of file InstrProfWriter.cpp.
References N, and llvm::raw_ostream::write().
|
inlinestatic |
Definition at line 62 of file InstrProfWriter.cpp.
References llvm::InstrProfRecord::BitmapBytes, llvm::InstrProfRecord::Counts, llvm::little, and N.
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::CSSummaryBuilder |
Definition at line 53 of file InstrProfWriter.cpp.
Referenced by EmitData().
InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::SummaryBuilder |
Definition at line 52 of file InstrProfWriter.cpp.
Referenced by EmitData().
llvm::endianness llvm::InstrProfRecordWriterTrait::ValueProfDataEndianness = llvm::endianness::little |
Definition at line 51 of file InstrProfWriter.cpp.
Referenced by EmitData().