Lines Matching refs:FunctionDecl
250 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) {
251 assert(FD && "Invalid FunctionDecl!");
1597 if (isa<FunctionDecl>(RD->getDeclContext()))
1897 else if (const auto *FD = dyn_cast<FunctionDecl>(D))
1970 CGDebugInfo::CollectFunctionTemplateParams(const FunctionDecl *FD,
1973 FunctionDecl::TK_FunctionTemplateSpecialization) {
2271 if (FunctionDecl *Tmpl = MD->getInstantiatedFromMemberFunction())
3429 const auto *FD = cast<FunctionDecl>(GD.getDecl());
3483 if (VD->getDeclContext() && !isa<FunctionDecl>(VD->getDeclContext()) &&
3529 auto *FD = cast<FunctionDecl>(GD.getDecl());
3557 const FunctionDecl *CanonDecl = FD->getCanonicalDecl();
3614 if (const auto *FD = dyn_cast<FunctionDecl>(D))
3626 const auto *FD = dyn_cast<FunctionDecl>(D);
3749 if (const auto *FD = dyn_cast<FunctionDecl>(D))
3786 } else if (const auto *FD = dyn_cast<FunctionDecl>(D)) {
3857 if (HasDecl && isa<FunctionDecl>(D))
3891 if (isa<FunctionDecl>(D)) {
3929 const FunctionDecl *CalleeDecl) {
3958 const auto *FD = cast<FunctionDecl>(GD.getDecl());
4716 if (isa<FunctionDecl>(VD->getDeclContext()))
4822 if (const auto *FD = dyn_cast<FunctionDecl>(USD.getUnderlyingDecl()))