aix.codegen
aix.codegen
Source: packages/aix/src/aix/codegen.py
title: AIX LLVM-IR integration helpers.Classes
AixVisitor(LLVMVisitor)
title: AIX-specific backend visitor customizations.AixBuilder(LLVMBuilder)
title: AIX backend builder with AIX overrides.
attributes:
translator:
type: AixVisitorMethods
build(self, node: astx.AST, output_file: str, link: bool=True, link_mode: Literal['auto', 'pie', 'no-pie']='auto') -> None
title: >-
Transpile the ASTx to LLVM-IR and build it to an executable file.
parameters:
node:
type: astx.AST
output_file:
type: str
link:
type: bool
link_mode:
type: Literal[auto, pie, no-pie]build_modules(self, root: ParsedModule, resolver: ImportResolver, output_file: str, link: bool=True, link_mode: Literal['auto', 'pie', 'no-pie']='auto') -> None
title: Build a reachable graph of parsed modules.
parameters:
root:
type: ParsedModule
resolver:
type: ImportResolver
output_file:
type: str
link:
type: bool
link_mode:
type: Literal[auto, pie, no-pie]