Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCUDA.cpp98 CUDAFunctionTarget CalleeTarget = IdentifyCUDATarget(Callee); in IdentifyCUDAPreference() local
104 if (CallerTarget == CFT_InvalidTarget || CalleeTarget == CFT_InvalidTarget) in IdentifyCUDAPreference()
109 if (CalleeTarget == CFT_Global && in IdentifyCUDAPreference()
115 if (CalleeTarget == CFT_HostDevice) 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()
127 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
129 (CalleeTarget == CFT_Host || CalleeTarget == CFT_Global))) in IdentifyCUDAPreference()
140 if ((CallerTarget == CFT_Host && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
[all …]
DSemaOverload.cpp9613 CalleeTarget = S.IdentifyCUDATarget(Callee); in DiagnoseBadTarget() local
9620 << (unsigned)FnKind << CalleeTarget << CallerTarget; in DiagnoseBadTarget()