summaryrefslogtreecommitdiff
path: root/src/mir
AgeCommit message (Collapse)AuthorFilesLines
2018-05-12MIR Cleanup - Remove cast of PhantomDataJohn Hodge1-8/+2
2018-05-05MIR Optimise - Reorder code a bit for easier readingJohn Hodge1-225/+240
2018-05-05MIR Optimise - Short-circuit fail CommonStatements to hopefully avoid ↵John Hodge1-1/+4
excessive runtime
2018-03-17VTables - Rename vtable static to have the # at the end (helps parsing in mmir)John Hodge1-2/+2
2018-03-17MIR Optimise - Slight cleanup for faster compilesJohn Hodge1-7/+10
2018-03-17Trans - Move monomorphisation from codegen pass to its own pass, and do a ↵John Hodge2-4/+109
second inlining pass after monomorph.
2018-02-25MIR Gen - Replace infinite loop for default in match generation with a ↵John Hodge1-1/+3
diverge terminator
2018-02-25MIR Optimise - Remove no-op assignmentsJohn Hodge1-0/+51
2018-02-18Standalone MIRI - Implement BinOp comparisons and Terminator::IfJohn Hodge1-2/+2
2018-02-18MIR Optimise - Some work on const propagationJohn Hodge1-22/+77
2018-02-18MIR Optimise - Constant-propagate known enum variants.John Hodge1-3/+48
2018-02-18MIR Gen - Store enum path with params in RValue::VariantJohn Hodge1-8/+8
2018-02-16MIR Optimise - (minor) Note about switch consteval eliminationJohn Hodge1-0/+12
2018-02-10Trans - Fix mismatches between mrustc's sizings and C's sizingsJohn Hodge1-0/+16
2018-01-27Trans - Add "backend" for monomorphised MIRJohn Hodge1-0/+2
2018-01-24standalone_miri - New side-tool to attempt to execute pre-monomorphised MIRJohn Hodge1-0/+1
2018-01-20MIR Optimise - Only run UnifyTemporaries once, add a new tuple-breaking passJohn Hodge2-29/+207
2018-01-14MIR Optimise - Prevent infinite recrusion in inliningJohn Hodge1-0/+15
2018-01-14MIR Optimise - Dead assignment removal (minimally tested)John Hodge1-0/+58
2018-01-14MIR Optimise - Move common statements across gotosJohn Hodge3-0/+107
2018-01-14MIR Optimise - Add attempt at optimising out calls to atomic wrappersJohn Hodge1-0/+9
2018-01-14MSVC compile fixesJohn Hodge1-23/+0
2017-12-30MIR From HIR (match) - Change assertion to match actual conditionsJohn Hodge1-1/+1
2017-12-26MIR Optimise - Fix sligt bugsJohn Hodge1-3/+12
2017-12-20MIR Optimise - Redo DeTemporary pass, works for build rustc/cargo, rustc testedJohn Hodge1-124/+122
2017-12-09MIR Optimise - Fiddling aroundJohn Hodge1-6/+23
2017-12-03MIR Optimise - Tweaks to DeTemporary passJohn Hodge1-3/+15
2017-12-02MIR Optimise - Fix infinite replacementJohn Hodge1-0/+11
2017-11-26HIR/MIR - Error checking for assigning into ! (as opposed to from !)John Hodge4-25/+55
2017-11-25MIR Gen - Comment about cast bugJohn Hodge1-0/+2
2017-11-25MIR Optimise - Tweaking to DeTemporaryJohn Hodge1-8/+22
2017-11-25MIR Optimise - Add a new pass aimed at removing useless temporariesJohn Hodge1-18/+151
2017-11-25MIR Cleanup - Delete any statements including/after use of !John Hodge1-1/+15
2017-11-21MIR Gen - Fix use-after-move when partially moved in one arm and optionally ↵John Hodge2-1/+17
moved in another
2017-11-21MIR Helpers - Print file/line in assertJohn Hodge1-1/+1
2017-11-21MIR Validate Full - Alter handling of BoxJohn Hodge1-1/+11
2017-11-12All - proc_macro support through to attempting to run themJohn Hodge1-1/+1
2017-11-05Trans - Calculate sizes, alignment, and representationJohn Hodge1-2/+2
2017-11-05MIR - Use SwitchValue terminatorJohn Hodge1-45/+57
2017-11-02MIR Optimise - Slight optimisationJohn Hodge3-13/+28
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge9-282/+227
2017-10-29HIR Typecheck - Allow casting function pointers to *const i8John Hodge1-1/+1
2017-10-01MIR Optimise - (minor) debuggingJohn Hodge1-0/+6
2017-09-22Trans - Little fixes for MSVC 32-bitJohn Hodge1-1/+9
2017-09-10Consteval - Remove BorrowOf in favor of BorrowPath/BorrowDataJohn Hodge1-8/+36
2017-09-10MIR Optimise - HACK: Don't optimise constants/staticsJohn Hodge1-0/+6
2017-09-08MIR Gen - Fix box drop flagsJohn Hodge3-23/+14
2017-09-08Typecheck - Various tweaks from librustdocJohn Hodge1-1/+1
2017-09-05MIR Gen Match - Handle split slice trailingJohn Hodge1-12/+9
2017-09-04MIR Gen - Partial support for trailing slice patternsJohn Hodge2-20/+70