Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCUDA.cpp99 CUDAFunctionTarget CallerTarget = in IdentifyCUDAPreference() local
104 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in IdentifyCUDAPreference()
110 (CallerTarget == CFT_Global || CallerTarget == CFT_Device || in IdentifyCUDAPreference()
111 (CallerTarget == CFT_HostDevice && getLangOpts().CUDAIsDevice))) in IdentifyCUDAPreference()
119 if (CalleeTarget == CallerTarget || in IdentifyCUDAPreference()
120 (CallerTarget == CFT_Host && CalleeTarget == CFT_Global) || in IdentifyCUDAPreference()
121 (CallerTarget == CFT_Global && CalleeTarget == CFT_Device)) in IdentifyCUDAPreference()
125 if (CallerTarget == CFT_HostDevice) { in IdentifyCUDAPreference()
140 if ((CallerTarget == CFT_Host && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
141 (CallerTarget == CFT_Device && CalleeTarget == CFT_Host) || in IdentifyCUDAPreference()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp167 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller); in IdentifyCUDAPreference() local
172 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in IdentifyCUDAPreference()
178 (CallerTarget == CFT_Global || CallerTarget == CFT_Device)) in IdentifyCUDAPreference()
186 if (CalleeTarget == CallerTarget || in IdentifyCUDAPreference()
187 (CallerTarget == CFT_Host && CalleeTarget == CFT_Global) || in IdentifyCUDAPreference()
188 (CallerTarget == CFT_Global && CalleeTarget == CFT_Device)) in IdentifyCUDAPreference()
192 if (CallerTarget == CFT_HostDevice) { in IdentifyCUDAPreference()
207 if ((CallerTarget == CFT_Host && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
208 (CallerTarget == CFT_Device && CalleeTarget == CFT_Host) || in IdentifyCUDAPreference()
209 (CallerTarget == CFT_Global && CalleeTarget == CFT_Host)) in IdentifyCUDAPreference()
DSemaOverload.cpp10998 Sema::CUDAFunctionTarget CallerTarget = S.IdentifyCUDATarget(Caller), in DiagnoseBadTarget() local
11009 << CalleeTarget << CallerTarget; in DiagnoseBadTarget()