Structs§
- CguMessage
- A message sent from the coordinator thread to the main thread telling it to process another codegen unit.
- Codegen
Context - Additional resources used by optimize_and_codegen (not module specific)
- Compiled
Modules 🔒 - Coordinator
- Diagnostic 🔒
- Module
Config - Module-specific configuration for
optimize_and_codegen
. - Ongoing
Codegen - Shared
Emitter - Shared
Emitter Main - Subdiagnostic 🔒
- Target
Machine Factory Config - Configuration passed to the function returned by the
target_machine_factory
. - Worker
Fatal 🔒Error FatalError
is explicitly notSend
.
Enums§
- Bitcode
Section - What kind of llvm bitcode section to embed in an object file.
- Computed
LtoType 🔒 - Actual LTO type we end up choosing based on multiple factors.
- EmitObj
- What kind of object file to emit.
- FatLto
Input - Main
Thread 🔒State - Message 🔒
- Messages sent to the coordinator.
- Shared
Emitter 🔒Message - Work
Item 🔒 - Work
Item 🔒Result - A result produced by the backend.
Constants§
Functions§
- compute_
per_ 🔒cgu_ lto_ type - copy_
all_ 🔒cgu_ workproducts_ to_ incr_ comp_ cache_ dir - execute_
copy_ 🔒from_ cache_ work_ item - execute_
lto_ 🔒work_ item - execute_
optimize_ 🔒work_ item - finish_
intra_ 🔒module_ work - generate_
lto_ 🔒work - msvc_
imps_ 🔒needed - need_
bitcode_ 🔒in_ object - need_
pre_ 🔒lto_ bitcode_ for_ incr_ comp - pre_
lto_ 🔒bitcode_ filename - produce_
final_ 🔒output_ artifacts - spawn_
work 🔒 - start_
async_ 🔒codegen - start_
executing_ 🔒work - submit_
codegened_ 🔒module_ to_ llvm - submit_
post_ 🔒lto_ module_ to_ llvm - submit_
pre_ 🔒lto_ module_ to_ llvm