about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir
AgeCommit message (Expand)AuthorLines
2021-03-25Auto merge of #83307 - richkadel:cov-unused-functions-1.1, r=tmandrybors-1/+1
2021-03-20update `const_eval_resolve`lcnr-2/+2
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-1/+1
2021-03-19coverage bug fixes and optimization supportRich Kadel-1/+1
2021-03-18Rollup merge of #83080 - tmiasko:inline-coverage, r=wesleywiserDylan DPC-8/+19
2021-03-16Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasperbors-12/+13
2021-03-15Make source-based code coverage compatible with MIR inliningTomasz Miąsko-8/+19
2021-03-15s/ConstantSource/ConstantKind/Oli Scherer-2/+2
2021-03-13Do not emit alloca for ZST local even if it is uninitializedSimon Vandel Sillesen-1/+12
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-2/+7
2021-03-12Add `ty` helper function for mir constantsOli Scherer-10/+6
2021-03-12Emit the enum range assumption if the range only contains one elementhi-rustin-1/+1
2021-03-10Remove the -Zinsert-sideeffectSimonas Kazlauskas-52/+8
2021-03-09Switch to changing cp_non_overlap in tformkadmin-24/+2
2021-03-09Build StKind::CopyOverlappingkadmin-73/+84
2021-03-09Change CopyNonOverlapping::codegen_ssakadmin-13/+15
2021-03-09Replace todos with implskadmin-2/+1
2021-03-09Update craneliftkadmin-6/+5
2021-03-09Update match brancheskadmin-12/+14
2021-03-09Update fmt and use of memcpykadmin-9/+14
2021-03-09Impl StatementKind::CopyNonOverlappingkadmin-2/+19
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-2/+2
2021-02-23Rollup merge of #82091 - henryboisdequin:use-place-ref-more, r=RalfJungDylan DPC-1/+1
2021-02-17Rollup merge of #81898 - nanguye2496:nanguye2496/fix_str_and_slice_visualizat...Dylan DPC-5/+25
2021-02-16make `visit_projection` take a `PlaceRef`Henry Boisdequin-1/+1
2021-02-16avoid full-slicing slicesMatthias Krüger-1/+1
2021-02-09Set the kind for local variables created by &str and slice arguments to Local...Nam Nguyen-5/+25
2021-01-31Auto merge of #81327 - RalfJung:codegen-no-const-fail, r=oli-obkbors-21/+12
2021-01-30codegen: assume constants cannot fail to evaluateRalf Jung-21/+12
2021-01-29Rollup merge of #81333 - RalfJung:const-err-simplify, r=oli-obkYuki Okushi-6/+1
2021-01-28Rollup merge of #79951 - LeSeulArtichaut:ty-ir, r=nikomatsakisYuki Okushi-12/+8
2021-01-24clean up some const error reporting around promotedsRalf Jung-6/+1
2021-01-18Use ty::{IntTy,UintTy,FloatTy} in rustcLeSeulArtichaut-12/+8
2021-01-16PlaceRef::ty: use method call syntaxRalf Jung-2/+2
2021-01-07Auto merge of #80200 - mahkoh:dst-offset, r=nagisabors-10/+44
2021-01-03use PlaceRef more consistently instead of loosely coupled local+projectionRalf Jung-9/+4
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-2/+2
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-2/+2
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+4
2020-12-20Use pointer type in AtomicPtr::swap implementationTomasz Miąsko-2/+13
2020-12-19Optimize DST field accessJulian Orth-10/+44
2020-12-15Always run intrinsics lowering passTomasz Miąsko-15/+1
2020-12-15Auto merge of #73210 - wesleywiser:consts_in_debuginfo, r=oli-obkbors-35/+76
2020-12-11Lower `discriminant_value` intrinsicTomasz Miąsko-0/+1
2020-12-10Auto merge of #79801 - eddyb:scalar-transmute, r=nagisabors-0/+19
2020-12-07rustc_codegen_ssa: use bitcasts instead of type punning for scalar transmutes.Eduard-Mihai Burtescu-0/+19
2020-12-06[mir-opt] Allow debuginfo to be generated for a constant or a PlaceWesley Wiser-35/+76
2020-11-29Cast pointers to usize before passing them to atomic operations as some platf...oli-11/+38
2020-11-28Directly use raw pointers in `AtomicPtr` store/loadoli-3/+3