summary refs log tree commit diff
path: root/compiler/rustc_smir/src
AgeCommit message (Expand)AuthorLines
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-1/+1
2024-03-14Rollup merge of #122405 - celinval:smir-new-const, r=oli-obkMatthias Krüger-7/+51
2024-03-13Rollup merge of #122203 - adpaco-aws:smir-intrinsic-name, r=celinvalMatthias Krüger-0/+10
2024-03-12Add `intrinsic_name` to get plain intrinsic nameAdrian Palacios-0/+10
2024-03-12Add methods to create constantsCelina G. Val-7/+51
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-2/+2
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-1/+7
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-3/+5
2024-03-01Add support to new float typesCelina G. Val-4/+7
2024-03-01Implement missing ABI structures in StableMIRCelina G. Val-7/+59
2024-02-28Add `f16` and `f128` to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`Trevor Gross-0/+2
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-2/+0
2024-02-24Implement asm goto in MIR and MIR loweringGary Guo-1/+2
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-2/+3
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-2/+1
2024-02-17Merge `CompilerError::CompilationFailed` and `CompilerError::ICE`.Nicholas Nethercote-2/+8
2024-02-15Rollup merge of #120982 - momvart:smir-61-foreign_kind, r=oli-obkMatthias Krüger-33/+105
2024-02-14Rewrite foreign item kind query using `DefKind`Mohammad Omidvar-21/+13
2024-02-12Add APIs for fetching foreign items including foreign modules, their ABIs, an...Mohammad Omidvar-33/+113
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2024-02-08Add a new debug_assertions instrinsic (compiler)Ben Kimock-0/+1
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-1/+1
2024-02-06Bless tests, add commentsMichael Goulet-2/+2
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-0/+1
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-0/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-0/+4
2024-01-30Remove the `abi_amdgpu_kernel` featureclubby789-3/+0
2024-01-22Do not normalize closure signature when building FnOnce shimMichael Goulet-1/+4
2024-01-19Use the new `with_tables` everywhereOli Scherer-145/+127
2024-01-19Ensure internal function is safeCelina G. Val-198/+294
2024-01-19Fix `Stable` trait and its impls to work with the new `with_tables`Oli Scherer-129/+136
2024-01-19Fix a soundness bug in `with_tables`.Oli Scherer-2/+2
2024-01-18Rollup merge of #119833 - celinval:smir-accept-closures, r=oli-obkMatthias Krüger-16/+106
2024-01-17Revert changes to internal method for nowCelina G. Val-29/+4
2024-01-16Remove tcx function and make `internal` fn saferCelina G. Val-28/+55
2024-01-16Remove tcx from SMIR run macro and accept closuresCelina G. Val-17/+105
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-1/+1
2024-01-11Rollup merge of #119790 - celinval:smir-all-traits, r=oli-obkMatthias Krüger-4/+27
2024-01-10Simplify some redundant namesMichael Goulet-8/+6
2024-01-09Fix all_trait* methods to return all trait availableCelina G. Val-4/+27
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-2/+2
2023-12-28Restore movability to SMIRMichael Goulet-1/+3
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-9/+5
2023-12-25Only regular coroutines have movabilityMichael Goulet-2/+4
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-7/+16
2023-12-20Rollup merge of #119141 - celinval:smir-instance-args, r=compiler-errorsMatthias Krüger-0/+6
2023-12-20Add method to get instance instantiation argumentsCelina G. Val-0/+6
2023-12-20Add `ItemKind::Ctor` to stable mirCelina G. Val-9/+7
2023-12-20Fix crash for `CrateItem::kind()` with constructorsCelina G. Val-5/+8
2023-12-20Rollup merge of #119094 - celinval:smir-layout, r=compiler-errorsMatthias Krüger-21/+344