summaryrefslogtreecommitdiff
path: root/src/hir_conv/constant_evaluation.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-06-16MIR - Unify temporaries and variablesJohn Hodge1-16/+9
2017-05-14Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)1-0/+4
2017-05-07HIR - Replace m_yeilds_final_value with a nodeJohn Hodge1-0/+4
2017-03-04Many many changes to allow compiling in visual studio (Community 2015)John Hodge (bugs)1-5/+5
2017-02-22MIR - Add types to integer constantsJohn Hodge1-4/+4
2017-02-22MIR - Make MakeDst ptr a ParamJohn Hodge1-1/+1
2017-02-22MIR - add Param type for places where a lvalue is readJohn Hodge1-36/+51
2017-01-14HIR - Clean up some manual item searchingJohn Hodge1-29/+5
2017-01-11All - Enable library codegen (and use crate name everywhere)John Hodge1-2/+2
2017-01-08HIR Const Eval - Little fixesJohn Hodge1-1/+4
2017-01-08HIR Const Eval - Tweaks for i128 and bugsJohn Hodge1-2/+47
2016-12-29HIR - asm! nodeJohn Hodge1-0/+3
2016-12-24No more tears!ubsan1-112/+112
2016-12-15HIR - Linkage anntation (un-populated)John Hodge1-11/+5
2016-12-14Consteval - Re-enabled full first-pass constevalJohn Hodge1-8/+21
2016-12-11HIR Const Eval - Split into two passes to have correct types in literalsJohn Hodge1-24/+126
2016-12-10HIR ConstEval - Do basic type inferrence so created statics have correct typesJohn Hodge1-35/+164
2016-12-07MIR - Merge two call types into one with a different targetJohn Hodge1-2/+5
2016-12-03MIR - Create a CallPath terminatorJohn Hodge1-6/+2
2016-12-03HIR/MIR - VTable workJohn Hodge1-1/+6
2016-11-20MIR - Union support hacked upJohn Hodge1-0/+3
2016-11-19HIR - Union handlingJohn Hodge1-0/+4
2016-11-19HIR - Add Union type path bindingJohn Hodge1-0/+3
2016-11-08HIR Const Eval - Fields on structsJohn Hodge1-1/+34
2016-11-08HIR Const Eval - MIR Constant::ConstJohn Hodge1-1/+6
2016-11-07HIR Const Eval - Mask down unsigned integersJohn Hodge1-1/+108
2016-11-06HIR Consteval - Fix edge case where array inner wasn't expanded correctlyJohn Hodge1-4/+2
2016-10-31All - Rough support for `union` (data structure present in all stages)John Hodge1-0/+2
2016-10-30HIR Const Eval - Field accesses in constants (requires type info)John Hodge1-16/+74
2016-10-29HIR Types - Store array size expr as a shared_ptr to allow cloningJohn Hodge1-3/+5
2016-10-29HIR Const Eval - Rough associated constant lookupJohn Hodge1-2/+33
2016-10-22HIR Const Eval - Rough MIR binop supportJohn Hodge1-2/+51
2016-10-22HIR Const Eval - (minor) comment about MIR cast opJohn Hodge1-0/+1
2016-10-21HIR Const Eval - Support associated constants, fix bug where default EntPtr w...John Hodge1-10/+20
2016-10-21HIR - Associated constant typecheck and MIR supportJohn Hodge1-0/+3
2016-10-19HIR Const Eval - Allow indexingJohn Hodge1-3/+18
2016-10-15HIR - Rough support for associated constsJohn Hodge1-4/+6
2016-09-28HIR Const Eval - Support enums in constant UnitVariantJohn Hodge1-11/+22
2016-09-28HIR - Support Variant literalsJohn Hodge1-4/+36
2016-09-28Const Eval - Don't attempt to evaluate extern staticsJohn Hodge1-3/+7
2016-09-28Const Eval - Allow pointer castsJohn Hodge1-0/+10
2016-09-28Const Eval - Support unit structsJohn Hodge1-37/+46
2016-09-28Const Eval - Rough MIR castsJohn Hodge1-1/+39
2016-09-28Const Eval - Fix dumb bug in callJohn Hodge1-4/+5
2016-09-25HIR - Hacky consteval fixesJohn Hodge1-7/+37
2016-09-18HIR - Rework to include a node for in/box (for better type inferrence)John Hodge1-0/+3
2016-09-03HIR Const Eval - Minimal working MIR constevalJohn Hodge1-8/+22
2016-09-03HIR Const Eval - More structure to MIR execution supportJohn Hodge1-3/+20
2016-09-03HIR - Convert Literal::BorrowOf to use a full pathJohn Hodge1-1/+1
2016-09-03HIR Const Eval - Rough structure for MIR evalJohn Hodge1-1/+173