| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-09 | rename `BorrowKind::Shallow` to `Fake` | lcnr | -1/+1 | |
| also adds some comments (cherry picked from commit 992d93f687c75f8f5ee69e0fb43bff509c7c9cb8) | ||||
| 2023-09-28 | remove unimplemented | ouz-a | -1/+1 | |
| 2023-09-28 | add real folder to Region | ouz-a | -1/+1 | |
| 2023-09-28 | remove un-needed variants | ouz-a | -7/+2 | |
| 2023-09-28 | fix imports | ouz-a | -8/+3 | |
| 2023-09-28 | add stable for RegionKind | ouz-a | -11/+26 | |
| 2023-09-28 | add RegionDef | ouz-a | -1/+31 | |
| 2023-09-25 | Rebase fallout | Oli Scherer | -1/+1 | |
| 2023-09-25 | Split out the stable part of smir into its own crate to prevent accidental ↵ | Oli Scherer | -1662/+11 | |
| usage of forever unstable things | ||||
| 2023-09-25 | Move `Opaque` to `stable_mir` | Oli Scherer | -38/+35 | |
| 2023-09-25 | Fix test by adding a stable way to get an opaque DefKind | Oli Scherer | -0/+23 | |
| 2023-09-25 | Eliminate escape hatch | Oli Scherer | -12/+23 | |
| 2023-09-25 | Eliminate `with_tables` helper | Oli Scherer | -78/+18 | |
| 2023-09-24 | Remove span from BrAnon. | Camille GILLOT | -5/+3 | |
| 2023-09-23 | Remove GeneratorWitness and rename GeneratorWitnessMIR. | Camille GILLOT | -5/+1 | |
| 2023-09-21 | Rollup merge of #115972 - RalfJung:const-consistency, r=oli-obk | Guillaume Gomez | -7/+7 | |
| rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const Also, be more consistent with the `to/eval_bits` methods... we had some that take a type and some that take a size, and then sometimes the one that takes a type is called `bits_for_ty`. Turns out that `ty::Const`/`mir::ConstKind` carry their type with them, so we don't need to even pass the type to those `eval_bits` functions at all. However this is not properly consistent yet: in `ty` we have most of the methods on `ty::Const`, but in `mir` we have them on `mir::ConstKind`. And indeed those two types are the ones that correspond to each other. So `mir::ConstantKind` should actually be renamed to `mir::Const`. But what to do with `mir::Constant`? It carries around a span, that's really more like a constant operand that appears as a MIR operand... it's more suited for `syntax.rs` than `consts.rs`, but the bigger question is, which name should it get if we want to align the `mir` and `ty` types? `ConstOperand`? `ConstOp`? `Literal`? It's not a literal but it has a field called `literal` so it would at least be consistently wrong-ish... ``@oli-obk`` any ideas? | ||||
| 2023-09-21 | rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const | Ralf Jung | -7/+7 | |
| 2023-09-19 | adjust constValue::Slice to work for arbitrary slice types | Ralf Jung | -8/+6 | |
| 2023-09-19 | move ConstValue into mir | Ralf Jung | -1/+4 | |
| this way we have mir::ConstValue and ty::ValTree as reasonably parallel | ||||
| 2023-09-14 | Rollup merge of #115772 - ouz-a:smir_span2, r=oli-obk | Matthias Krüger | -8/+34 | |
| Improve Span in smir Addressing https://github.com/rust-lang/project-stable-mir/issues/31 r? ``@oli-obk`` | ||||
| 2023-09-14 | make it more clear which functions create fresh AllocId | Ralf Jung | -1/+1 | |
| 2023-09-14 | cleanup op_to_const a bit; rename ConstValue::ByRef → Indirect | Ralf Jung | -1/+1 | |
| 2023-09-14 | use AllocId instead of Allocation in ConstValue::ByRef | Ralf Jung | -1/+2 | |
| 2023-09-14 | span is index | ouz-a | -8/+34 | |
| 2023-09-13 | Auto merge of #115793 - spastorino:smir-explicit-predicates-of, r=oli-obk | bors | -0/+22 | |
| Add explicit_predicates_of to SMIR Adding `explicit_predicates_of` so we can use it from Mir formality. r? `@oli-obk` | ||||
| 2023-09-12 | Add explicit_predicates_of to SMIR | Santiago Pastorino | -0/+22 | |
| 2023-09-11 | Rollup merge of #115749 - oli-obk:smir_consts, r=compiler-errors | Matthias Krüger | -1/+1 | |
| Allow loading the SMIR for constants and statics cc https://github.com/rust-lang/project-stable-mir/issues/34 before this PR we were ICEing when trying to access the SMIR of anything other than functions | ||||
| 2023-09-11 | Rollup merge of #115730 - bjorn3:some_driver_refactors, r=compiler-errors | Matthias Krüger | -2/+0 | |
| Some more small driver refactors To improve clarity and simplify some code. | ||||
| 2023-09-11 | Rollup merge of #115727 - fee1-dead-contrib:effect-fallback, r=oli-obk | Matthias Krüger | -1/+1 | |
| Implement fallback for effect param r? `@oli-obk` or `@lcnr` tracking issue for this ongoing work: https://github.com/rust-lang/rust/issues/110395 | ||||
| 2023-09-11 | add `is_host_effect` to `GenericParamDefKind::Const` and address review | Deadbeef | -1/+1 | |
| 2023-09-11 | Allow loading the SMIR for constants and statics | Oli Scherer | -1/+1 | |
| 2023-09-10 | Remove EarlyErrorHandler argument from after_analysis callback | bjorn3 | -2/+0 | |
| It is only used by miri which can create a new one using the Session. | ||||
| 2023-09-09 | add function that returns span of an item | ouz-a | -0/+11 | |
| 2023-09-06 | Rollup merge of #115605 - ouz-a:smir_better_debug, r=oli-obk | Matthias Krüger | -1/+8 | |
| Better Debug for `Ty` in smir Similar to what I did here https://github.com/rust-lang/rust/pull/115534. r? ``@oli-obk`` | ||||
| 2023-09-06 | Ty Debug now prints id and kind | ouz-a | -1/+8 | |
| 2023-09-06 | Implement and test monomorphization | Oli Scherer | -2/+63 | |
| 2023-09-06 | Allow fetching the SMIR body of FnDefs | Oli Scherer | -5/+15 | |
| 2023-09-06 | Deopaquify `ParamConst` | Oli Scherer | -11/+26 | |
| 2023-09-06 | Add types to all constants | Oli Scherer | -8/+9 | |
| 2023-09-06 | Also use `Const` in `SMIR` instead of just `ConstantKind` | Oli Scherer | -15/+19 | |
| 2023-09-06 | Add type folder to SMIR | Oli Scherer | -6/+255 | |
| 2023-09-05 | Add tests and use ControlFlow | Celina G. Val | -34/+34 | |
| 2023-09-05 | SMIR: Allow users to pick if compilation continues | Celina G. Val | -8/+20 | |
| Currently we stop compilation, but some users might want to keep going. This is needed for us to test against rustc tests. Other tools, such as Kani, also implements parts of their logic as a backend so it is important for compilation to continue. | ||||
| 2023-09-05 | Diferentiate between ICE and compilation error | Celina G. Val | -8/+15 | |
| 2023-09-05 | Adjust StableMIR interface to return and not crash | Celina G. Val | -11/+37 | |
| Invoking StableMir::run() on a crate that has any compilation error was crashing the entire process. Instead, return a `CompilerError` so the user knows compilation did not succeed. I believe ICE will also be converted to `CompilerError`. I'm also adding a return value to the callback, because I think it will be handy for users (at least it was for my current task of implementing a tool to validate stable-mir). However, if people disagree, I can remove that. | ||||
| 2023-09-04 | provide more useful info for DefId Debug | ouz-a | -1/+20 | |
| 2023-09-03 | Auto merge of #115470 - ericmarkmartin:stable-prov, r=oli-obk | bors | -7/+28 | |
| add stable provenance r? `@spastorino` implements rust-lang/project-stable-mir#22 | ||||
| 2023-09-02 | add stable provenance | Eric Mark Martin | -7/+28 | |
| 2023-09-01 | Create a SMIR visitor | Oli Scherer | -3/+202 | |
| 2023-08-30 | Move some logic using rustc datastructures to the `rustc_smir` module | Oli Scherer | -131/+135 | |
