Searched refs:dialectNamespace (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | MainModule.cpp | 34 void PyGlobals::loadDialectModule(llvm::StringRef dialectNamespace) { in loadDialectModule() argument 36 if (loadedDialectModulesCache.contains(dialectNamespace)) in loadDialectModule() 43 moduleName.append(dialectNamespace.data(), dialectNamespace.size()); in loadDialectModule() 60 loadedDialectModulesCache.insert(dialectNamespace); in loadDialectModule() 63 void PyGlobals::registerDialectImpl(const std::string &dialectNamespace, in registerDialectImpl() argument 66 py::object &found = dialectClassMap[dialectNamespace]; in registerDialectImpl() 69 dialectNamespace + in registerDialectImpl() 90 PyGlobals::lookupDialectClass(const std::string &dialectNamespace) { in lookupDialectClass() argument 92 loadDialectModule(dialectNamespace); in lookupDialectClass() 94 const auto foundIt = dialectClassMap.find(dialectNamespace); in lookupDialectClass() [all …]
|
D | Globals.h | 55 void loadDialectModule(llvm::StringRef dialectNamespace); 64 void registerDialectImpl(const std::string &dialectNamespace, 77 lookupDialectClass(const std::string &dialectNamespace);
|
D | IRModules.cpp | 139 createCustomDialectWrapper(const std::string &dialectNamespace, in createCustomDialectWrapper() argument 141 auto dialectClass = PyGlobals::get().lookupDialectClass(dialectNamespace); in createCustomDialectWrapper()
|
/external/llvm-project/mlir/lib/IR/ |
D | TypeDetail.h | 32 OpaqueTypeStorage(Identifier dialectNamespace, StringRef typeData) in OpaqueTypeStorage() 33 : dialectNamespace(dialectNamespace), typeData(typeData) {} in OpaqueTypeStorage() 38 return key == KeyTy(dialectNamespace, typeData); 49 Identifier dialectNamespace; member
|
D | AttributeDetail.h | 243 OpaqueAttributeStorage(Identifier dialectNamespace, StringRef attrData, in OpaqueAttributeStorage() 245 : AttributeStorage(type), dialectNamespace(dialectNamespace), in OpaqueAttributeStorage() 251 return key == KeyTy(dialectNamespace, attrData, getType()); 263 Identifier dialectNamespace; member
|
D | MLIRContext.cpp | 461 MLIRContext::getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID, in getOrLoadDialect() argument 465 std::unique_ptr<Dialect> &dialect = impl.loadedDialects[dialectNamespace]; in getOrLoadDialect() 469 << "Load new dialect in Context " << dialectNamespace << "\n"); in getOrLoadDialect() 473 "Loading a dialect (" + dialectNamespace + in getOrLoadDialect() 485 llvm::report_fatal_error("a dialect with namespace '" + dialectNamespace + in getOrLoadDialect()
|
D | BuiltinTypes.cpp | 175 return getImpl()->dialectNamespace; in getDialectNamespace()
|
D | BuiltinAttributes.cpp | 392 return getImpl()->dialectNamespace; in getDialectNamespace()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | MLIRContext.h | 167 Dialect *getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID,
|
/external/llvm-project/mlir/lib/CAPI/IR/ |
D | BuiltinAttributes.cpp | 163 MlirAttribute mlirOpaqueAttrGet(MlirContext ctx, MlirStringRef dialectNamespace, in mlirOpaqueAttrGet() argument 167 OpaqueAttr::get(Identifier::get(unwrap(dialectNamespace), unwrap(ctx)), in mlirOpaqueAttrGet()
|
/external/llvm-project/mlir/include/mlir-c/ |
D | BuiltinAttributes.h | 158 mlirOpaqueAttrGet(MlirContext ctx, MlirStringRef dialectNamespace,
|