================
@@ -58,11 +58,18 @@ class StaticDataProfileInfo {
   LLVM_ABI StaticDataHotness getSectionHotnessUsingProfileCount(
       const Constant *C, const ProfileSummaryInfo *PSI, uint64_t Count) const;
 
+  /// Return the hotness based on section prefix \p SectionPrefix.
+  LLVM_ABI StaticDataHotness
+  getSectionHotnessUsingDAP(std::optional<StringRef> SectionPrefix) const;
----------------
mingmingl-llvm wrote:

done by extending 'DAP' to `DataAccessProfile` or `DataAccessProf`. I'll think 
about where to mention 'DAP' to LLVM docs so the abbreviation name are widely 
known (like PGO/LTO, etc).

I'll revise the test name 
`llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll` in a follow-up 
patch.

https://github.com/llvm/llvm-project/pull/163325
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to