Lines Matching refs:RefCounted
41 class RefCounted;
65 friend class RefCounted;
124 class RefCounted { class
126 RefCounted(AsyncRuntime *runtime, int64_t refCount = 1) in RefCounted() function in mlir::runtime::__anonc7b155b40111::RefCounted
131 virtual ~RefCounted() { in ~RefCounted()
136 RefCounted(const RefCounted &) = delete;
137 RefCounted &operator=(const RefCounted &) = delete;
173 struct AsyncToken : public RefCounted {
180 : RefCounted(runtime, /*refCount=*/2), state(State::kUnavailable) {} in AsyncToken()
193 struct AsyncValue : public RefCounted {
196 : RefCounted(runtime, /*refCount=*/2), state(State::kUnavailable), in AsyncValue()
213 struct AsyncGroup : public RefCounted {
215 : RefCounted(runtime), pendingTokens(size), numErrors(0), rank(0) {} in AsyncGroup()
229 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeAddRef()
235 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeDropRef()