Tweak handling of arguments when argument register reuse is disabled.

If there are multiple uses of an argument value, split it right after
its definition instead of at the first use. This makes it more likely
that arguments get in useful registers initially and reduces the
amount of argument moves needed.

This reduces the GMSCore v10 debug build size by 20kB and reduces
a simple debug dex file size from 15kB to 13kB.

R=zerny@google.com

Bug: 38375244
Change-Id: Ibfe45500a87c73a91dad6bbcfdb048dd590e5efb
1 file changed
tree: da59fcd6d8ce576e20bb6f60d0a5b486f1049539
  1. buildSrc/
  2. scripts/
  3. src/
  4. tests/
  5. third_party/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. build.gradle
  10. codereview.settings
  11. CONTRIBUTING.md
  12. copyAdditionalJctfCommonFiles.gradle
  13. LICENSE
  14. README.md
README.md

The R8 repo contains two tools.

  1. D8 is a dexer that converts java byte code to dex code.

  2. R8 is a java program shrinking and minification tool.