[#llvm-updateProfileCallee] = xref:llvm.adoc[llvm]::updateProfileCallee :relfileprefix: ../ :mrdocs: Update callee profile counts after cloning or inlining. == Synopsis Declared in `<llvm/Transforms/Utils/Cloning.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void updateProfileCallee( xref:llvm/Function.adoc[Function]* Callee, int64_t EntryDelta, xref:llvm/ValueMap.adoc[ValueMap<Value const*, WeakTrackingVH>] const* 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. == Parameters [cols="1,4"] |=== | Name| Description | *Callee* | Function whose profile data should be updated. | *EntryDelta* | Signed delta added to the callee's entry count. | *VMap* | Optional mapping used during inlining to update the cloned callee as well. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#