Pyrdl to irdl
pyrdl_to_irdl
depython_name(name: str)
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
26 27 28 29 | |
constraint_to_irdl(builder: Builder, constraint: AttrConstraint) -> SSAValue
Convert an attribute constraint to IRDL. This will create new operations at the provided builder location.
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
32 33 34 35 36 37 38 | |
range_to_irdl(builder: Builder, constraint: RangeConstraint) -> SSAValue
Convert a range constraint to IRDL. This will create new operations at the provided builder location.
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
41 42 43 44 45 46 47 | |
op_def_to_irdl(op: type[IRDLOperation]) -> OperationOp
Convert an operation definition to an IRDL operation definition.
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
attr_def_to_irdl(attr: type[ParametrizedAttribute]) -> AttributeOp
Convert an attribute definition to an IRDL attribute definition.
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
dialect_to_irdl(dialect: Dialect, name: str) -> DialectOp
Convert a dialect definition to an IRDL dialect definition.
Source code in xdsl/dialects/irdl/pyrdl_to_irdl.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | |