Traits
traits
StaticInsnRepresentation
dataclass
Bases: HasInsnRepresentation
Returns the first parameter as an insn template string.
See external documentation.
Source code in xdsl/backend/riscv/traits.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
insn: str = field(kw_only=True)
class-attribute
instance-attribute
__init__(*, insn: str) -> None
get_insn(op: Operation) -> str
Return the insn representation of the operation for printing.
Source code in xdsl/backend/riscv/traits.py
17 18 19 20 21 | |