Lines Matching defs:cls
32 [](nb::object cls, MlirContext ctx) {
33 return cls(mlirTransformAnyOpTypeGet(ctx));
35 "Get an instance of AnyOpType in the given context.", nb::arg("cls"),
47 [](nb::object cls, MlirContext ctx) {
48 return cls(mlirTransformAnyParamTypeGet(ctx));
50 "Get an instance of AnyParamType in the given context.", nb::arg("cls"),
62 [](nb::object cls, MlirContext ctx) {
63 return cls(mlirTransformAnyValueTypeGet(ctx));
65 "Get an instance of AnyValueType in the given context.", nb::arg("cls"),
77 [](nb::object cls, const std::string &operationName, MlirContext ctx) {
80 return cls(mlirTransformOperationTypeGet(ctx, cOperationName));
84 nb::arg("cls"), nb::arg("operation_name"),
104 [](nb::object cls, MlirType type, MlirContext ctx) {
105 return cls(mlirTransformParamTypeGet(ctx, type));
108 nb::arg("cls"), nb::arg("type"), nb::arg("context").none() = nb::none());