[inliner] Add per-SCC-pass InlineAdvisor printing option
authorJin Xin Ng <njx@google.com>
Tue, 14 Jun 2022 14:52:36 +0000 (07:52 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 14 Jun 2022 15:06:52 +0000 (08:06 -0700)
commit9f2b873a7de78c191811d03fd6b30cfc5c04505e
tree7343f60d5612f4d3ba4874363e66a4f2afd253bb
parent60d4a10710693d9562fa2c01307d2acddbe104bb
[inliner] Add per-SCC-pass InlineAdvisor printing option

Adds option to print the contents of the Inline Advisor after each SCC Inliner pass

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D127689
llvm/include/llvm/Analysis/InlineAdvisor.h
llvm/lib/Analysis/InlineAdvisor.cpp
llvm/lib/Transforms/IPO/Inliner.cpp
llvm/test/Transforms/Inline/ML/enable-inline-advisor-printing-ml.ll [new file with mode: 0644]
llvm/test/Transforms/Inline/enable-inline-advisor-printing.ll [new file with mode: 0644]