[llvm][NFC] Move inlining decision-related APIs in InliningAdvisor.
authorMircea Trofin <mtrofin@google.com>
Fri, 8 May 2020 03:35:08 +0000 (20:35 -0700)
committerMircea Trofin <mtrofin@google.com>
Mon, 11 May 2020 16:00:59 +0000 (09:00 -0700)
commit48fa355ed4bd5331d67fdb97642d737c8adf2e7f
tree27d416ecb7495826918ebd4ada517e500e118173
parentcaa2408cbe0a21e175cb287795d283ec4196cdee
[llvm][NFC] Move inlining decision-related APIs in InliningAdvisor.

Summary: Factoring out in preparation to https://reviews.llvm.org/D79042

Reviewers: dblaikie, davidxl

Subscribers: mgorny, eraman, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79613
llvm/include/llvm/Analysis/InlineAdvisor.h [new file with mode: 0644]
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/InlineAdvisor.cpp [new file with mode: 0644]
llvm/lib/Transforms/IPO/Inliner.cpp