ΒΆvoid updateProfileCallee(
    llvm::Function* Callee,
    int64_t entryDelta,
    const ValueMap<const llvm::Value*,
                   llvm::WeakTrackingVH>* VMap =
        nullptr)

Description

Updates profile information by adjusting the entry count by adding entryDelta then scaling callsite information by the new count divided by the old count. VMap is used during inlinng to also update the new clone

Declared at: llvm/include/llvm/Transforms/Utils/Cloning.h:271

Parameters

llvm::Function* Callee
int64_t entryDelta
const ValueMap<const llvm::Value*, llvm::WeakTrackingVH>* VMap = nullptr