Home
last modified time | relevance | path

Searched refs:IdentifyPreference (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCUDA.h168 CUDAFunctionPreference IdentifyPreference(const FunctionDecl *Caller,
177 return IdentifyPreference(Caller, Callee) != CFP_Never; in IsAllowedCall()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp227 SemaCUDA::IdentifyPreference(const FunctionDecl *Caller, in IdentifyPreference() function in SemaCUDA
330 return IdentifyPreference(Caller, Match.second); in EraseUnwantedMatches()
902 switch (IdentifyPreference(Caller, Callee)) { in CheckCall()
H A DSemaOverload.cpp10284 auto P1 = S.CUDA().IdentifyPreference(Caller, Cand1.Function); in isBetterOverloadCandidate()
10285 auto P2 = S.CUDA().IdentifyPreference(Caller, Cand2.Function); in isBetterOverloadCandidate()
10566 return S.CUDA().IdentifyPreference(Caller, Cand1.Function) > in isBetterOverloadCandidate()
10567 S.CUDA().IdentifyPreference(Caller, Cand2.Function); in isBetterOverloadCandidate()
10699 S.CUDA().IdentifyPreference(Caller, Cand->Function) == in BestViableFunction()
10706 S.CUDA().IdentifyPreference(Caller, Cand->Function) == in BestViableFunction()
13201 return static_cast<int>(CUDA().IdentifyPreference(Caller, FD1)) - in resolveAddressOfSingleOverloadCandidate()
13202 static_cast<int>(CUDA().IdentifyPreference(Caller, FD2)); in resolveAddressOfSingleOverloadCandidate()
H A DSemaExprCXX.cpp1698 auto CallPreference = CUDA().IdentifyPreference(Caller, Method); in isUsualDeallocationFunction()
1708 if (CUDA().IdentifyPreference(Caller, FD) > SemaCUDA::CFP_WrongSide) in isUsualDeallocationFunction()
1727 return CUDA().IdentifyPreference(Caller, FD) >= SemaCUDA::CFP_HostDevice; in isUsualDeallocationFunction()
1790 CUDAPref = S.CUDA().IdentifyPreference( in UsualDeallocFnInfo()