Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp132 __thread ContextRoot *volatile __llvm_ctx_profile_current_context_root = variable
166 auto *Mem = __llvm_ctx_profile_current_context_root->CurrentMem; in getCallsiteSlow()
174 __llvm_ctx_profile_current_context_root->CurrentMem = Mem = in getCallsiteSlow()
188 if (!__llvm_ctx_profile_current_context_root) in __llvm_ctx_profile_get_context()
263 __llvm_ctx_profile_current_context_root = Root; in __llvm_ctx_profile_start_context()
268 __llvm_ctx_profile_current_context_root = nullptr; in __llvm_ctx_profile_start_context()
274 if (__llvm_ctx_profile_current_context_root) { in __llvm_ctx_profile_release_context()
275 __llvm_ctx_profile_current_context_root = nullptr; in __llvm_ctx_profile_release_context()
H A DCtxInstrProfiling.h141 *volatile __llvm_ctx_profile_current_context_root;
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/tests/
H A DCtxInstrProfilingTest.cpp51 EXPECT_EQ(__llvm_ctx_profile_current_context_root, &Root); in TEST_F()
55 EXPECT_EQ(__llvm_ctx_profile_current_context_root, nullptr); in TEST_F()
85 EXPECT_EQ(__llvm_ctx_profile_current_context_root, nullptr); in TEST_F()