Lines Matching refs:FunctionDecl
563 void CodeGenFunction::EmitOpenCLKernelMetadata(const FunctionDecl *FD,
616 if (auto *FD = dyn_cast_or_null<FunctionDecl>(F))
665 const FunctionDecl *FD) {
685 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(D))
769 if (const auto *FD = dyn_cast<FunctionDecl>(D))
844 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D))
851 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
894 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
901 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) {
909 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D))
939 if (auto *FD = dyn_cast_or_null<FunctionDecl>(D))
1192 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
1234 shouldUseUndefinedBehaviorReturnOptimization(const FunctionDecl *FD,
1248 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
1276 if (const FunctionDecl *SpecDecl = FD->getTemplateInstantiationPattern())
1644 auto *FD = dyn_cast_or_null<FunctionDecl>(Call->getCalleeDecl());
2253 CodeGenModule &CGM, const FunctionDecl *FD,
2283 const FunctionDecl *TargetDecl) {
2290 const FunctionDecl *TargetDecl) {
2297 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CurCodeDecl);