[llvm] [llvm][ctx_profile] Add the `llvm.instrprof.callsite` intrinsic (PR #89939)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 09:17:17 PDT 2024
================
@@ -14139,6 +14139,37 @@ Semantics:
""""""""""
See description of '``llvm.instrprof.increment``' intrinsic.
+'``llvm.instrprof.callsite``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+::
+
+ declare void @llvm.instrprof.callsite(ptr <name>, i64 <hash>,
+ i32 <num-counters>,
+ i32 <index>, ptr <callsite>)
+
+Overview:
+"""""""""
+
+The '``llvm.instrprof.callsite``' intrinsic should be emitted before a callsite
----------------
snehasish wrote:
"should be emitted" -> can you specify under what modes this intrinsic is emitted (or is it always as this statement implies)?
https://github.com/llvm/llvm-project/pull/89939
More information about the llvm-commits
mailing list