Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp138 TLD.BufferOffset = 0; in getThreadLocalData()
142 TLD.StackSize = 0; in getThreadLocalData()
151 TLD.StackEntries = 0; in getThreadLocalData()
154 return TLD; in getThreadLocalData()
179 if (TLD.StackEntries++ >= TLD.StackSize) in InMemoryRawLog()
199 if (--TLD.StackEntries >= TLD.StackSize) in InMemoryRawLog()
245 if (++TLD.BufferOffset == TLD.BufferSize) { in InMemoryRawLog()
249 TLD.BufferOffset = 0; in InMemoryRawLog()
345 if (TLD.ShadowStack) in TLDDestructor()
351 if (TLD.LogWriter == nullptr || TLD.BufferOffset == 0) { in TLDDestructor()
[all …]
H A Dxray_fdr_logging.cpp357 TLD.Controller->flush(); in fdrLoggingFlush()
463 TLD.BQ = BQ; in setupTLD()
467 TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
471 if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) in setupTLD()
478 TLD.Writer = LWStorage; in setupTLD()
485 FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime, in setupTLD()
504 if (!setupTLD(TLD)) in fdrLoggingHandleArg0()
534 if (!setupTLD(TLD)) in fdrLoggingHandleArg1()
576 if (!setupTLD(TLD)) in fdrLoggingHandleCustomEvent()
606 if (!setupTLD(TLD)) in fdrLoggingHandleTypedEvent()
[all …]
H A Dxray_profiling.cpp62 thread_local ProfilingData TLD{{0}, {0}}; variable
76 pthread_setspecific(ProfilingKey, &TLD); in getThreadLocalData()
89 if (atomic_compare_exchange_strong(&TLD.Allocators, &Allocators, 1, in getThreadLocalData()
94 atomic_store(&TLD.Allocators, 0, memory_order_release); in getThreadLocalData()
132 atomic_store(&TLD.Allocators, Allocators, memory_order_release); in getThreadLocalData()
142 atomic_load_relaxed(&TLD.Allocators))); in getThreadLocalData()
145 atomic_store(&TLD.FCT, FCT, memory_order_release); in getThreadLocalData()
151 return &TLD; in getThreadLocalData()
155 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); in cleanupTLD()
286 postCurrentThreadFCT(TLD); in profilingHandleArg0()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp203 for (const auto &TLD : TLDs) { in findInsertionPoint() local
204 if (!IsValidPoint(TLD->getBeginLoc())) in findInsertionPoint()
207 Out.Loc = SM.getExpansionLoc(TLD->getBeginLoc()); in findInsertionPoint()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp9284 for (TopLevelDeclsMap::iterator TLD = TopLevelDecls.begin(), in finishPendingActions() local
9285 TLDEnd = TopLevelDecls.end(); TLD != TLDEnd; ++TLD) { in finishPendingActions()
9286 IdentifierInfo *II = TLD->first; in finishPendingActions()
9287 for (unsigned I = 0, N = TLD->second.size(); I != N; ++I) { in finishPendingActions()
9288 pushExternalDeclIntoScope(cast<NamedDecl>(TLD->second[I]), II); in finishPendingActions()