llvm::misexpect

Utilities for diagnosing incorrect llvm.expect usage against PGO data.

Functions

NameDescription
checkBackendInstrumentation Check backend instrumentation against llvm.expect thresholds.
checkExpectAnnotations Check expect annotations against PGO counters for frontend or backend use.
checkFrontendInstrumentation Check frontend instrumentation against llvm.expect thresholds.
verifyMisExpect veryifyMisExpect - compares RealWeights to the thresholds used for llvm.expect and warns if the PGO counters are outside of the expected range.