Type Alias CodegenCx

Source
pub(crate) type CodegenCx<'ll, 'tcx> = GenericCx<'ll, FullCx<'ll, 'tcx>>;
Expand description

There is one CodegenCx per codegen unit. Each one has its own LLVM llvm::Context so that several codegen units may be processed in parallel. All other LLVM data structures in the CodegenCx are tied to that llvm::Context.

Aliased Type§

struct CodegenCx<'ll, 'tcx>(FullCx<'ll, 'tcx>, PhantomData<SCx<'ll>>);

Fields§

§0: FullCx<'ll, 'tcx>§1: PhantomData<SCx<'ll>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 816 bytes