rust/src/librustc_codegen_llvm
bors 590ae0ec4d Auto merge of #64813 - varkor:node-to-kind, r=Centril
Rename `*.node` to `*.kind`, and `hair::Pattern*` to `hair::Pat*`

In both `ast::Expr` and `hir::Expr`:

- Rename `Expr.node` to `Expr.kind`.
- Rename `Pat.node` to `Pat.kind`.
- Rename `ImplItem.node` to `ImplItem.kind`.
- Rename `Lit.node` to `Lit.kind`.
- Rename `TraitItem.node` to `TraitItem.kind`.
- Rename `Ty.node` to `Ty.kind`.
- Rename `Stmt.node` to `Stmt.kind`.
- Rename `Item.node` to `Item.kind`.
- Rename `ForeignItem.node` to `ForeignItem.kind`.
- Rename `MetaItem.node` to `MetaItem.kind`.

Also:
- Rename `hair::FieldPattern` to `hair::FieldPat`.
- Rename `hair::PatternKind` to `hair::PatKind`.
- Rename `hair::PatternRange` to `hair::PatRange`.
- Rename `PatternContext` to `PatCtxt`.
- Rename `PatternTypeProjection` to `PatTyProj`.
- Rename `hair::Pattern` to `hair::Pat`.

These two sets of changes are grouped together to aid with merging. The only changes are renamings.

r? @petrochenkov
2019-09-27 10:05:38 +00:00
..
back Use Symbol in Linker. 2019-09-11 11:31:38 +10:00
debuginfo Rename subst::Kind to subst::GenericArg 2019-09-26 11:48:05 +01:00
llvm rustc_codegen_llvm: give names to non-alloca variable values. 2019-09-06 16:57:20 +03:00
abi.rs codegen: be more explicit about setting giving names to allocas. 2019-09-12 19:04:30 +03:00
allocator.rs Merge rustc_allocator into libsyntax_ext 2019-07-24 12:27:58 +03:00
asm.rs Remove SyntaxContext from {ast, hir}::{GlobalAsm, InlineAsm} 2019-08-17 09:12:32 +01:00
attributes.rs Translate target features for LLVM 9 2019-07-09 21:55:29 +02:00
base.rs Remove tx_to_llvm_workers from TyCtxt 2019-09-25 16:57:27 -04:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
builder.rs Rename some _sty variables to _kind 2019-09-26 12:10:43 +01:00
callee.rs Remove LocalInternedString uses from librustc/ty/. 2019-09-04 14:23:30 +10:00
Cargo.toml Remove codegen dependencies 2019-09-05 12:35:18 -04:00
common.rs Rollup merge of #64003 - Dante-Broggi:place-align-in-layout, r=matthewjasper 2019-09-05 12:11:08 +02:00
consts.rs Rename ForeignItem.node to ForeignItem.kind 2019-09-26 18:21:48 +01:00
context.rs Remove LocalInternedString uses from librustc_codegen_llvm. 2019-09-04 14:23:45 +10:00
declare.rs Pass type to byval attributes 2019-07-09 21:55:29 +02:00
error_codes.rs Replace diagnostic plugins with macro_rules 2019-09-05 12:35:15 -04:00
intrinsic.rs Rename sty to kind 2019-09-25 15:50:04 +01:00
lib.rs Remove tx_to_llvm_workers from TyCtxt 2019-09-25 16:57:27 -04:00
llvm_util.rs add support for hexagon-unknown-linux-musl 2019-07-22 09:44:58 -05:00
metadata.rs format a bit 2019-07-07 09:32:36 +02:00
mono_item.rs remove reexport of rustc::ty::Instance 2019-06-02 22:32:42 -05:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
type_.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
type_of.rs Rename sty to kind 2019-09-25 15:50:04 +01:00
va_arg.rs Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
value.rs librustc_codegen_llvm: deny(elided_lifetimes_in_paths) 2019-02-25 08:40:18 +01:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc guide.