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ยง
- PRE_
LTO_ ๐BC_ EXT
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