fhelium.compile.passes.codegen._host
Emit prepared host control flow shared by execution and Python export.
tuple_source
function View source
python
def tuple_source(values: Sequence[str]) -> str: ...1
emit_host_body
function View source
python
def emit_host_body(block: Block, names: SourceNames, call: Callable[[Operation, tuple[str, ...]], str], reference: Callable[[Operation], str], *, prepared_regions: Callable[[Operation], bool], tuple_return: bool=True) -> list[str]: ...1
Translate supported structured IR once, retaining dataflow in locals.
Call and reference emission bind execution objects or produce their exported expressions. Generated code does not look up operation classes or SSA values.