ΒΆvoid verifyMisExpect(
    llvm::Instruction* I,
    const llvm::SmallVector<uint32_t, 4>& Weights,
    llvm::LLVMContext& Ctx)

Description

verifyMisExpect - compares PGO counters to the thresholds used for llvm.expect and warns if the PGO counters are outside of the expected range.

Declared at: llvm/include/llvm/Transforms/Utils/MisExpect.h:30

Parameters

llvm::Instruction* I
The Instruction being checked
const llvm::SmallVector<uint32_t, 4>& Weights
A vector of profile weights for each target block
llvm::LLVMContext& Ctx
The current LLVM context