JIT: preliminary version of profile-based inline policy (#44427)
authorAndy Ayers <andya@microsoft.com>
Wed, 11 Nov 2020 03:45:06 +0000 (19:45 -0800)
committerGitHub <noreply@github.com>
Wed, 11 Nov 2020 03:45:06 +0000 (19:45 -0800)
commita593f585711872802b39e735e86ad3585bb5b6ee
tree15a14fb8e947e6dc6faf9d2746e74fdee424e256
parent0efefa89b6d6534ae4046650b31d3f68096b90aa
JIT: preliminary version of profile-based inline policy (#44427)

Add a new inline policy that can be used when a method has profile data.

It uses the call site frequency to boost profitability. Size and per-call
benefit are currently using the estimates done by the model policy.

Not on by default. Set COMPlus_JitInlinePolicyProfile=1 to enable.
Add testing to weekly experimental runs.
eng/pipelines/common/templates/runtimes/run-test-job.yml
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/inline.cpp
src/coreclr/src/jit/inline.def
src/coreclr/src/jit/inline.h
src/coreclr/src/jit/inlinepolicy.cpp
src/coreclr/src/jit/inlinepolicy.h
src/coreclr/src/jit/jitconfigvalues.h
src/tests/Common/testenvironment.proj