Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono][interp] Small code refactoring for SSA #97249

Merged
merged 6 commits into from
Jan 20, 2024

Commits on Jan 19, 2024

  1. [mono][interp] Move optimization related code out of transform.c

    Use interp_ prefix for non-static methods within interpreter (mono_interp seems rather long)
    Use interp_ prefix, instead of .._interp_..., for consistency.
    Use ins everywhere in method names for consistency, instead of inst.
    BrzVlad committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    0ba6b88 View commit details
    Browse the repository at this point in the history
  2. [mono][interp] Pass ref to var storage in interp inst

    In order to facilitate overwritting of sregs/dreg during instruction iterations.
    
    Also enable iterating only on sregs.
    BrzVlad committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    d446465 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d30ee3f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51762ae View commit details
    Browse the repository at this point in the history
  5. [mono][interp] Renaming of local to var

    Local can have multiple meanings. Use it to refer to IL locals from now. All IL locals are vars. Vars can be local (single bblock use) or global.
    BrzVlad committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    26ab3b4 View commit details
    Browse the repository at this point in the history
  6. [mono][interp] Remove flags and use bit fields instead

    Makes the code clearer and it is easier to maintain.
    BrzVlad committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    2da1bdc View commit details
    Browse the repository at this point in the history