24 return isa<pdl::PDLType>(
unwrap(type));
32 return isa<pdl::AttributeType>(
unwrap(type));
44 return isa<pdl::OperationType>(
unwrap(type));
56 return isa<pdl::RangeType>(
unwrap(type));
72 return isa<pdl::TypeType>(
unwrap(type));
84 return isa<pdl::ValueType>(
unwrap(type));
bool mlirTypeIsAPDLRangeType(MlirType type)
bool mlirTypeIsAPDLTypeType(MlirType type)
MlirType mlirPDLOperationTypeGet(MlirContext ctx)
bool mlirTypeIsAPDLValueType(MlirType type)
MlirType mlirPDLAttributeTypeGet(MlirContext ctx)
bool mlirTypeIsAPDLOperationType(MlirType type)
bool mlirTypeIsAPDLType(MlirType type)
MlirType mlirPDLRangeTypeGet(MlirType elementType)
MlirType mlirPDLValueTypeGet(MlirContext ctx)
MlirType mlirPDLRangeTypeGetElementType(MlirType type)
bool mlirTypeIsAPDLAttributeType(MlirType type)
MlirType mlirPDLTypeTypeGet(MlirContext ctx)
#define MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(Name, Namespace, ClassName)
static Type getElementType(Type type, ArrayRef< int32_t > indices, function_ref< InFlightDiagnostic(StringRef)> emitErrorFn)
Walks the given type hierarchy with the given indices, potentially down to component granularity,...
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
MlirDiagnostic wrap(mlir::Diagnostic &diagnostic)
Include the generated interface declarations.
auto get(MLIRContext *context, Ts &&...params)
Helper method that injects context only if needed, this helps unify some of the attribute constructio...