Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp239 CUDAFunctionTarget CallerTarget = IdentifyTarget(Caller); in IdentifyPreference() local
244 if (CallerTarget == CUDAFunctionTarget::InvalidTarget || in IdentifyPreference()
251 (CallerTarget == CUDAFunctionTarget::Global || in IdentifyPreference()
252 CallerTarget == CUDAFunctionTarget::Device)) in IdentifyPreference()
260 if (CalleeTarget == CallerTarget || in IdentifyPreference()
261 (CallerTarget == CUDAFunctionTarget::Host && in IdentifyPreference()
263 (CallerTarget == CUDAFunctionTarget::Global && in IdentifyPreference()
271 (CallerTarget == CUDAFunctionTarget::Global || in IdentifyPreference()
272 CallerTarget == CUDAFunctionTarget::Device || in IdentifyPreference()
273 CallerTarget == CUDAFunctionTarget::HostDevice) && in IdentifyPreference()
[all …]
H A DSemaOverload.cpp11768 CUDAFunctionTarget CallerTarget = S.CUDA().IdentifyTarget(Caller), in DiagnoseBadTarget() local
11779 << llvm::to_underlying(CalleeTarget) << llvm::to_underlying(CallerTarget); in DiagnoseBadTarget()