Lines Matching refs:ctxImpl
654 MLIRContextImpl &ctxImpl = context->getImpl(); in OperationName() local
662 auto registeredIt = ctxImpl.registeredOperations.find(name); in OperationName()
663 if (LLVM_LIKELY(registeredIt != ctxImpl.registeredOperations.end())) { in OperationName()
668 llvm::sys::SmartScopedReader<true> contextLock(ctxImpl.operationInfoMutex); in OperationName()
669 auto it = ctxImpl.operations.find(name); in OperationName()
670 if (it != ctxImpl.operations.end()) { in OperationName()
677 ScopedWriterLock lock(ctxImpl.operationInfoMutex, isMultithreadingEnabled); in OperationName()
679 auto it = ctxImpl.operations.insert({name, OperationName::Impl(nullptr)}); in OperationName()
724 auto &ctxImpl = ctx->getImpl(); in insert() local
725 assert(ctxImpl.multiThreadedExecutionContext == 0 && in insert()
733 ctxImpl.abstractDialectSymbolAllocator.Allocate<StringAttr>( in insert()
741 auto it = ctxImpl.operations.insert({name, OperationName::Impl(nullptr)}); in insert()
751 auto emplaced = ctxImpl.registeredOperations.try_emplace( in insert()
757 ctxImpl.sortedRegisteredOperations.insert( in insert()
758 llvm::upper_bound(ctxImpl.sortedRegisteredOperations, value, in insert()