Searched refs:typeDef (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | ExtensibleDialect.cpp | 103 : typeDef(typeDef), params(params) {} in DynamicTypeStorage() 120 DynamicTypeDefinition *typeDef; member 130 auto &ctx = typeDef->getContext(); in get() 134 &ctx, typeDef->getTypeID(), typeDef, params); in get() 139 DynamicTypeDefinition *typeDef, in getChecked() argument 141 if (failed(typeDef->verify(emitError, params))) in getChecked() 143 auto &ctx = typeDef->getContext(); in getChecked() 145 &ctx, typeDef->getTypeID(), typeDef, params); in getChecked() 160 if (failed(typeDef->parser(parser, params))) in parse() 470 if (!typeDef) in parseOptionalDynamicType() [all …]
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpDocGen.cpp | 391 for (Record *typeDef : typeDefDefs) { in emitDialectDoc() 392 TypeDef type(typeDef); in emitDialectDoc() 395 seen.insert(typeDef); in emitDialectDoc() 397 for (Record *typeDef : typeDefs) { in emitDialectDoc() 398 if (seen.count(typeDef)) in emitDialectDoc() 400 Type type(typeDef); in emitDialectDoc()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | ExtensibleDialect.h | 298 static DynamicType get(DynamicTypeDefinition *typeDef, 305 DynamicTypeDefinition *typeDef, 315 static bool isa(Type type, DynamicTypeDefinition *typeDef) { in isa() argument 316 return type.getTypeID() == typeDef->getTypeID(); in isa() 325 static ParseResult parse(AsmParser &parser, DynamicTypeDefinition *typeDef,
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DefiningDialects.md | 499 std::unique_ptr<DynamicTypeDefinition> typeDef = 511 dialect->registerDynamicType(std::move(typeDef)); 547 auto typeDef = extensibleDialect->lookupTypeDefinition("my_dynamic_type"); 549 auto type = DynamicType::get(typeDef, params); 557 auto typeDef = dynType.getTypeDef(); 610 dialect->registerDynamicAttr(std::move(typeDef));
|