summary refs log tree commit diff
path: root/src/librustc_mir/transform/const_prop.rs
AgeCommit message (Expand)AuthorLines
2019-12-06[ConstProp] Avoid OOM crashes by not evaluating large PlacesWesley Wiser-1/+9
2019-10-27Implementation of const caller_location.Adam Perry-0/+1
2019-10-22Intern place projectionSantiago Pastorino-0/+4
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-19/+18
2019-10-20Improve SimplifyLocals pass so it can remove unused constsWesley Wiser-7/+0
2019-10-20Cleanup `ConstProp::visit_statement()`Wesley Wiser-10/+9
2019-10-20skip all refs-to-uninit-local, not just argumentsRalf Jung-5/+6
2019-10-19clarify const_prop ICE protection commentRalf Jung-8/+10
2019-10-18Improve comments and structure of `ConstProp::const_prop()`Wesley Wiser-32/+50
2019-10-18Cleanup const_prop() someWesley Wiser-72/+75
2019-10-18[const-prop] Handle MIR Rvalue::BoxWesley Wiser-18/+1
2019-10-18[const-prop] Handle MIR Rvalue::DiscriminantWesley Wiser-2/+2
2019-10-18[const-prop] Handle MIR Rvalue::AggregatesWesley Wiser-1/+7
2019-10-18[const-prop] Handle MIR Rvalue::RepeatWesley Wiser-1/+1
2019-10-02[const-prop] Correctly handle locals that can't be propagatedWesley Wiser-29/+5
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-1/+1
2019-09-28Allow reading non-mutable statics in const propWesley Wiser-5/+11
2019-09-27Introduce a `ConstPropMachine`Wesley Wiser-8/+149
2019-09-27Move Ref-from-arg checking from `step.rs` to `const_prop.rs`Wesley Wiser-80/+93
2019-09-27Respond to code review feedback and fix tidyWesley Wiser-13/+20
2019-09-27Don't run the ConstProp MIR pass on generatorsWesley Wiser-0/+8
2019-09-27[const-prop] Replace `Ref` handling with use of `InterpCx`Wesley Wiser-6/+2
2019-09-27[const-prop] Replace some `Binaryp` handling with use of `InterpCx`Wesley Wiser-38/+24
2019-09-27[const-prop] Replace `CheckedBinaryOp` handling with use of `InterpCx`Wesley Wiser-18/+10
2019-09-27[const-prop] Replace most `UnaryOp` handling with use of `InterpCx`Wesley Wiser-28/+17
2019-09-27[const-prop] Replace `NullaryOp` handling with use of `InterpCx`Wesley Wiser-21/+7
2019-09-27[const-prop] Replace `Cast` handling with use of `InterpCx`Wesley Wiser-10/+3
2019-09-27[const-prop] Replace `Use` handling with use of `InterpCx`Wesley Wiser-24/+25
2019-09-27[const-prop] Replace `eval_place()` with use of `InterpCx`Wesley Wiser-50/+6
2019-09-25Rename `sty` to `kind`varkor-3/+3
2019-09-11Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytesSantiago Pastorino-1/+1
2019-09-09Convert Place's projection to a boxed sliceSantiago Pastorino-43/+43
2019-09-02Fix condition and tests' flagsYuki Okushi-0/+1
2019-09-02Fix overflow_checkYuki Okushi-7/+7
2019-09-02Add `overflow_check` checkYuki Okushi-2/+6
2019-09-02Add `opt-level` checkYuki Okushi-2/+14
2019-09-01Fix const_err with `-(-0.0)`Yuki Okushi-13/+1
2019-08-27const_prop: only call error_to_const_error if we are actually showing somethingRalf Jung-2/+2
2019-08-22Move def_id out add substsrefWesley Wiser-1/+1
2019-08-22Remove eval_promoted const-prop hackWesley Wiser-5/+2
2019-08-22Move promoted out of mir::BodyWesley Wiser-23/+5
2019-08-22Move 'tcx lifetime on MirPassWesley Wiser-2/+2
2019-08-17use ImmTy::from_uint in a few more spotsRalf Jung-18/+9
2019-08-17make both unary_op and binary_op fully typed, including a return typeRalf Jung-7/+3
2019-08-16Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::Pattern...Eduard-Mihai Burtescu-1/+0
2019-08-02be less BritishRalf Jung-1/+1
2019-08-01code review fixesSaleem Jaffer-1/+6
2019-08-01code review fixesSaleem Jaffer-6/+2
2019-07-31code review fixesSaleem Jaffer-2/+2
2019-07-30renaming throw_err_* to throw_*Saleem Jaffer-1/+1