| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpDocGen.cpp | 241 os << "\nSyntax: `!" << def.getDialect().getName() << "." in emitAttrOrTypeDefAssemblyFormat() 246 os << "\nSyntax:\n\n```\n!" << def.getDialect().getName() << "." in emitAttrOrTypeDefAssemblyFormat() 373 dialectAttrDefs[attr.getDialect().getName()].push_back(attr); in emitDialectDoc() 374 dialectsWithDocs.insert(attr.getDialect()); in emitDialectDoc() 381 if (const Dialect &dialect = attr.getDialect()) { in emitDialectDoc() 388 dialectOps[op.getDialect().getName()].push_back(op); in emitDialectDoc() 389 dialectsWithDocs.insert(op.getDialect()); in emitDialectDoc() 393 dialectTypeDefs[type.getDialect().getName()].push_back(type); in emitDialectDoc() 394 dialectsWithDocs.insert(type.getDialect()); in emitDialectDoc() 401 if (const Dialect &dialect = type.getDialect()) { in emitDialectDoc()
|
| H A D | AttrOrTypeDefGen.cpp | 45 defs, [](const auto &def) { return def.getDialect(); }))) { in collectAllDefs() 53 return def.getDialect().getName().equals(selectedDialect); in collectAllDefs() 648 NamespaceEmitter nsEmitter(os, defs.front().getDialect()); in emitDecls() 661 if (!def.getDialect().getCppNamespace().empty()) in emitDecls() 663 << def.getDialect().getCppNamespace() << "::" << def.getCppClassName() in emitDecls() 676 os << def.getDialect().getCppNamespace() << "::" << def.getCppClassName(); in emitTypeDefList() 830 "{0}::{1}", def.getDialect().getCppNamespace(), def.getCppClassName()); in emitParsePrintDispatch() 869 NamespaceEmitter ns(os, def.getDialect()); in emitDefs() 874 if (!def.getDialect().getCppNamespace().empty()) in emitDefs() 876 << def.getDialect().getCppNamespace() << "::" << def.getCppClassName() in emitDefs() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | DialectInterface.h | 51 Dialect *getDialect() const { return dialect; } in getDialect() function 82 return getHashValue(key->getDialect()); in getHashValue() 88 return lhs == rhs->getDialect(); in isEqual()
|
| H A D | Types.h | 119 Dialect &getDialect() const { return impl->getAbstractType().getDialect(); } in getDialect() function
|
| H A D | Attributes.h | 76 Dialect &getDialect() const { in getDialect() function 77 return impl->getAbstractAttribute().getDialect(); in getDialect()
|
| H A D | ExtensibleDialect.h | 86 ExtensibleDialect *getDialect() const { return dialect; } in getDialect() function 231 ExtensibleDialect *getDialect() const { return dialect; } in getDialect() function
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | FoldUtils.cpp | 143 op->getDialect(), constValue, *op->result_type_begin())]; in insertKnownConstant() 162 referencedDialects[op].push_back(op->getDialect()); in insertKnownConstant() 282 auto *dialect = op->getDialect(); in processFoldResults() 348 auto *newDialect = constOp->getDialect(); in tryGetOrCreateConstant()
|
| /llvm-project-15.0.7/mlir/test/lib/Transforms/ |
| H A D | TestIntRangeInference.cpp | 38 maybeDefiningOp ? maybeDefiningOp->getDialect() in replaceWithConstant() 39 : value.getParentRegion()->getParentOp()->getDialect(); in replaceWithConstant()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Dialect.cpp | 84 assert(op->getDialect() == this && in getOperationPrinter() 132 return getInterfaceFor(op->getDialect()); in getInterfaceFor()
|
| H A D | Attributes.cpp | 20 MLIRContext *Attribute::getContext() const { return getDialect().getContext(); } in getContext()
|
| H A D | Types.cpp | 19 MLIRContext *Type::getContext() const { return getDialect().getContext(); } in getContext()
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Type.h | 69 Dialect getDialect() const;
|
| H A D | Attribute.h | 115 Dialect getDialect() const;
|
| H A D | AttrOrTypeDef.h | 148 Dialect getDialect() const;
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | AnnotateConstant.cpp | 27 if (op->getDialect() == firDialect) { in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/CAPI/Dialect/ |
| H A D | Linalg.cpp | 21 auto *dialect = static_cast<LinalgDialect *>(linalgOp->getDialect()); in mlirLinalgFillBuiltinNamedOpRegion()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/PDL/IR/ |
| H A D | PDLTypes.cpp | 59 return llvm::isa<PDLDialect>(type.getDialect()); in classof()
|
| /llvm-project-15.0.7/mlir/lib/Analysis/DataFlow/ |
| H A D | IntegerRangeAnalysis.cpp | 48 dialect = parent->getDialect(); in onUpdate() 50 dialect = value.getParentBlock()->getParentOp()->getDialect(); in onUpdate()
|
| H A D | ConstantPropagationAnalysis.cpp | 84 lattice->join(ConstantValue(attr, op->getDialect()))); in visitOperation()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Type.cpp | 79 Dialect Type::getDialect() const { in getDialect() function in Type
|
| /llvm-project-15.0.7/mlir/unittests/IR/ |
| H A D | InterfaceAttachmentTest.cpp | 213 return &attr.cast<IntegerAttr>().getDialect(); in getDialectPtr() 229 EXPECT_EQ(iface.getDialectPtr(), &attr.getDialect()); in TEST() 238 return &attr.getDialect(); in getDialectPtr()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/Transforms/ |
| H A D | ShapeToShapeLowering.cpp | 37 Value init = op->getDialect() in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/ |
| H A D | TosaInferShapes.cpp | 199 if (op.getDialect()->getNamespace() != TosaDialect::getDialectNamespace()) in propagateShapesInRegion() 228 if (user->getDialect()->getNamespace() == in propagateShapesInRegion()
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/LLVMCommon/ |
| H A D | TypeConverter.h | 79 LLVM::LLVMDialect *getDialect() { return llvmDialect; } in getDialect() function
|
| /llvm-project-15.0.7/mlir/test/lib/Analysis/DataFlow/ |
| H A D | TestDeadCodeAnalysis.cpp | 84 constant, constant->join(ConstantValue(value, op->getDialect()))); in visit()
|