API reference
python:irx:irx.builder.lowering.FunctionVisitorMixin
class FunctionVisitorMixin
Source: packages/irx/src/irx/builder/lowering/functions.py:65
Declared as: python:irx:irx.builder.lowering.functions.FunctionVisitorMixin
Lower function definitions and calls to LLVM.
Attributes
-
call_dispatch — Type: ScopedDispatch
-
call_services — Type: CallLoweringServices
Methods
-
_apply_calling_convention — Preserve semantic calling-convention intent in lowering.
-
_bind_temporary_call_symbol — Bind one temporary symbol while lowering default arguments.
-
_declare_semantic_function — Declare or reuse one LLVM function from semantic metadata.
-
_indirect_method_callee — Lower one dispatch-table lookup for an instance method.
-
_llvm_function_type_for_signature — Return the LLVM function type for one semantic signature.
-
_lower_explicit_call_arguments — Lower one semantically validated explicit call argument list.
-
_register_call_result_cleanup — Materialize and register cleanup for one owned list call result.
-
_restore_temporary_call_bindings — Restore the temporary symbol bindings used for one call.
-
_return_cleanup_exclusions — Return owner ids moved out through one return statement.
-
_semantic_call_resolution — Return the resolved semantic call metadata for one call.
-
_semantic_function — Return the resolved semantic function for one node.
-
_semantic_method_call — Return the resolved semantic method-call metadata for one call.
-
_semantic_return_resolution — Return the resolved semantic return metadata for one return.
-
_semantic_signature — Return the resolved semantic signature for one node.
-
emit_operation — Select specialized emission from semantic plan type, not syntax.
-
lower_bound_call_arguments — Evaluate in source order, fill defaults, then assemble ABI slots.
-
visit — Visit FunctionCall nodes.