|
LLVM
4.0.0
|
#include <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 (SoftInstrProfErrors &SIPE, InstrProfValueSiteRecord &Input, uint64_t Weight=1) |
Merge data from another InstrProfValueSiteRecord Optionally scale merged counts by Weight. More... | |
| void | scale (SoftInstrProfErrors &SIPE, uint64_t Weight) |
| 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 553 of file InstrProf.h.
|
inline |
Definition at line 557 of file InstrProf.h.
References ValueData.
|
inline |
Definition at line 559 of file InstrProf.h.
| void llvm::InstrProfValueSiteRecord::merge | ( | SoftInstrProfErrors & | SIPE, |
| InstrProfValueSiteRecord & | Input, | ||
| uint64_t | Weight = 1 |
||
| ) |
Merge data from another InstrProfValueSiteRecord Optionally scale merged counts by Weight.
Definition at line 342 of file InstrProf.cpp.
References llvm::SoftInstrProfErrors::addError(), llvm::counter_overflow, I, llvm::ARM_PROC::IE, llvm::SaturatingMultiplyAdd(), sortByTargetValues(), and ValueData.
| void llvm::InstrProfValueSiteRecord::scale | ( | SoftInstrProfErrors & | SIPE, |
| uint64_t | Weight | ||
| ) |
Scale up value profile data counts.
Definition at line 365 of file InstrProf.cpp.
References llvm::SoftInstrProfErrors::addError(), llvm::counter_overflow, I, llvm::ARM_PROC::IE, llvm::SaturatingMultiply(), and ValueData.
|
inline |
Sort ValueData Descending by Count.
Definition at line 750 of file InstrProf.h.
References ValueData.
|
inline |
Sort ValueData ascending by Value.
Definition at line 563 of file InstrProf.h.
References ValueData.
Referenced by merge().
| std::list<InstrProfValueData> llvm::InstrProfValueSiteRecord::ValueData |
Value profiling data pairs at a given value site.
Definition at line 555 of file InstrProf.h.
Referenced by InstrProfValueSiteRecord(), merge(), scale(), sortByCount(), and sortByTargetValues().
1.8.6