Home
last modified time | relevance | path

Searched refs:CurrentContext (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DCrashRecoveryContext.cpp27 sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext; variable
45 Next = CurrentContext->get(); in CrashRecoveryContextImpl()
46 CurrentContext->set(this); in CrashRecoveryContextImpl()
50 CurrentContext->set(Next); in ~CrashRecoveryContextImpl()
68 CurrentContext->set(Next); in HandleCrash()
132 const CrashRecoveryContextImpl *CRCI = CurrentContext->get(); in GetCurrent()
202 const CrashRecoveryContextImpl *CRCI = CurrentContext->get(); in ExceptionFilter()
279 const CrashRecoveryContextImpl *CRCI = CurrentContext->get(); in ExceptionHandler()
353 const CrashRecoveryContextImpl *CRCI = CurrentContext->get(); in CrashRecoverySignalHandler()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp72 const auto *CurrentContext = llvm::cast<DeclContext>(InnerNs); in getOuterNamespace() local
77 while (CurrentContext && !llvm::isa<NamespaceDecl>(CurrentContext)) in getOuterNamespace()
78 CurrentContext = CurrentContext->getParent(); in getOuterNamespace()
79 if (!CurrentContext) in getOuterNamespace()
81 CurrentNs = llvm::cast<NamespaceDecl>(CurrentContext); in getOuterNamespace()
85 CurrentContext = CurrentContext->getParent(); in getOuterNamespace()
/llvm-project-15.0.7/polly/tools/GPURuntime/
H A DGPUJIT.c363 static __thread PollyGPUContext *CurrentContext = NULL; in initContextCL() local
365 if (CurrentContext) in initContextCL()
366 return CurrentContext; in initContextCL()
425 CurrentContext = Context; in initContextCL()
1171 static __thread PollyGPUContext *CurrentContext = NULL; in initContextCUDA() local
1173 if (CurrentContext) in initContextCUDA()
1174 return CurrentContext; in initContextCUDA()
1241 CurrentContext = Context; in initContextCUDA()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp537 const StackFrameContext *CurrentContext = LCtx->getStackFrame(); in isLive() local
539 if (VarContext == CurrentContext) { in isLive()
573 return VarContext->isParentOf(CurrentContext); in isLive()