Files
OSACA/osaca/semantics/__init__.py
2024-05-02 17:04:56 +02:00

25 lines
649 B
Python

"""
Tools for semantic analysis of parser result.
Only the classes below will be exported, so please add new semantic tools to __all__.
"""
from .isa_semantics import ISASemantics, INSTR_FLAGS
from .arch_semantics import ArchSemantics
from .hw_model import MachineModel
from .kernel_dg import KernelDG
from .marker_utils import reduce_to_section, find_basic_blocks, find_basic_loop_bodies
from .marker_utils import find_jump_labels
__all__ = [
"MachineModel",
"KernelDG",
"reduce_to_section",
"ArchSemantics",
"ISASemantics",
"INSTR_FLAGS",
"find_basic_blocks",
"find_basic_loop_bodies",
"find_jump_labels",
]