[PATCH] D79042: [llvm] Add interface to drive inlining decision using ML model

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 14:34:32 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, eraman, dblaikie.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.
mtrofin updated this revision to Diff 260770.
mtrofin added a comment.

added comments


This patch adds the analysis pass and the hook-ups into the inliner. The
implementation of the analysis pass requires optional dependencies be
present, and will be introduced subsequently.

RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79042

Files:
  llvm/include/llvm/Analysis/ML/InliningAdvisor.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/InliningAdvisorAnalysis.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/IPO/Inliner.cpp
  llvm/test/Transforms/Inline/inlining-advisor-default.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79042.260770.patch
Type: text/x-patch
Size: 24739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/6753676f/attachment.bin>


More information about the llvm-commits mailing list