JIT: use new phase objects more extensively (#32688)
authorAndy Ayers <andya@microsoft.com>
Wed, 26 Feb 2020 17:48:26 +0000 (09:48 -0800)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2020 17:48:26 +0000 (09:48 -0800)
commit9a47b6b9d75b18e913055759286578850aad958d
tree2de4747e1d9f7eb347dd06628ed977a76ae1d0ff
parent96ebb80bf41547cd554d7f4220928d3d6d802c98
JIT: use new phase objects more extensively (#32688)

Convert the mainline compiler phases over so they are run via compiler or
action phases.

To keep jit dump size and checked jit throughput the same as it is now,
add phase whitelists to opt into pre phase dumps and checks triggered by the
phase objects on a per-phase basis. This allow us to gradually remove explicit
dumps and check invocations phase by phase, over time.
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compphases.h
src/coreclr/src/jit/phase.cpp
src/coreclr/src/jit/phase.h