|
| NamedInstrProfRecord ()=default |
|
| NamedInstrProfRecord (StringRef Name, uint64_t Hash, std::vector< uint64_t > Counts) |
|
| InstrProfRecord ()=default |
|
| InstrProfRecord (std::vector< uint64_t > Counts) |
|
| InstrProfRecord (InstrProfRecord &&)=default |
|
| InstrProfRecord (const InstrProfRecord &RHS) |
|
InstrProfRecord & | operator= (InstrProfRecord &&)=default |
|
InstrProfRecord & | operator= (const InstrProfRecord &RHS) |
|
uint32_t | getNumValueKinds () const |
| Return the number of value profile kinds with non-zero number of profile sites. More...
|
|
uint32_t | getNumValueSites (uint32_t ValueKind) const |
| Return the number of instrumented sites for ValueKind. More...
|
|
uint32_t | getNumValueData (uint32_t ValueKind) const |
| Return the total number of ValueData for ValueKind. More...
|
|
uint32_t | getNumValueDataForSite (uint32_t ValueKind, uint32_t Site) const |
| Return the number of value data collected for ValueKind at profiling site: Site. More...
|
|
std::unique_ptr< InstrProfValueData[]> | getValueForSite (uint32_t ValueKind, uint32_t Site, uint64_t *TotalC=nullptr) const |
| Return the array of profiled values at Site . More...
|
|
uint64_t | getValueForSite (InstrProfValueData Dest[], uint32_t ValueKind, uint32_t Site) const |
| Get the target value/counts of kind ValueKind collected at site Site and store the result in array Dest . More...
|
|
void | reserveSites (uint32_t ValueKind, uint32_t NumValueSites) |
| Reserve space for NumValueSites sites. More...
|
|
void | addValueData (uint32_t ValueKind, uint32_t Site, InstrProfValueData *VData, uint32_t N, InstrProfSymtab *SymTab) |
| Add ValueData for ValueKind at value Site. More...
|
|
void | merge (InstrProfRecord &Other, uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
| Merge the counts in Other into this one. More...
|
|
void | scale (uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
| Scale up profile counts (including value profile data) by Weight . More...
|
|
void | sortValueData () |
| Sort value profile data (per site) by count. More...
|
|
void | Clear () |
| Clear value data entries and edge counters. More...
|
|
void | clearValueData () |
| Clear value data entries. More...
|
|
Definition at line 767 of file InstrProf.h.