Bases: BaseVisitorProtocol, Protocol
Methods:
create_entry_block_alloca
create_entry_block_alloca(
_var_name: str, _type_name: str
) -> Any
Source code in src/irx/builders/llvmliteir/protocols.py
66
67
68
69
70
71
72
73
74
75
76
77
78
79 | def create_entry_block_alloca(
self, _var_name: str, _type_name: str
) -> Any:
"""
title: Create entry block alloca.
parameters:
_var_name:
type: str
_type_name:
type: str
returns:
type: Any
"""
...
|
get_function
get_function(_name: str) -> Function | None
Source code in src/irx/builders/llvmliteir/protocols.py
55
56
57
58
59
60
61
62
63
64 | def get_function(self, _name: str) -> ir.Function | None:
"""
title: Get function.
parameters:
_name:
type: str
returns:
type: ir.Function | None
"""
...
|
require_runtime_symbol
require_runtime_symbol(
_feature_name: str, _symbol_name: str
) -> Function
Source code in src/irx/builders/llvmliteir/protocols.py
81
82
83
84
85
86
87
88
89
90
91
92
93
94 | def require_runtime_symbol(
self, _feature_name: str, _symbol_name: str
) -> ir.Function:
"""
title: Require runtime symbol.
parameters:
_feature_name:
type: str
_symbol_name:
type: str
returns:
type: ir.Function
"""
...
|
set_fast_math
set_fast_math(_enabled: bool) -> None
Source code in src/irx/builders/llvmliteir/protocols.py
96
97
98
99
100
101
102
103 | def set_fast_math(self, _enabled: bool) -> None:
"""
title: Set fast math.
parameters:
_enabled:
type: bool
"""
...
|
visit
visit(_node: AST) -> None
Source code in src/irx/base/visitors/protocols.py
| def visit(self, _node: astx.AST) -> None:
"""
title: Visit AST nodes.
parameters:
_node:
type: astx.AST
"""
...
|
visit_child
visit_child(_node: AST) -> None
Source code in src/irx/base/visitors/protocols.py
| def visit_child(self, _node: astx.AST) -> None:
"""
title: Visit one child AST node.
parameters:
_node:
type: astx.AST
"""
...
|