Home
last modified time | relevance | path

Searched refs:mlirTypeIsNull (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/mlir/test/CAPI/
H A Dpdl.c29 assert(!mlirTypeIsNull(parsedType) && "couldn't parse PDLAttributeType"); in testAttributeType()
30 assert(!mlirTypeIsNull(constructedType) && "couldn't construct PDLAttributeType"); in testAttributeType()
89 assert(!mlirTypeIsNull(parsedType) && "couldn't parse PDLAttributeType"); in testOperationType()
90 assert(!mlirTypeIsNull(constructedType) && "couldn't construct PDLAttributeType"); in testOperationType()
151 assert(!mlirTypeIsNull(typeType) && "couldn't get PDLTypeType"); in testRangeType()
152 assert(!mlirTypeIsNull(parsedType) && "couldn't parse PDLAttributeType"); in testRangeType()
153 assert(!mlirTypeIsNull(constructedType) && "couldn't construct PDLAttributeType"); in testRangeType()
216 assert(!mlirTypeIsNull(parsedType) && "couldn't parse PDLAttributeType"); in testTypeType()
217 assert(!mlirTypeIsNull(constructedType) && "couldn't construct PDLAttributeType"); in testTypeType()
276 assert(!mlirTypeIsNull(parsedType) && "couldn't parse PDLAttributeType"); in testValueType()
[all …]
H A Dquant.c39 assert(!mlirTypeIsNull(any) && "couldn't parse AnyQuantizedType"); in testTypeHierarchy()
40 assert(!mlirTypeIsNull(uniform) && "couldn't parse UniformQuantizedType"); in testTypeHierarchy()
41 assert(!mlirTypeIsNull(perAxis) && in testTypeHierarchy()
43 assert(!mlirTypeIsNull(calibrated) && in testTypeHierarchy()
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DDialectQuant.cpp92 if (!mlirTypeIsNull(castResult)) in populateDialectQuantSubmodule()
104 if (!mlirTypeIsNull(castResult)) in populateDialectQuantSubmodule()
117 if (!mlirTypeIsNull(castResult)) in populateDialectQuantSubmodule()
129 if (!mlirTypeIsNull(castResult)) in populateDialectQuantSubmodule()
142 if (!mlirTypeIsNull(castResult)) in populateDialectQuantSubmodule()
H A DIRTypes.cpp341 if (mlirTypeIsNull(t)) { in bindDerived()
374 if (mlirTypeIsNull(t)) { in bindDerived()
414 if (mlirTypeIsNull(t)) { in bindDerived()
451 if (mlirTypeIsNull(t)) { in bindDerived()
510 if (mlirTypeIsNull(t)) { in bindDerived()
H A DIRCore.cpp1683 if (mlirTypeIsNull(rawType)) in createFromCapsule()
3064 if (mlirTypeIsNull(type)) { in populateIRCore()
/llvm-project-15.0.7/mlir/include/mlir/Bindings/Python/
H A DPybindAdaptors.h229 return !mlirTypeIsNull(value);
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DIR.h739 static inline bool mlirTypeIsNull(MlirType type) { return !type.ptr; } in mlirTypeIsNull() function