[llvm] [SampleFDO][TypeProf]Support vtable type profiling for ext-binary and text format (PR #148002)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 10:10:59 PDT 2025
================
@@ -989,6 +1016,42 @@ class FunctionSamples {
return CallsiteSamples;
}
+ /// Return all the callsite type samples collected in the body of the
+ /// function.
+ const CallsiteTypeMap &getCallsiteTypeCounts() const {
+ return VirtualCallsiteTypeCounts;
+ }
+
+ /// Returns the type samples for the un-drifted location of \p Loc.
----------------
mingmingl-llvm wrote:
done.
https://github.com/llvm/llvm-project/pull/148002
More information about the llvm-commits
mailing list