Lines Matching refs:unwrap
24 return unwrap(type).isa<pdl::PDLType>(); in MLIR_DEFINE_CAPI_DIALECT_REGISTRATION()
32 return unwrap(type).isa<pdl::AttributeType>(); in mlirTypeIsAPDLAttributeType()
36 return wrap(pdl::AttributeType::get(unwrap(ctx))); in mlirPDLAttributeTypeGet()
44 return unwrap(type).isa<pdl::OperationType>(); in mlirTypeIsAPDLOperationType()
48 return wrap(pdl::OperationType::get(unwrap(ctx))); in mlirPDLOperationTypeGet()
56 return unwrap(type).isa<pdl::RangeType>(); in mlirTypeIsAPDLRangeType()
60 return wrap(pdl::RangeType::get(unwrap(elementType))); in mlirPDLRangeTypeGet()
64 return wrap(unwrap(type).cast<pdl::RangeType>().getElementType()); in mlirPDLRangeTypeGetElementType()
72 return unwrap(type).isa<pdl::TypeType>(); in mlirTypeIsAPDLTypeType()
76 return wrap(pdl::TypeType::get(unwrap(ctx))); in mlirPDLTypeTypeGet()
84 return unwrap(type).isa<pdl::ValueType>(); in mlirTypeIsAPDLValueType()
88 return wrap(pdl::ValueType::get(unwrap(ctx))); in mlirPDLValueTypeGet()