| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-10-10 | Rollup merge of #116560 - ouz-a:efficient_ids, r=oli-obk | Guillaume Gomez | -32/+47 | |
| In smir use `FxIndexMap` to store indexed ids Previously we used `vec` for storing indexed types, which is fine for small cases but will lead to huge performance issues when we use `smir` for real world cases. Addresses https://github.com/rust-lang/project-stable-mir/issues/35 r? ``@oli-obk`` | ||||
| 2023-10-10 | add new wrapper for FxIndexMap | Oğuz Ağcayazı | -32/+42 | |
| 2023-10-09 | spans are now indexmapped | Oğuz Ağcayazı | -11/+9 | |
| 2023-10-09 | alloc id is indexmapped | Oğuz Ağcayazı | -8/+9 | |
| 2023-10-09 | defids are indexmapped | Oğuz Ağcayazı | -11/+17 | |
| 2023-10-09 | return crates instead of a crate | Oğuz Ağcayazı | -5/+12 | |
| 2023-10-08 | rustdoc: remove rust logo from non-Rust crates | Michael Howell | -0/+3 | |
| 2023-10-06 | Remove unnecessary `pub`. | Nicholas Nethercote | -1/+1 | |
| 2023-10-06 | Remove unneeded features. | Nicholas Nethercote | -4/+0 | |
| 2023-10-05 | impl stable for kinds | Oğuz Ağcayazı | -114/+114 | |
| 2023-10-05 | add span to statements | ouz-a | -52/+71 | |
| 2023-09-30 | add span to terminator | ouz-a | -38/+69 | |
| 2023-09-30 | create localdecl and add span to it | ouz-a | -1/+8 | |
| 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 | |
