fhelium.compile.passes.backend._assign_implementations
Record caller-selected backend implementations on matching operations.
AssignImplementationsPass
class View source
python
AssignImplementationsPass(selections: Mapping[str, str] = field(default_factory=dict), overwrite: bool = False, name: str = 'assign-implementations')1
Attach requested implementation names to selected operation classes.
selections maps exact textual operation names to implementation names. Unselected operations and unknown mixed-level IR remain unchanged. The attribute is a backend build constraint; this pass neither discovers implementations nor asserts executable coverage.
Attributes
| Name | Type | Default/value |
|---|---|---|
selections | Mapping[str, str] | field(default_factory=dict) |
overwrite | bool | False |
name | str | 'assign-implementations' |
run
method
python
def run(compilation: 'Compilation') -> PassResult: ...1
Annotate exact operation-name matches and report every assignment.