Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.h79 struct ContextRoot { struct
148 #define _CONTEXT_PTR ContextRoot *CtxRoot = nullptr;
158 ContextRoot *getOrAllocateContextRoot();
173 inline bool canBeRoot(const ContextRoot *Ctx) { in canBeRoot()
195 extern __thread __ctx_profile::ContextRoot
H A DCtxInstrProfiling.cpp31 __sanitizer::Vector<ContextRoot *> AllContextRoots;
84 bool validate(const ContextRoot *Root) { in validate()
159 __thread ContextRoot *volatile __llvm_ctx_profile_current_context_root =
257 void setupContext(ContextRoot *Root, GUID Guid, uint32_t NumCounters, in setupContext()
273 ContextRoot *FunctionData::getOrAllocateContextRoot() { in getOrAllocateContextRoot()
282 Root = new (__sanitizer::InternalAlloc(sizeof(ContextRoot))) ContextRoot(); in getOrAllocateContextRoot()
290 ContextNode *tryStartContextGivenRoot(ContextRoot *Root, GUID Guid, in tryStartContextGivenRoot()
311 ContextRoot *CtxRoot) { in getUnhandledContext()
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/tests/
H A DCtxInstrProfilingTest.cpp229 ContextRoot *const Root; in TEST_F()
240 TestProfileWriter(ContextRoot *Root, size_t Entries) in TEST_F()
307 FData.CtxRoot = reinterpret_cast<ContextRoot *>(1U); in TEST_F()