Home
last modified time | relevance | path

Searched refs:CurCUDATargetCtx (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCUDA.h131 } CurCUDATargetCtx; variable
138 ~CUDATargetContextRAII() { S.CurCUDATargetCtx = SavedCtx; } in ~CUDATargetContextRAII()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp121 SavedCtx = S.CurCUDATargetCtx; in CUDATargetContextRAII()
131 S.CurCUDATargetCtx = {Target, K, VD}; in CUDATargetContextRAII()
140 return CurCUDATargetCtx.Target; in IdentifyTarget()
234 if (Caller == nullptr && CurCUDATargetCtx.Kind == CTCK_InitGlobalVar && in IdentifyPreference()
235 CurCUDATargetCtx.Target == CUDAFunctionTarget::Device && in IdentifyPreference()