Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp175 DenseMap<StringRef, std::unique_ptr<Dialect>> loadedDialects; member in mlir::MLIRContextImpl
377 result.reserve(impl->loadedDialects.size()); in getLoadedDialects()
378 for (auto &dialect : impl->loadedDialects) in getLoadedDialects()
397 auto it = impl->loadedDialects.find(name); in getLoadedDialect()
398 return (it != impl->loadedDialects.end()) ? it->second.get() : nullptr; in getLoadedDialect()
418 auto dialectIt = impl.loadedDialects.find(dialectNamespace); in getOrLoadDialect()
420 if (dialectIt == impl.loadedDialects.end()) { in getOrLoadDialect()
432 impl.loadedDialects.insert({dialectNamespace, ctor()}).first->second; in getOrLoadDialect()
467 hash = llvm::hash_combine(hash, impl->loadedDialects.size()); in getRegistryHash()