summary refs log tree commit diff
path: root/src/librustc_mir/transform
AgeCommit message (Expand)AuthorLines
2017-08-23make `for_all_relevant_impls` O(1) againAriel Ben-Yehuda-2/+1
2017-07-12overload the mir ty methods to make them more ergonomic to useRalf Jung-31/+31
2017-07-11Refactor: {Lvalue,Rvalue,Operand}::ty only need the locals' types, not the fu...Ralf Jung-31/+31
2017-06-30Auto merge of #42924 - pnkfelix:mir-dataflow, r=arielb1bors-0/+869
2017-06-28rustc_typeck: use body-id of type-checking item in need_type_infoVenkata Giri Reddy-1/+1
2017-06-28Shift mir-dataflow from `rustc_borrowck` to `rustc_mir` crate.Felix S. Klock II-0/+869
2017-06-28Auto merge of #42931 - arielb1:statement-visitor, r=eddybbors-2/+3
2017-06-28re-add the call to `super_statement` in EraseRegionsAriel Ben-Yehuda-2/+3
2017-06-27rustc: move the PolyFnSig out of TyFnDef.Eduard-Mihai Burtescu-6/+7
2017-06-19Auto merge of #39409 - pnkfelix:mir-borrowck2, r=nikomatsakisbors-0/+96
2017-06-13On-demand is_const_fnTaylor Cramer-17/+3
2017-06-12Add post-pass to remove EndRegions of unborrowed extents.Felix S. Klock II-0/+85
2017-06-12Add `EndRegion` statement kind to MIR.Felix S. Klock II-0/+11
2017-06-10rustc: make the comon case of tcx.infer_ctxt(()) nicer.Eduard-Mihai Burtescu-2/+2
2017-06-07Changing error message for interior mutability, adding ui testgaurikholkar-1/+1
2017-06-01ergonomic improvements to the methods in infcxNiko Matsakis-5/+7
2017-06-01strip param-env from infcxNiko Matsakis-10/+18
2017-06-01rewrite layout to take a (param-env, ty) pair instead of infcxNiko Matsakis-4/+2
2017-06-01move projection mode into parameter environmentNiko Matsakis-6/+6
2017-05-28fix RUST_LOG ICE caused by printing a default impl's DefIdAriel Ben-Yehuda-2/+2
2017-05-28add NullOp::SizeOf and BinOp::OffsetAriel Ben-Yehuda-4/+7
2017-05-22rename `parameter_environment` to `param_env`Niko Matsakis-4/+4
2017-05-22rename `ParameterEnvironment` to `ParamEnv`Niko Matsakis-4/+4
2017-05-22centralize the caching for is-copy, is-sized, and is-freezeNiko Matsakis-4/+4
2017-05-13rustc: uniformly compute ParameterEnvironment's "free outlive scope".Eduard-Mihai Burtescu-5/+5
2017-05-12box large variants in MIRAriel Ben-Yehuda-12/+11
2017-05-08Remove need for &format!(...) or &&"" dances in `span_label` callsOliver Schneider-8/+8
2017-05-02update comment about heuristicsNiko Matsakis-1/+3
2017-05-02move queries code into transformNiko Matsakis-6/+99
2017-05-02rename from `item_mir` to `optimized_mir`Niko Matsakis-1/+1
2017-05-02delete dead codeNiko Matsakis-89/+0
2017-05-02support inlining by asking for optimizer mir for calleesNiko Matsakis-139/+62
2017-05-02simplify down to one query per pass suiteNiko Matsakis-71/+30
2017-05-02rip out everything but `MirPass`, move the logic into suitesNiko Matsakis-166/+80
2017-05-02remove `Pass` and (temporarily) drop `Inline`Niko Matsakis-7/+8
2017-05-02use `force` to ensure const-qualif has been done, not readNiko Matsakis-2/+3
2017-05-02convert the `inline` pass to use the new multi resultNiko Matsakis-60/+185
2017-05-02introduce idea of "stealable" MIRNiko Matsakis-26/+25
2017-05-02rename `MirPassSet` to `MirSuite`Niko Matsakis-19/+19
2017-05-02retool MIR passes completelyNiko Matsakis-50/+169
2017-05-02move to only def-id passesNiko Matsakis-2/+2
2017-05-02introduce `DefIdPass` and remove all impls of `Pass` but `Inline`Niko Matsakis-21/+20
2017-05-02simplify the MirPass traits and passes dramaticallyNiko Matsakis-159/+134
2017-05-02rework `MirPass` API to be stateless and extract helper fnsNiko Matsakis-54/+28
2017-05-02introduce `mir_keys()`Niko Matsakis-38/+13
2017-04-24rustc: use tcx.at(span) to set the location of a query.Eduard-Mihai Burtescu-3/+1
2017-04-24rustc: expose the common DUMMY_SP query case as tcx methods.Eduard-Mihai Burtescu-1/+1
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-2/+2
2017-04-22avoid calling `mk_region` unnecessarilyAriel Ben-Yehuda-4/+4
2017-04-22remove cleanup branches to the resume blockAriel Ben-Yehuda-0/+34