Home
last modified time | relevance | path

Searched refs:mlirTypeEqual (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/mlir/test/CAPI/
H A Dllvm.c33 fprintf(stderr, "%s: %d\n", i32p_text, mlirTypeEqual(i32p, i32p_ref)); in testTypeCreation()
39 fprintf(stderr, "%s: %d\n", i32p4_text, mlirTypeEqual(i32p4, i32p4_ref)); in testTypeCreation()
46 fprintf(stderr, "%s: %d\n", voidt_text, mlirTypeEqual(voidt, voidt_ref)); in testTypeCreation()
53 fprintf(stderr, "%s: %d\n", i32_4_text, mlirTypeEqual(i32_4, i32_4_ref)); in testTypeCreation()
62 mlirTypeEqual(i8_i32_i64, i8_i32_i64_ref)); in testTypeCreation()
70 mlirTypeEqual(i32_i64_s, i32_i64_s_ref)); in testTypeCreation()
H A Dpdl.c71 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testAttributeType()
131 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testOperationType()
194 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testRangeType()
196 fprintf(stderr, "equal: %d\n", mlirTypeEqual(typeType, elementType)); in testRangeType()
258 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testTypeType()
318 fprintf(stderr, "equal: %d\n", mlirTypeEqual(parsedType, constructedType)); in testValueType()
H A Dquant.c121 fprintf(stderr, "equal: %d\n", mlirTypeEqual(anyParsed, any)); in testAnyQuantizedType()
150 fprintf(stderr, "equal: %d\n", mlirTypeEqual(uniform, uniformParsed)); in testUniformType()
200 fprintf(stderr, "equal: %d\n", mlirTypeEqual(perAxis, perAxisParsed)); in testUniformPerAxisType()
223 fprintf(stderr, "equal: %d\n", mlirTypeEqual(calibrated, calibratedParsed)); in testCalibratedType()
H A Dir.c643 if (mlirTypeEqual(i32, ui32) || mlirTypeEqual(i32, si32)) in printBuiltinTypes()
704 !mlirTypeEqual(mlirComplexTypeGetElementType(cplx), f32)) in printBuiltinTypes()
718 if (!mlirTypeEqual(mlirShapedTypeGetElementType(vector), f32) || in printBuiltinTypes()
777 !mlirTypeEqual(mlirTupleTypeGetType(tuple, 0), unrankedMemRef) || in printBuiltinTypes()
778 !mlirTypeEqual(mlirTupleTypeGetType(tuple, 1), f32)) in printBuiltinTypes()
794 if (!mlirTypeEqual(funcInputs[0], mlirFunctionTypeGetInput(funcType, 0)) || in printBuiltinTypes()
795 !mlirTypeEqual(funcInputs[1], mlirFunctionTypeGetInput(funcType, 1))) in printBuiltinTypes()
797 if (!mlirTypeEqual(funcResults[0], mlirFunctionTypeGetResult(funcType, 0)) || in printBuiltinTypes()
798 !mlirTypeEqual(funcResults[1], mlirFunctionTypeGetResult(funcType, 1)) || in printBuiltinTypes()
799 !mlirTypeEqual(funcResults[2], mlirFunctionTypeGetResult(funcType, 2))) in printBuiltinTypes()
[all …]
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DIR.h742 MLIR_CAPI_EXPORTED bool mlirTypeEqual(MlirType t1, MlirType t2);
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRAttributes.cpp525 if (!mlirTypeEqual(shapedElementType, attrType)) { in getSplat()
H A DIRCore.cpp1674 return mlirTypeEqual(type, other.type); in operator ==()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DIR.cpp732 bool mlirTypeEqual(MlirType t1, MlirType t2) { in mlirTypeEqual() function