[PATCH] D125495: [Inline][Remark] Annotate inline pass name with link phase information for analysis.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 09:51:59 PDT 2022


mingmingl updated this revision to Diff 433118.
mingmingl marked an inline comment as done.
mingmingl edited the summary of this revision.
mingmingl added a comment.

Add struct `InlineAdvisorParams`.

- Ctor of inliner advisor provides this struct with two dimensional information.
- Inline advice instances query this struct to get the annotation information.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125495/new/

https://reviews.llvm.org/D125495

Files:
  llvm/include/llvm/Analysis/InlineAdvisor.h
  llvm/include/llvm/Analysis/ReplayInlineAdvisor.h
  llvm/include/llvm/Passes/PassBuilder.h
  llvm/include/llvm/Transforms/IPO/Inliner.h
  llvm/include/llvm/Transforms/IPO/ModuleInliner.h
  llvm/lib/Analysis/InlineAdvisor.cpp
  llvm/lib/Analysis/ReplayInlineAdvisor.cpp
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/lib/Transforms/IPO/Inliner.cpp
  llvm/lib/Transforms/IPO/ModuleInliner.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll
  llvm/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/LTO/X86/diagnostic-handler-remarks.ll
  llvm/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll
  llvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll
  llvm/test/Transforms/Inline/optimization-remarks-passed-yaml.ll
  llvm/test/Transforms/SampleProfile/remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125495.433118.patch
Type: text/x-patch
Size: 47992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/a4c06ab1/attachment.bin>


More information about the llvm-commits mailing list