Update emitter statistics
authorBruce Forstall <brucefo@microsoft.com>
Mon, 18 Mar 2019 21:53:52 +0000 (14:53 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Wed, 20 Mar 2019 20:20:55 +0000 (13:20 -0700)
commit8aac376eb83d25c47f616dab826c4a7d68936aa9
tree72212b4f38b5c9275bec114869088584f4a19b1a
parenta91c8fbee8970404657dbcfd5fd34074dfabc913
Update emitter statistics

1. Move BasicBlock static statistics output to block.cpp,
and update it to match the current BasicBlock declaration.
2. Add counts for each instrDesc type that is used.
3. Dump instrDesc type sizes.
4. Dump IG "static" buffer sizes.
5. Dump how many of each instrDesc can fit in the "static" IG.
6. Dump the maximum prolog instrDesc count and prolog IG size.
7. Fix and enable the "common small constants" output.

Commit migrated from https://github.com/dotnet/coreclr/commit/db98a132c216cf561b74a3cb86980e3f22d80852
src/coreclr/src/jit/block.cpp
src/coreclr/src/jit/block.h
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/emit.cpp
src/coreclr/src/jit/emit.h
src/coreclr/src/jit/emitarm.cpp
src/coreclr/src/jit/emitarm64.cpp
src/coreclr/src/jit/emitxarch.cpp