This patch adds MLPriority as the first step toward the ML-based
function inlining with the module inliner.
For now, MLPriority is completely identical to CostPriority.
Once this patch lands, I'm planning to:
- integrate NoInferenceModelRunner,
- memoize the priority computation so that the priority remains the same for given values of metrics even with the noise injected during training, and
- port/take more features into account.
can you initialize it here - lowers the risk of undefined values later (like if somehow the ctor forgets to initialize it)