LLVM: llvm::InstrProfValueSiteRecord Struct Reference (original) (raw)
#include "[llvm/ProfileData/InstrProf.h](InstrProf%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| InstrProfValueSiteRecord ()=default | |
| InstrProfValueSiteRecord (std::vector< InstrProfValueData > &&VD) | |
| void | sortByTargetValues () |
| Sort ValueData ascending by Value. | |
| void | sortByCount () |
| Sort ValueData Descending by Count. | |
| LLVM_ABI void | merge (InstrProfValueSiteRecord &Input, uint64_t Weight, function_ref< void(instrprof_error)> Warn) |
| Merge data from another InstrProfValueSiteRecord Optionally scale merged counts by Weight. | |
| LLVM_ABI void | scale (uint64_t N, uint64_t D, function_ref< void(instrprof_error)> Warn) |
| Scale up value profile data counts by N (Numerator) / D (Denominator). | |
| LLVM_ABI void | overlap (InstrProfValueSiteRecord &Input, uint32_t ValueKind, OverlapStats &Overlap, OverlapStats &FuncLevelOverlap) |
| Compute the overlap b/w this record and Input record. |
| Public Attributes | |
|---|---|
| std::vector< InstrProfValueData > | ValueData |
| Value profiling data pairs at a given value site. |
Definition at line 862 of file InstrProf.h.
| llvm::InstrProfValueSiteRecord::InstrProfValueSiteRecord ( ) | default |
|---|
◆ InstrProfValueSiteRecord() [2/2]
| llvm::InstrProfValueSiteRecord::InstrProfValueSiteRecord ( std::vector< InstrProfValueData > && VD) | inline |
|---|
◆ merge()
◆ overlap()
◆ scale()
◆ sortByCount()
| void llvm::InstrProfValueSiteRecord::sortByCount ( ) | inline |
|---|
◆ sortByTargetValues()
| void llvm::InstrProfValueSiteRecord::sortByTargetValues ( ) | inline |
|---|
◆ ValueData
std::vector llvm::InstrProfValueSiteRecord::ValueData
The documentation for this struct was generated from the following files:
- include/llvm/ProfileData/InstrProf.h
- lib/ProfileData/InstrProf.cpp