Lines Matching refs:CalleeTarget
98 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()
141 (CallerTarget == CFT_Device && CalleeTarget == CFT_Host) || in IdentifyCUDAPreference()
142 (CallerTarget == CFT_Global && CalleeTarget == CFT_Host)) in IdentifyCUDAPreference()