summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-6/+6
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-21/+31
2021-03-08Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelixbors-4/+5
2021-03-05Bump one missing mir_opt_levelSantiago Pastorino-1/+1
2021-03-05Bump all mir_opt_level 2 to 3Santiago Pastorino-2/+2
2021-03-05Bump all mir_opt_level 3 to 4Santiago Pastorino-2/+2
2021-03-05Extract mir_opt_level to a method and use Option to be able to know if the va...Santiago Pastorino-3/+3
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-4/+5
2021-03-01Box generator-related Body fieldsDániel Buga-1/+1
2021-02-20all InterpError allocate now, so adjust alloc-error-checkRalf Jung-2/+2
2021-02-20Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obkbors-28/+28
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-1/+1
2021-02-16./x.py fmtTomasz Miąsko-3/+3
2021-02-16Pass PlaceTy by reference not valueTomasz Miąsko-9/+9
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-17/+17
2021-01-23Make sure that const prop does not produce unsilenceable lints after inliningoli-1/+9
2021-01-17Copy body span instead of querying itDániel Buga-1/+1
2021-01-12Auto merge of #78407 - oli-obk:ub_checkable_ctfe, r=RalfJung,pnkfelixbors-0/+7
2021-01-10Add ABI argument to `find_mir_or_eval_fn`Nym Seddon-0/+2
2021-01-04Move MIR body loading to a machine functionoli-0/+7
2020-12-03move interpret::MemoryKind::Heap to const evalVishnunarayan K I-0/+2
2020-11-18move fuel checks to later points in instcombine and const_prop, add opt level...cjkenn-5/+5
2020-11-16add optimization fuel checks to some mir passescjkenn-0/+4
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-5/+4
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-3/+4
2020-10-28Rollup merge of #78351 - RalfJung:validity-unsafe-cell, r=oli-obkDylan DPC-5/+6
2020-10-26move UnsafeCell-in-const check from interning to validationRalf Jung-5/+6
2020-10-21rustc_mir: track inlined callees in SourceScopeData.Eduard-Mihai Burtescu-1/+1
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-16/+17
2020-09-23Enable const prop into operands at mir_opt_level=2Dániel Buga-5/+5
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1
2020-08-30mv compiler to compiler/mark-0/+1276