|
LLVM
8.0.1
|
#include "llvm/ProfileData/InstrProf.h"

Public Member Functions | |
| InstrProfValueSiteRecord () | |
| template<class InputIterator > | |
| InstrProfValueSiteRecord (InputIterator F, InputIterator L) | |
| void | sortByTargetValues () |
| Sort ValueData ascending by Value. More... | |
| void | sortByCount () |
| Sort ValueData Descending by Count. More... | |
| void | merge (InstrProfValueSiteRecord &Input, uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
Merge data from another InstrProfValueSiteRecord Optionally scale merged counts by Weight. More... | |
| void | scale (uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
| Scale up value profile data counts. More... | |
Public Attributes | |
| std::list< InstrProfValueData > | ValueData |
| Value profiling data pairs at a given value site. More... | |
Definition at line 594 of file InstrProf.h.
|
inline |
Definition at line 598 of file InstrProf.h.
|
inline |
Definition at line 600 of file InstrProf.h.
| void llvm::InstrProfValueSiteRecord::merge | ( | InstrProfValueSiteRecord & | Input, |
| uint64_t | Weight, | ||
| function_ref< void(instrprof_error)> | Warn | ||
| ) |
Merge data from another InstrProfValueSiteRecord Optionally scale merged counts by Weight.
Definition at line 483 of file InstrProf.cpp.
References llvm::counter_overflow, I, llvm::ARM_PROC::IE, llvm::SaturatingMultiplyAdd(), sortByTargetValues(), and ValueData.
| void llvm::InstrProfValueSiteRecord::scale | ( | uint64_t | Weight, |
| function_ref< void(instrprof_error)> | Warn | ||
| ) |
Scale up value profile data counts.
Definition at line 506 of file InstrProf.cpp.
References llvm::counter_overflow, llvm::InstrProfRecord::getNumValueSites(), I, llvm::ARM_PROC::IE, llvm::SaturatingMultiply(), and llvm::value_site_count_mismatch.
|
inline |
Sort ValueData Descending by Count.
Definition at line 845 of file InstrProf.h.
|
inline |
Sort ValueData ascending by Value.
Definition at line 604 of file InstrProf.h.
References scale().
Referenced by merge().
| std::list<InstrProfValueData> llvm::InstrProfValueSiteRecord::ValueData |
Value profiling data pairs at a given value site.
Definition at line 596 of file InstrProf.h.
Referenced by merge().
1.8.13