Searched refs:TypeType (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/mlir/test/python/dialects/ |
| H A D | pdl_types.py | 23 assert not pdl.TypeType.isinstance(parsedType) 29 assert not pdl.TypeType.isinstance(constructedType) 50 assert not pdl.TypeType.isinstance(parsedType) 56 assert not pdl.TypeType.isinstance(constructedType) 79 assert not pdl.TypeType.isinstance(parsedType) 85 assert not pdl.TypeType.isinstance(constructedType) 104 constructedType = pdl.TypeType.get() 109 assert pdl.TypeType.isinstance(parsedType) 115 assert pdl.TypeType.isinstance(constructedType) 136 assert not pdl.TypeType.isinstance(parsedType) [all …]
|
| /llvm-project-15.0.7/mlir/python/mlir/_mlir_libs/_mlir/dialects/ |
| H A D | pdl.pyi | 14 'TypeType', 51 class TypeType(Type): 56 def get(context: Optional[Context] = None) -> TypeType: ...
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Types.cpp | 106 return range && range.getElementType().isa<TypeType>(); in classof() 110 return RangeType::get(context, TypeType::get(context)).cast<TypeRangeType>(); in get() 161 TypeType TypeType::get(Context &context) { in get()
|
| H A D | NodePrinter.cpp | 154 .Case([&](TypeType) { os << "Type"; }) in print() argument
|
| /llvm-project-15.0.7/mlir/lib/CAPI/Dialect/ |
| H A D | PDL.cpp | 72 return unwrap(type).isa<pdl::TypeType>(); in mlirTypeIsAPDLTypeType() 76 return wrap(pdl::TypeType::get(unwrap(ctx))); in mlirPDLTypeTypeGet()
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/CodeGen/ |
| H A D | MLIRGen.cpp | 166 .Case([&](ast::TypeType astType) -> Type { in genType() 167 return builder.getType<pdl::TypeType>(); in genType() 337 if (type.isa<ast::TypeType>()) in genNonInitializerVar() 346 loc, pdl::RangeType::get(builder.getType<pdl::TypeType>()), in genNonInitializerVar() 357 if (eleTy.isa<ast::TypeType>()) in genNonInitializerVar() 531 builder.getType<pdl::TypeType>(), in genExprImpl()
|
| H A D | CPPGen.cpp | 180 .Case([&](ast::TypeType) { return "::mlir::Type"; }) in getNativeTypeName() argument
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Types.h | 270 class TypeType : public Type::TypeBase<detail::TypeTypeStorage> { 275 static TypeType get(Context &context);
|
| H A D | Nodes.h | 614 : Base(loc, TypeType::get(ctx)), value(value) {} in TypeExpr()
|
| /llvm-project-15.0.7/mlir/python/mlir/dialects/ |
| H A D | _pdl_ops_ext.py | 263 result = pdl.TypeType.get() 277 result = pdl.RangeType.get(pdl.TypeType.get())
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/PDL/IR/ |
| H A D | PDLTypes.td | 75 // pdl::TypeType
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | OpImplementation.h | 1124 template <typename TypeType> 1125 ParseResult parseColonType(TypeType &result) { in parseColonType() 1134 result = type.dyn_cast<TypeType>(); in parseColonType()
|
| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | ByteCode.cpp | 393 if (rangeTy.getElementType().isa<pdl::TypeType>()) in appendPDLValueKind() 397 .Case<pdl::TypeType>([](Type) { return PDLValue::Kind::Type; }) in appendPDLValueKind() 531 if (elementTy.isa<pdl::TypeType>()) in allocateMemoryIndices() 606 else if (eleType.isa<pdl::TypeType>()) in allocateMemoryIndices() 876 .Case([](pdl::TypeType) { return OpCode::ExtractType; }) in generate() argument
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/PDLInterp/IR/ |
| H A D | PDLInterpOps.td | 476 build($_builder, $_state, $_builder.getType<pdl::TypeType>(), type); 505 pdl::RangeType::get($_builder.getType<pdl::TypeType>()), type); 728 build($_builder, $_state, $_builder.getType<pdl::TypeType>(), value); 963 Type typeType = $_builder.getType<pdl::TypeType>();
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 52 typeTy(ast::TypeType::get(ctx)), in Parser()
|