|
| NamedInstrProfRecord ()=default |
|
| NamedInstrProfRecord (StringRef Name, uint64_t Hash, std::vector< uint64_t > Counts) |
|
| NamedInstrProfRecord (StringRef Name, uint64_t Hash, std::vector< uint64_t > Counts, std::vector< uint8_t > BitmapBytes) |
|
| InstrProfRecord ()=default |
|
| InstrProfRecord (std::vector< uint64_t > Counts) |
|
| InstrProfRecord (std::vector< uint64_t > Counts, std::vector< uint8_t > BitmapBytes) |
|
| 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.
|
|
uint32_t | getNumValueSites (uint32_t ValueKind) const |
| Return the number of instrumented sites for ValueKind.
|
|
uint32_t | getNumValueData (uint32_t ValueKind) const |
| Return the total number of ValueData for ValueKind.
|
|
ArrayRef< InstrProfValueData > | getValueArrayForSite (uint32_t ValueKind, uint32_t Site) const |
| Return the array of profiled values at Site .
|
|
void | reserveSites (uint32_t ValueKind, uint32_t NumValueSites) |
| Reserve space for NumValueSites sites.
|
|
void | addValueData (uint32_t ValueKind, uint32_t Site, ArrayRef< InstrProfValueData > VData, InstrProfSymtab *SymTab) |
| Add ValueData for ValueKind at value Site.
|
|
void | merge (InstrProfRecord &Other, uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
| Merge the counts in Other into this one.
|
|
void | scale (uint64_t N, uint64_t D, function_ref< void(instrprof_error)> Warn) |
| Scale up profile counts (including value profile data) by a factor of (N / D).
|
|
void | sortValueData () |
| Sort value profile data (per site) by count.
|
|
void | Clear () |
| Clear value data entries and edge counters.
|
|
void | clearValueData () |
| Clear value data entries.
|
|
void | accumulateCounts (CountSumOrPercent &Sum) const |
| Compute the sums of all counts and store in Sum.
|
|
void | overlap (InstrProfRecord &Other, OverlapStats &Overlap, OverlapStats &FuncLevelOverlap, uint64_t ValueCutoff) |
| Compute the overlap b/w this IntrprofRecord and Other.
|
|
void | overlapValueProfData (uint32_t ValueKind, InstrProfRecord &Src, OverlapStats &Overlap, OverlapStats &FuncLevelOverlap) |
| Compute the overlap of value profile counts.
|
|
CountPseudoKind | getCountPseudoKind () const |
|
void | setPseudoCount (CountPseudoKind Kind) |
|
Definition at line 997 of file InstrProf.h.