[llvm][NFC] Factored the default inlining advice
authorMircea Trofin <mtrofin@google.com>
Mon, 13 Jul 2020 19:14:21 +0000 (12:14 -0700)
committerMircea Trofin <mtrofin@google.com>
Mon, 13 Jul 2020 19:20:35 +0000 (12:20 -0700)
commit11046ef69e3e9ec3ae9f5f4caadf965b7f1e22c8
tree33fdf37f7854edb51b07cfe0bdb1a97caa9d224a
parent3780d3eb1001fd25d4b4cf953ae621a0f3b30ee5
[llvm][NFC] Factored the default inlining advice

This is in preparation for the 'development' mode advisor. We currently
want to track what the default policy's decision would have been, this
refactoring makes it easier to do that.
llvm/lib/Analysis/InlineAdvisor.cpp