Lines Matching refs:FunctionDecl

29   FunctionDecl *ConfigDecl = Context.getcudaConfigureCallDecl();  in ActOnCUDAExecConfigExpr()
44 Sema::CUDAFunctionTarget Sema::IdentifyCUDATarget(const FunctionDecl *D) { in IdentifyCUDATarget()
95 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller, in IdentifyCUDAPreference()
96 const FunctionDecl *Callee) { in IdentifyCUDAPreference()
150 Sema &S, const FunctionDecl *Caller, llvm::SmallVectorImpl<T> &Matches, in EraseUnwantedCUDAMatchesImpl()
151 std::function<const FunctionDecl *(const T &)> FetchDecl) { in EraseUnwantedCUDAMatchesImpl()
172 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, in EraseUnwantedCUDAMatches()
173 SmallVectorImpl<FunctionDecl *> &Matches){ in EraseUnwantedCUDAMatches()
174 EraseUnwantedCUDAMatchesImpl<FunctionDecl *>( in EraseUnwantedCUDAMatches()
175 *this, Caller, Matches, [](const FunctionDecl *item) { return item; }); in EraseUnwantedCUDAMatches()
178 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller, in EraseUnwantedCUDAMatches()
182 return dyn_cast<FunctionDecl>(item.getDecl()); in EraseUnwantedCUDAMatches()
187 const FunctionDecl *Caller, in EraseUnwantedCUDAMatches()
188 SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches){ in EraseUnwantedCUDAMatches()
189 EraseUnwantedCUDAMatchesImpl<std::pair<DeclAccessPair, FunctionDecl *>>( in EraseUnwantedCUDAMatches()
191 [](const std::pair<DeclAccessPair, FunctionDecl *> &item) { in EraseUnwantedCUDAMatches()
192 return dyn_cast<FunctionDecl>(item.second); in EraseUnwantedCUDAMatches()
444 void Sema::maybeAddCUDAHostDeviceAttrs(Scope *S, FunctionDecl *NewD, in maybeAddCUDAHostDeviceAttrs()
457 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()