|
LLVM
10.0.0
|
#include "llvm/ProfileData/InstrProf.h"
Public Types | |
| enum | OverlapStatsLevel { ProgramLevel, FunctionLevel } |
Public Member Functions | |
| OverlapStats (OverlapStatsLevel L=ProgramLevel) | |
| void | dump (raw_fd_ostream &OS) const |
| void | setFuncInfo (StringRef Name, uint64_t Hash) |
| Error | accumulateCounts (const std::string &BaseFilename, const std::string &TestFilename, bool IsCS) |
| void | addOneMismatch (const CountSumOrPercent &MismatchFunc) |
| 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 |
| const std::string * | TestFilename |
| StringRef | FuncName |
| uint64_t | FuncHash |
| bool | Valid |
Definition at line 605 of file InstrProf.h.
| Enumerator | |
|---|---|
| ProgramLevel | |
| FunctionLevel | |
Definition at line 606 of file InstrProf.h.
|
inline |
Definition at line 622 of file InstrProf.h.
References llvm::dump().
| Error llvm::OverlapStats::accumulateCounts | ( | const std::string & | BaseFilename, |
| const std::string & | TestFilename, | ||
| bool | IsCS | ||
| ) |
Definition at line 1167 of file InstrProf.cpp.
References llvm::InstrProfReader::create(), E, llvm::MipsISD::Ret, llvm::Error::success(), and llvm::Test.
| void llvm::OverlapStats::addOneMismatch | ( | const CountSumOrPercent & | MismatchFunc | ) |
Definition at line 1192 of file InstrProf.cpp.
References llvm::CountSumOrPercent::CountSum, I, llvm::Test, and llvm::CountSumOrPercent::ValueCounts.
Referenced by llvm::InstrProfRecord::overlap(), and llvm::InstrProfWriter::overlapRecord().
| void llvm::OverlapStats::addOneUnique | ( | const CountSumOrPercent & | UniqueFunc | ) |
Definition at line 1202 of file InstrProf.cpp.
References llvm::CountSumOrPercent::CountSum, I, llvm::Test, and llvm::CountSumOrPercent::ValueCounts.
Referenced by llvm::InstrProfWriter::overlapRecord().
| void llvm::OverlapStats::dump | ( | raw_fd_ostream & | OS | ) | const |
Definition at line 1211 of file InstrProf.cpp.
References llvm::format(), I, and llvm::Test.
|
inlinestatic |
Definition at line 638 of file InstrProf.h.
Referenced by llvm::InstrProfValueSiteRecord::overlap(), and llvm::InstrProfRecord::overlap().
|
inline |
Definition at line 628 of file InstrProf.h.
References Name.
| CountSumOrPercent llvm::OverlapStats::Base |
Definition at line 608 of file InstrProf.h.
Referenced by llvm::InstrProfValueSiteRecord::overlap(), and llvm::InstrProfRecord::overlap().
| const std::string* llvm::OverlapStats::BaseFilename |
Definition at line 616 of file InstrProf.h.
| uint64_t llvm::OverlapStats::FuncHash |
Definition at line 619 of file InstrProf.h.
| StringRef llvm::OverlapStats::FuncName |
Definition at line 618 of file InstrProf.h.
| OverlapStatsLevel llvm::OverlapStats::Level |
Definition at line 615 of file InstrProf.h.
| CountSumOrPercent llvm::OverlapStats::Mismatch |
Definition at line 613 of file InstrProf.h.
| CountSumOrPercent llvm::OverlapStats::Overlap |
Definition at line 612 of file InstrProf.h.
Referenced by llvm::InstrProfValueSiteRecord::overlap(), llvm::InstrProfRecord::overlap(), and llvm::InstrProfWriter::overlapRecord().
| CountSumOrPercent llvm::OverlapStats::Test |
Definition at line 610 of file InstrProf.h.
Referenced by llvm::InstrProfValueSiteRecord::overlap(), llvm::InstrProfRecord::overlap(), and llvm::InstrProfWriter::overlapRecord().
| const std::string* llvm::OverlapStats::TestFilename |
Definition at line 617 of file InstrProf.h.
| CountSumOrPercent llvm::OverlapStats::Unique |
Definition at line 614 of file InstrProf.h.
| bool llvm::OverlapStats::Valid |
Definition at line 620 of file InstrProf.h.
Referenced by llvm::InstrProfRecord::overlap().
1.8.13