LLVM: llvm::OverlapStats Struct Reference (original) (raw)
#include "[llvm/ProfileData/InstrProf.h](InstrProf%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| enum | OverlapStatsLevel { ProgramLevel, FunctionLevel } |
| Public Member Functions | |
|---|---|
| OverlapStats (OverlapStatsLevel L=ProgramLevel) | |
| LLVM_ABI void | dump (raw_fd_ostream &OS) const |
| void | setFuncInfo (StringRef Name, uint64_t Hash) |
| LLVM_ABI Error | accumulateCounts (const std::string &BaseFilename, const std::string &TestFilename, bool IsCS) |
| LLVM_ABI void | addOneMismatch (const CountSumOrPercent &MismatchFunc) |
| LLVM_ABI void | addOneUnique (const CountSumOrPercent &UniqueFunc) |
| Static Public Member Functions | |
|---|---|
| static double | score (uint64_t Val1, uint64_t Val2, double Sum1, double Sum2) |
| Public Attributes | |
|---|---|
| CountSumOrPercent | Base |
| CountSumOrPercent | Test |
| CountSumOrPercent | Overlap |
| CountSumOrPercent | Mismatch |
| CountSumOrPercent | Unique |
| OverlapStatsLevel | Level |
| const std::string * | BaseFilename = nullptr |
| const std::string * | TestFilename = nullptr |
| StringRef | FuncName |
| uint64_t | FuncHash = 0 |
| bool | Valid = false |
Definition at line 816 of file InstrProf.h.
◆ OverlapStatsLevel
| Enumerator |
|---|
| ProgramLevel |
| FunctionLevel |
Definition at line 817 of file InstrProf.h.
| llvm::OverlapStats::OverlapStats ( OverlapStatsLevel L = ProgramLevel) | inline |
|---|
◆ accumulateCounts()
| Error llvm::OverlapStats::accumulateCounts | ( | const std::string & | BaseFilename, |
|---|---|---|---|
| const std::string & | TestFilename, | ||
| bool | IsCS ) |
◆ addOneMismatch()
◆ addOneUnique()
◆ dump()
Definition at line 1603 of file InstrProf.cpp.
References Base, BaseFilename, llvm::format(), FuncHash, FuncName, I, Level, Mismatch, Overlap, ProgramLevel, Test, TestFilename, Unique, and Valid.
◆ score()
| double llvm::OverlapStats::score ( uint64_t Val1, uint64_t Val2, double Sum1, double Sum2 ) | inlinestatic |
|---|
◆ setFuncInfo()
◆ Base
◆ BaseFilename
const std::string* llvm::OverlapStats::BaseFilename = nullptr
◆ FuncHash
uint64_t llvm::OverlapStats::FuncHash = 0
◆ FuncName
◆ Level
OverlapStatsLevel llvm::OverlapStats::Level
◆ Mismatch
◆ Overlap
◆ Test
◆ TestFilename
const std::string* llvm::OverlapStats::TestFilename = nullptr
◆ Unique
◆ Valid
bool llvm::OverlapStats::Valid = false
The documentation for this struct was generated from the following files:
- include/llvm/ProfileData/InstrProf.h
- lib/ProfileData/InstrProf.cpp