Add IR size after certain phases to the JIT log.
authorPat Gavlin <pagavlin@microsoft.com>
Mon, 13 Feb 2017 23:39:33 +0000 (15:39 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Mon, 13 Feb 2017 23:39:33 +0000 (15:39 -0800)
commit0441081ddadb82cc5a003b75c1d88d391ccd941e
tree55295b5c7fc18dbe1ff3c65b3689411626863a51
parentd546cbcd67413b40d7fcdcfeececf411adee62d5
Add IR size after certain phases to the JIT log.

This change adds support for measuring and reporting the number of nodes
in a function after a certain subset of the JIT's phases. This reporting
is enabled by setting `COMPlus_JitMeasureIR` and `COMPlus_JtiTimeLogCsv`
in conjunction with each other.

Commit migrated from https://github.com/dotnet/coreclr/commit/a274b5af4bdc6af0919a28708b3085a59da32cd1
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/compphases.h
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/jitconfigvalues.h