about summary refs log tree commit diff
path: root/compiler/stable_mir/src/mir.rs
AgeCommit message (Collapse)AuthorLines
2025-07-14rename `stable_mir` to `rustc_public`, and `rustc_smir` to `rustc_public_bridge`Makai-8/+0
2025-07-06move `stable_mir` back to its own crate and move `rustc_internal` to ↵Makai-0/+8
the`stable_mir` crate As part of this reorganization, some traits need to be moved from `rustc_smir::context::traits` to `stable_mir::unstable::internal_cx`. These traits are specifically designed for `InternalCx` to clarify the behavior of different functions that share the same name. This move is necessary to avoid orphan rule violations.
2025-04-05let `rustc_smir` host `stable_mir` for refactoringMakai-8/+0
2025-03-18Add `MutMirVisitor`makai410-1/+1
Implement `make_mir_visitor` macro to generate `MirVisitor` and `MutMirVisitor`. Add `ret_local_mut()`, `arg_locals_mut()` and `inner_locals_mut()` to `Body`, specifically for `MutMirVisitor`.
2023-11-21Add support to global allocation to stable-mirCelina G. Val-0/+1
2023-11-17move pretty into stable_mirOğuz Ağcayazı-0/+1
2023-10-30Add a stable MIR visitorCelina G. Val-0/+2
Add a few utility functions as well and extend most `mir` and `ty` ADTs to implement `PartialEq` and `Eq`.
2023-10-16Add MonoItems and Instance to stable_mirCelina G. Val-0/+1
Also add a few methods to instantiate instances and get an instance definition. We're still missing support to actually monomorphize the instance body.
2023-09-25Split out the stable part of smir into its own crate to prevent accidental ↵Oli Scherer-0/+3
usage of forever unstable things