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 == CallerTarget || in IdentifyCUDAPreference()
116 (CallerTarget == CFT_Host && CalleeTarget == CFT_Global) || in IdentifyCUDAPreference()
117 (CallerTarget == CFT_Global && CalleeTarget == CFT_Device)) in IdentifyCUDAPreference()
121 if (CalleeTarget == CFT_HostDevice) in IdentifyCUDAPreference()
135 return CalleeTarget == CFT_Device ? CFP_Fallback : QuestionableResult; in IdentifyCUDAPreference()
137 return (CalleeTarget == CFT_Host || CalleeTarget == CFT_Global) in IdentifyCUDAPreference()
143 if ((CallerTarget == CFT_Host && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
[all …]
DSemaOverload.cpp9467 CalleeTarget = S.IdentifyCUDATarget(Callee); in DiagnoseBadTarget() local
9473 << (unsigned)FnKind << CalleeTarget << CallerTarget; in DiagnoseBadTarget()