LLVM 17.0.0git
|
#include "llvm/ProfileData/MemProf.h"
Public Types | |
using | key_type = uint64_t |
using | key_type_ref = uint64_t |
using | data_type = IndexedMemProfRecord |
using | data_type_ref = IndexedMemProfRecord & |
using | hash_value_type = uint64_t |
using | offset_type = uint64_t |
Public Member Functions | |
RecordWriterTrait ()=default | |
void | EmitKey (raw_ostream &Out, key_type_ref K, offset_type) |
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 | |
MemProfSchema * | Schema = nullptr |
|
default |
|
inlinestatic |
|
inline |
Definition at line 531 of file MemProf.h.
References assert(), Schema, and llvm::memprof::IndexedMemProfRecord::serialize().
|
inline |
|
inlinestatic |
Definition at line 514 of file MemProf.h.
References N, and llvm::memprof::IndexedMemProfRecord::serializedSize().
MemProfSchema* llvm::memprof::RecordWriterTrait::Schema = nullptr |
Definition at line 507 of file MemProf.h.
Referenced by EmitData().