about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa/mir/constant.rs
AgeCommit message (Expand)AuthorLines
2020-08-30mv compiler to compiler/mark-91/+0
2020-07-15const_eval_resolveBastian Kauschke-1/+1
2020-07-15ConstKind::UnevaluatedBastian Kauschke-2/+2
2020-06-09Fix more clippy warningsMatthias Krüger-1/+1
2020-05-24Removed all instances of const_field.Rakshith Ravi-10/+6
2020-05-01Remove deadcode in eval_mir_constant_to_operandSantiago Pastorino-19/+3
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-2/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-4/+4
2020-03-22simplify eval_mir_constantBastian Kauschke-13/+3
2020-03-22handle unevaluated consts after monomophizeBastian Kauschke-21/+26
2020-02-24librustc{, codegen_ssa,infer,mir_build}: don't clone types that are copyMatthias Krüger-1/+1
2020-02-16Code review changes.Ben Lewis-2/+2
2020-02-15Monomorphize const type during codegen.Ben Lewis-1/+2
2020-02-15Change `const_field` and `const_caller_location` to return `ConstValue` inste...Ben Lewis-16/+19
2020-02-15Change const eval to return `ConstValue`, instead of `Const` as the type insi...Ben Lewis-1/+7
2020-01-10Errors in promoteds may only cause lints not hard errorsOliver Scherer-8/+7
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-3/+6
2020-01-02Normalize `syntax::source_map` imports.Mazdak Farrokhzad-1/+1
2019-12-22Format the worldMark Rousskov-41/+38
2019-12-22Add simpler entry points to const eval for common usages.Ben Lewis-11/+8
2019-12-08Ensure that we get a hard error on generic ZST constants if their body causes...Oliver Scherer-1/+8
2019-11-21Fix rebaseMatthew Jasper-1/+1
2019-11-21Readjust constant evaluation for operandsSantiago Pastorino-0/+23
2019-11-21Simplify patternSantiago Pastorino-2/+2
2019-11-12Rename in librustc_codegen_ssa.Camille GILLOT-1/+1
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-25Rename `sty` to `kind`varkor-1/+1
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-1/+1
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-1/+1
2019-06-02query-ify const_fieldMark Mansi-7/+2
2019-05-25Don't use `ty::Const` without immediately interningOliver Scherer-3/+3
2019-03-29`eval_mir_constant` doesn't need a builder parambjorn3-4/+3
2019-03-16Revert the `LazyConst` PROliver Scherer-20/+11
2019-03-15rustc: remove fmt::{Debug,Display} from ty::TyKind.Eduard-Mihai Burtescu-1/+1
2019-03-04Use early unwraps instead of bubbling up errors just to unwrap in the endOliver Scherer-7/+7
2019-02-09librustc_codegen_ssa => 2018Taiki Endo-1/+1
2019-01-22Get rid of the fake stack frameOliver Scherer-1/+0
2019-01-01`<&'tcx ty::Const as Deref>::deref`Oliver Scherer-3/+3
2019-01-01Add `unwrap_usize` to `LazyConst`, tooOliver Scherer-1/+1
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-6/+6
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-29Use implicit deref instead of BuilderMethods::cx()bjorn3-7/+7
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-1/+1
2018-11-16Great separation of librustc_codegen_llvm: librustc_codegen_ssa compilesDenis Merigoux-0/+105