Searched refs:constructedType (Results 1 – 3 of 3) sorted by relevance
27 MlirType constructedType = mlirPDLAttributeTypeGet(ctx); in testAttributeType() local30 assert(!mlirTypeIsNull(constructedType) && "couldn't construct PDLAttributeType"); in testAttributeType()53 mlirTypeIsAPDLType(constructedType)); in testAttributeType()56 mlirTypeIsAPDLAttributeType(constructedType)); in testAttributeType()59 mlirTypeIsAPDLOperationType(constructedType)); in testAttributeType()62 mlirTypeIsAPDLRangeType(constructedType)); in testAttributeType()65 mlirTypeIsAPDLTypeType(constructedType)); in testAttributeType()68 mlirTypeIsAPDLValueType(constructedType)); in testAttributeType()71 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testAttributeType()76 mlirTypeDump(constructedType); in testAttributeType()[all …]
26 MlirType constructedType = mlirTransformAnyOpTypeGet(ctx); in testAnyOpType() local29 assert(!mlirTypeIsNull(constructedType) && "couldn't construct AnyOpType"); in testAnyOpType()32 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testAnyOpType()42 mlirTypeDump(constructedType); in testAnyOpType()53 MlirType constructedType = mlirTransformOperationTypeGet( in testOperationType() local57 assert(!mlirTypeIsNull(constructedType) && "couldn't construct AnyOpType"); in testOperationType()60 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testOperationType()71 mlirTransformOperationTypeGetOperationName(constructedType); in testOperationType()77 mlirTypeDump(constructedType); in testOperationType()
18 constructedType = pdl.AttributeType.get()26 assert pdl.AttributeType.isinstance(constructedType)27 assert not pdl.OperationType.isinstance(constructedType)28 assert not pdl.RangeType.isinstance(constructedType)29 assert not pdl.TypeType.isinstance(constructedType)30 assert not pdl.ValueType.isinstance(constructedType)32 assert parsedType == constructedType37 print(constructedType)45 constructedType = pdl.OperationType.get()53 assert not pdl.AttributeType.isinstance(constructedType)[all …]