about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir
AgeCommit message (Expand)AuthorLines
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
2020-11-26Fix new 'unnecessary trailing semicolon' warningsAaron Hill-1/+1
2020-11-22Use Option::and_then instead of open-coding itLingMan-5/+2
2020-11-21Replace ByVal attribute with on_stack field for Indirectbjorn3-2/+2
2020-11-16compiler: fold by valueBastian Kauschke-25/+25
2020-11-09Rollup merge of #78844 - tmiasko:monomorphize-sizeof, r=oli-obkDylan DPC-0/+1
2020-11-09Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obkDylan DPC-9/+5
2020-11-07Monomorphize a type argument of size-of operation during codegenTomasz Miąsko-0/+1
2020-11-05Addressed all feedback to dateRich Kadel-8/+9
2020-11-05Injecting expressions in place of counters where helpfulRich Kadel-2/+2
2020-11-05Rust coverage before splitting instrument_coverage.rsRich Kadel-4/+15
2020-11-06inliner: Use substs_for_mir_bodyTomasz Miąsko-9/+5
2020-10-26Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obkbors-108/+136
2020-10-26Deduplicate span and dbg_scope adjustmentoli-18/+19
2020-10-26Prefer `bug!` over `unwrap()`oli-1/+3
2020-10-23Make codegen coverage_context optional, and checkRich Kadel-12/+12
2020-10-21rustc_codegen_llvm: add support for inlined function debuginfo.Eduard-Mihai Burtescu-34/+63
2020-10-21rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa.Eduard-Mihai Burtescu-69/+49
2020-10-21rustc_codegen_llvm: create `DIFile`s from just `SourceFile`s.Eduard-Mihai Burtescu-26/+5
2020-10-21rustc_mir: support MIR-inlining #[track_caller] functions.Eduard-Mihai Burtescu-14/+51
2020-10-16Auto merge of #77972 - Mark-Simulacrum:side-effect-loop, r=nagisabors-3/+19
2020-10-15Prevent miscompilation in trivial loop {}Mark Rousskov-3/+19
2020-10-15Replace target.target with target and target.ptr_width with target.pointer_widthest31-5/+9