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
Synopsis
Declared in <llvm/Transforms/Utils/Cloning.h>
void
updateProfileCallee(
Function* Callee,
int64_t EntryDelta,
ValueMap<Value const*, WeakTrackingVH> const* VMap = nullptr);
Parameters
Name |
Description |
VMap |
See the file comment. |
Created with MrDocs