Lines Matching refs:RefCounted
34 class RefCounted;
55 friend class RefCounted;
79 class RefCounted { class
81 RefCounted(AsyncRuntime *runtime, int32_t refCount = 1) in RefCounted() function in __anon411fb57b0111::RefCounted
86 virtual ~RefCounted() { in ~RefCounted()
91 RefCounted(const RefCounted &) = delete;
92 RefCounted &operator=(const RefCounted &) = delete;
113 struct AsyncToken : public RefCounted {
119 AsyncToken(AsyncRuntime *runtime) : RefCounted(runtime, /*count=*/2) {} in AsyncToken()
129 struct AsyncGroup : public RefCounted {
131 : RefCounted(runtime), pendingTokens(0), rank(0) {} in AsyncGroup()
145 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeAddRef()
151 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeDropRef()