about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa/traits/mod.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-102/+0
2020-06-29add spans to injected coverage countersRich Kadel-0/+4
added regions with counter expressions and counters. Added codegen_llvm/coverageinfo mod for upcoming coverage map Move coverage region collection to CodegenCx finalization Moved from `query coverageinfo` (renamed from `query coverage_data`), as discussed in the PR at: https://github.com/rust-lang/rust/pull/73684#issuecomment-649882503 Address merge conflict in MIR instrument_coverage test The MIR test output format changed for int types. moved debug messages out of block.rs This makes the block.rs calls to add coverage mapping data to the CodegenCx much more concise and readable. move coverage intrinsic handling into llvm impl I realized that having half of the coverage intrinsic handling in `rustc_codegen_ssa` and half in `rustc_codegen_llvm` meant that any non-llvm backend would be bound to the same decisions about how the coverage-related MIR terminators should be handled. To fix this, I moved the non-codegen portion of coverage intrinsic handling into its own trait, and implemented it in `rustc_codegen_llvm` alongside `codegen_intrinsic_call`. I also added the (required?) stubs for the new intrinsics to `IntrepretCx::emulate_intrinsic()`, to ensure calls to this function do not fail if called with these new but known intrinsics. address PR Feedback on 28 June 2020 2:48pm PDT
2020-05-18Implement asm! codegenAmanieu d'Antras-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-1/+1
2020-03-19Refactorings to begin getting rid of rustc_codegen_utilsMark Mansi-1/+1
2020-03-06fix various typosMatthias Krüger-1/+1
2020-02-03rustc_codegen_ssa: split declare_local into create_dbg_var and dbg_var_addr.Eduard-Mihai Burtescu-0/+1
2019-12-22Format the worldMark Rousskov-2/+2
2019-11-21Aggregation of drive-by cosmetic changes.Alexander Regueiro-2/+2
2019-11-03rustc_codegen_ssa: rename ArgTypeMethods to ArgAbiMethods.Eduard-Mihai Burtescu-1/+1
2019-10-13s/FuncId/Functionbjorn3-1/+1
2019-10-13Introduce FuncId backend typebjorn3-0/+1
2019-06-11rustc_codegen_*: deny(unused_lifetimes).Eduard-Mihai Burtescu-2/+2
2019-05-14removes `AbiMethods`Saleem Jaffer-4/+7
2019-05-05code review fixesSaleem Jaffer-2/+1
2019-05-04adding HasParamEnv traitSaleem Jaffer-1/+6
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-29Move get_static from CodegenCx to Builderbjorn3-1/+1
2018-11-29Require Deref to CodegenCx for HasCodegenbjorn3-1/+3
2018-11-29Move IntrinsicCallMethods::call_overflow_intrinsics to ↵bjorn3-2/+2
BuilderMethods::checked_binop
2018-11-29Rustfmt on cg_ssa/traitsbjorn3-1/+2
2018-11-29Don't use llvm intrinsic names in cg_ssabjorn3-3/+1
2018-11-29Make ConstMethods and StaticMethods require BackendTypes instead of Backendbjorn3-2/+2
2018-11-29Some refactoringsbjorn3-1/+0
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-0/+99