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

Refactor rustc_codegen_ssa (part 2) #56636

Closed
wants to merge 28 commits into from

Commits on Mar 1, 2019

  1. Don't use c_uint in cg_ssa

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    c324b4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86104b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cec0cf5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17ef249 View commit details
    Browse the repository at this point in the history
  5. Misc

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    7d72269 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fbd969b View commit details
    Browse the repository at this point in the history
  7. Remove const_{cstr,str_slice,get_elt,get_real} and is_const_real meth…

    …ods from cg_ssa
    
    This introduces the static_panic_msg trait method to StaticBuilderMethods.
    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    48c3baa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    86f0603 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    84c5b52 View commit details
    Browse the repository at this point in the history
  10. [WIP] Make some debug info methods take &mut FunctionDebugContext

    declare_local still takes &FunctionDebugContext, because of borrowck errors
    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    18e59b7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    231ff37 View commit details
    Browse the repository at this point in the history
  12. Rebase fallout

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d24125e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    13d5c03 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7319287 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1e0e3b0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5f33467 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d163582 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e19c4b9 View commit details
    Browse the repository at this point in the history
  19. Relax some trait constraints

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    a0713cc View commit details
    Browse the repository at this point in the history
  20. Move the loop of Rvalue::Repeat codegen out of cg_ssa

    This way a codegen backend doesn't need to provide a phi instruction,
    which codegen backends other than LLVMmay not support easily, because
    they for example, like cranelift, use basic block parameters.
    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    14c3492 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    97e43a4 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    dd50999 View commit details
    Browse the repository at this point in the history
  23. Remove inline_asm_call from cg_ssa

    `count_insn` is no longer called for inline asm, because it is private to builder.rs
    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6a92455 View commit details
    Browse the repository at this point in the history
  24. Remove va_arg from cg_ssa

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    c45a9b9 View commit details
    Browse the repository at this point in the history
  25. Relax some more constraints

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d7a528c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    018747b View commit details
    Browse the repository at this point in the history
  27. Fix tidy

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    ef3358b View commit details
    Browse the repository at this point in the history
  28. Remove duplicate va_arg

    bjorn3 committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    270540b View commit details
    Browse the repository at this point in the history