Lines Matching refs:Sema
26 ExprResult Sema::ActOnCUDAExecConfigExpr(Scope *S, SourceLocation LLLLoc, in ActOnCUDAExecConfigExpr()
44 Sema::CUDAFunctionTarget Sema::IdentifyCUDATarget(const FunctionDecl *D) { in IdentifyCUDATarget()
94 Sema::CUDAFunctionPreference
95 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller, in IdentifyCUDAPreference()
100 (Caller != nullptr) ? IdentifyCUDATarget(Caller) : Sema::CFT_Host; in IdentifyCUDAPreference()
150 Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches, in EraseUnwantedCUDAMatchesImpl()
161 Sema::CUDAFunctionPreference BestCFP = GetCFP(*std::max_element( in EraseUnwantedCUDAMatchesImpl()
172 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, in EraseUnwantedCUDAMatches()
178 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, in EraseUnwantedCUDAMatches()
186 void Sema::EraseUnwantedCUDAMatches( in EraseUnwantedCUDAMatches()
205 resolveCalleeCUDATargetConflict(Sema::CUDAFunctionTarget Target1, in resolveCalleeCUDATargetConflict()
206 Sema::CUDAFunctionTarget Target2, in resolveCalleeCUDATargetConflict()
207 Sema::CUDAFunctionTarget *ResolvedTarget) { in resolveCalleeCUDATargetConflict()
209 assert(Target1 != Sema::CFT_Global); in resolveCalleeCUDATargetConflict()
210 assert(Target2 != Sema::CFT_Global); in resolveCalleeCUDATargetConflict()
212 if (Target1 == Sema::CFT_HostDevice) { in resolveCalleeCUDATargetConflict()
214 } else if (Target2 == Sema::CFT_HostDevice) { in resolveCalleeCUDATargetConflict()
225 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember()
259 Sema::SpecialMemberOverloadResult *SMOR = in inferCUDATargetForImplicitSpecialMember()
303 Sema::SpecialMemberOverloadResult *SMOR = in inferCUDATargetForImplicitSpecialMember()
355 bool Sema::isEmptyCudaConstructor(SourceLocation Loc, CXXConstructorDecl *CD) { in isEmptyCudaConstructor()
389 bool Sema::isEmptyCudaDestructor(SourceLocation Loc, CXXDestructorDecl *DD) { in isEmptyCudaDestructor()
444 void Sema::maybeAddCUDAHostDeviceAttrs(Scope *S, FunctionDecl *NewD, in maybeAddCUDAHostDeviceAttrs()