Crate rustc_codegen_llvm[−][src]
Expand description
Modules
Set and unset common attributes on LLVM values.
Codegen the MIR to the LLVM IR.
Handles codegen of callees as well as other call-related things. Callees are a superset of normal rust values and sometimes have different representations. In particular, top-level fn items and methods are represented as just a fn ptr and not a full closure.
Code that is useful in various codegen modules.
Debug Info Module
Declare various LLVM values.
Structs
Additional resources used by optimize_and_codegen (not module specific)
Used as a return value to signify a fatal error occurred. (It is also used as the argument to panic at the moment, but that will eventually not be true.)
A handler deals with errors and other compiler output. Certain errors (fatal, bug, unimpl) may cause immediate exit, others log errors for later reporting.
Module-specific configuration for optimize_and_codegen.
Represents the data associated with a compilation session for a single crate.
An interned string.
Configuration passed to the function returned by the target_machine_factory.
The central data structure of the compiler. It stores references to the various arenas and also houses the results of the various compiler queries that have been performed. See the rustc dev guide for more details.
A “work product” is an intermediate result that we save into the incremental directory for later re-use. The primary example are the object files that we save for each partition at code generation time.
A “work product” corresponds to a .o (or other) file that we
save in between runs. These IDs do not have a DefId but rather
some independent path or string that persists between runs without
the need to be mapped or unmapped. (This ensures we can serialize
them even in the absence of a tcx.)
Representation of a borrowed C string.
Enums
Traits
A trait to emulate dynamic typing.
Functions
Type Definitions
Type alias for a hashmap using the fx hash algorithm.