Module custom

Source
Expand description

Provides an interface for extending hugr-llvm to emit CustomTypes, CustomConsts, and ExtensionOps.

Modules§

extension_op
load_constant
Provides the implementation for a collection of CustomConst callbacks.
types

Structs§

CodegenExtsBuilder
A container for a collection of codegen callbacks as they are being assembled.
CodegenExtsMap
The result of CodegenExtsBuilder::finish. Users are expected to deconstruct this type, and consume the fields independently. We expect to add further collections at a later date, and so this type is marked non_exhaustive

Traits§

CodegenExtension
A helper to register codegen extensions.