Lines Matching defs:cls
35 [](nb::object cls, MlirContext ctx) {
36 return cls(mlirPDLAttributeTypeGet(ctx));
38 "Get an instance of AttributeType in given context.", nb::arg("cls"),
49 [](nb::object cls, MlirContext ctx) {
50 return cls(mlirPDLOperationTypeGet(ctx));
52 "Get an instance of OperationType in given context.", nb::arg("cls"),
62 [](nb::object cls, MlirType elementType) {
63 return cls(mlirPDLRangeTypeGet(elementType));
67 nb::arg("cls"), nb::arg("element_type"));
80 [](nb::object cls, MlirContext ctx) {
81 return cls(mlirPDLTypeTypeGet(ctx));
83 "Get an instance of TypeType in given context.", nb::arg("cls"),
93 [](nb::object cls, MlirContext ctx) {
94 return cls(mlirPDLValueTypeGet(ctx));
96 "Get an instance of TypeType in given context.", nb::arg("cls"),