aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
AgeCommit message (Expand)AuthorFilesLines
2025-03-24gccrs: enum type layout needs to respect the enum repr typePhilip Herron2-14/+5
2025-03-24gccrs: add variant_count intrinsicPhilip Herron1-1/+55
2025-03-24gccrs: add discriminant value intrinsicPhilip Herron1-44/+105
2025-03-24gccrs: Fix compilation of trait-items which map to impl itemsPhilip Herron3-12/+39
2025-03-24gccrs: nr2.0: Remove accidental copies of resolverOwen Avery3-5/+5
2025-03-24gccrs: add support for ref literal patternsPhilip Herron1-6/+12
2025-03-24gccrs: add new -frust-overflow-checks flag to control overflow checksPhilip Herron1-16/+17
2025-03-24gccrs: Compile unit struct with constructorPierre-Emmanuel Patry1-0/+5
2025-03-24gccrs: Remove query mode on CompileItemPierre-Emmanuel Patry2-8/+4
2025-03-24gccrs: backend: Improve handling of lang-item PathInExpressionsArthur Cohen2-48/+84
2025-03-24gccrs: hir: Adapt visitors to lang item PathInExpressionsArthur Cohen1-4/+18
2025-03-24gccrs: catch missing guard for optional resultPhilip Herron1-5/+2
2025-03-24gccrs: backend: Allow anything as a match scrutineeArthur Cohen1-5/+1
2025-03-21gccrs: rust/intrinsic: add new "catch_unwind" variant of APIliushuyu1-10/+47
2025-03-21gccrs: rust/intrinsic: add try intrinsic and panic strategy optionsliushuyu1-0/+72
2025-03-21gccrs: match arms are a LUBPhilip Herron1-1/+12
2025-03-21gccrs: cleanup our enum type layout to be closer to rustcPhilip Herron4-78/+127
2025-03-21gccrs: add support for lang_item eq and PartialEq traitPhilip Herron2-3/+29
2025-03-21gccrs: Remove Rust::make_uniqueOwen Avery1-1/+1
2025-03-21gccrs: implement the TuplePattern and use it for function patternsPhilip Herron4-14/+109
2025-03-21gccrs: add checks for division by zero and left shift overflowPhilip Herron1-3/+5
2025-03-21gccrs: constant evaluation like these are coercion sitesPhilip Herron4-15/+46
2025-03-21gccrs: hir: Remove duplicate function in TraitItemFuncArthur Cohen1-1/+1
2025-03-21gccrs: ensure packed and aligned is applied properlyPhilip Herron1-3/+5
2025-03-21gccrs: Prepend crate name to functions with nr2Pierre-Emmanuel Patry1-1/+10
2025-03-21gccrs: empty match expressions should resolve to !Philip Herron1-11/+10
2025-03-21gccrs: Clean up some system includesPierre-Emmanuel Patry3-3/+0
2025-03-21gccrs: Use a reference wrapper to please GCC 4.8Pierre-Emmanuel Patry2-10/+11
2025-03-21gccrs: Fixes some tests appearing with a moved variantPierre-Emmanuel Patry1-1/+1
2025-03-21gccrs: Refactor HIR with optionals, references & newtypesPierre-Emmanuel Patry4-13/+14
2025-03-21gccrs: Refactor HIR to reduce the amount of raw pointersPierre-Emmanuel Patry22-239/+219
2025-03-21gccrs: asm: Fix clang warningsArthur Cohen2-5/+2
2025-03-21gccrs: Remove usage of Resolver::get_builtin_typesOwen Avery1-13/+2
2025-03-21rust: Desugar IfLet* into MatchExprMarc Poulhiès2-6/+0
2025-03-21gccrs: Use name resolver 2.0 in CompileTraitItemOwen Avery1-4/+32
2025-03-19gccrs: Use name resolver 2.0 for compiling break/continueOwen Avery1-4/+37
2025-03-19gccrs: Provide input operand for gccrsbadumbatish1-2/+20
2025-03-19gccrs: Insert static items into the value namespaceOwen Avery1-2/+17
2025-03-19gccrs: [gccrs#3141] Remove double negation by returning CompileExpr::Compile ...JoanVC1-6/+5
2025-03-19gccrs: [gccrs#3141] Fix incorrect handling of overflow in numeric typesJoanVC1-5/+62
2025-03-19gccrs: Dynamic dispatch with supertraitsLiam Naddell1-72/+56
2025-03-19gccrs: Rehaul, Apply code review from Arthurbadumbatish3-69/+10
2025-03-19gccrs: Make inline mov compilesbadumbatish1-1/+1
2025-03-19gccrs: Use's array type when constring string treebadumbatish1-3/+3
2025-03-19gccrs: Perform lowering hir output operand to treebadumbatish1-1/+11
2025-03-19gccrs: Lower the HIR to tree with CompileExprbadumbatish2-13/+20
2025-03-19gccrs: Move strip double quotes, add scaffold expandbadumbatish2-18/+1
2025-03-19gccrs: Added counting to check for asm_construct_outputsbadumbatish1-0/+7
2025-03-19gccrs: Minor fix to asm codegen prbadumbatish2-17/+10
2025-03-19gccrs: Refactor compile-asm for first round reviewbadumbatish2-271/+107