rust/compiler/rustc_codegen_llvm/src
Ralf Jung 02d787bef8
Rollup merge of #76872 - khyperia:remove_declare_methods, r=eddyb
Remove DeclareMethods

Most of the `DeclareMethods` API was only used internally by rustc_codegen_llvm. As such, it makes no sense to require other backends to implement them.

(`get_declared_value` and `declare_cfn` were used, in one place, specific to the `main` symbol, which I've replaced with a more specialized function to allow more flexibility in implementation - the intent is that `declare_c_main` can go away once we do something more clever, e.g. @eddyb has ideas around having a MIR shim or somesuch we can explore in a follow-up PR)
2020-09-21 10:40:35 +02:00
..
back Add -Z combine_cgu flag 2020-09-09 17:32:23 +10:00
coverageinfo mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
debuginfo Change ty.kind to a method 2020-09-04 17:47:51 +02:00
llvm Remove MMX from Rust 2020-09-20 15:13:11 +02:00
abi.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
allocator.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
asm.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
attributes.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
base.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
builder.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
callee.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
common.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
consts.rs Stop using the const_eval query for initializers of statics 2020-09-19 10:36:36 +02:00
context.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
declare.rs Remove DeclareMethods 2020-09-18 13:11:59 +02:00
intrinsic.rs Extract some intrinsics out of rustc_codegen_llvm 2020-09-15 23:35:31 +02:00
lib.rs Add -Z combine_cgu flag 2020-09-09 17:32:23 +10:00
llvm_util.rs Remove MMX from Rust 2020-09-20 15:13:11 +02:00
metadata.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
type_.rs Remove MMX from Rust 2020-09-20 15:13:11 +02:00
type_of.rs Remove MMX from Rust 2020-09-20 15:13:11 +02:00
va_arg.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00