LLVM  4.0.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::InstrProfRecordWriterTrait Class Reference
Collaboration diagram for llvm::InstrProfRecordWriterTrait:
[legend]

Public Types

typedef StringRef key_type
 
typedef StringRef key_type_ref
 
typedef const
InstrProfWriter::ProfilingData
*const 
data_type
 
typedef const
InstrProfWriter::ProfilingData
*const 
data_type_ref
 
typedef uint64_t hash_value_type
 
typedef uint64_t offset_type
 

Public Member Functions

 InstrProfRecordWriterTrait ()
 
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
 
InstrProfSummaryBuilderSummaryBuilder
 

Detailed Description

Definition at line 86 of file InstrProfWriter.cpp.

Member Typedef Documentation

Definition at line 91 of file InstrProfWriter.cpp.

Definition at line 92 of file InstrProfWriter.cpp.

Definition at line 94 of file InstrProfWriter.cpp.

Definition at line 88 of file InstrProfWriter.cpp.

Definition at line 89 of file InstrProfWriter.cpp.

Definition at line 95 of file InstrProfWriter.cpp.

Constructor & Destructor Documentation

llvm::InstrProfRecordWriterTrait::InstrProfRecordWriterTrait ( )
inline

Definition at line 100 of file InstrProfWriter.cpp.

Member Function Documentation

static hash_value_type llvm::InstrProfRecordWriterTrait::ComputeHash ( key_type_ref  K)
inlinestatic

Definition at line 101 of file InstrProfWriter.cpp.

References llvm::IndexedInstrProf::ComputeHash().

void llvm::InstrProfRecordWriterTrait::EmitData ( raw_ostream Out,
key_type_ref  ,
data_type_ref  V,
offset_type   
)
inline
void llvm::InstrProfRecordWriterTrait::EmitKey ( raw_ostream Out,
key_type_ref  K,
offset_type  N 
)
inline

Definition at line 128 of file InstrProfWriter.cpp.

References llvm::StringRef::data(), N, and llvm::raw_ostream::write().

static std::pair<offset_type, offset_type> llvm::InstrProfRecordWriterTrait::EmitKeyDataLength ( raw_ostream Out,
key_type_ref  K,
data_type_ref  V 
)
inlinestatic

Member Data Documentation

InstrProfSummaryBuilder* llvm::InstrProfRecordWriterTrait::SummaryBuilder

Definition at line 98 of file InstrProfWriter.cpp.

support::endianness llvm::InstrProfRecordWriterTrait::ValueProfDataEndianness

The documentation for this class was generated from the following file: