Skip to content

Arch

arch

Helper superclass for convenience methods to do with functionality of a target architecture.

Arch

Bases: ABC

Source code in xdsl/backend/arch.py
10
11
12
13
14
15
16
17
class Arch(abc.ABC):
    @staticmethod
    @abc.abstractmethod
    def name() -> str:
        """
        The name that this architecture/microarchitecture can be referred by, should be
        unique per backend.
        """

name() -> str abstractmethod staticmethod

The name that this architecture/microarchitecture can be referred by, should be unique per backend.

Source code in xdsl/backend/arch.py
11
12
13
14
15
16
17
@staticmethod
@abc.abstractmethod
def name() -> str:
    """
    The name that this architecture/microarchitecture can be referred by, should be
    unique per backend.
    """