rust/compiler/rustc_smir
Matthias Krüger 1889e5a00b
Rollup merge of #118694 - celinval:smir-alloc-methods, r=ouz-a
Add instance evaluation and methods to read an allocation in StableMIR

The instance evaluation is needed to handle intrinsics such as `type_id` and `type_name`.

Since we now use Allocation to represent all evaluated constants, provide a few methods to help process the data inside an allocation.

I've also started to add a structured way to get information about the compilation target machine. For now, I've only added information needed to process an allocation.

r? ``````@ouz-a``````
2023-12-08 23:15:12 +01:00
..
src Rollup merge of #118694 - celinval:smir-alloc-methods, r=ouz-a 2023-12-08 23:15:12 +01:00
.gitignore Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019' 2022-06-02 10:07:25 +00:00
Cargo.toml Add instance evaluation and methods to read alloc 2023-12-07 17:01:29 -08:00