Searched refs:CurFD (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 3095 FD, [this, &GD, &Options](const FunctionDecl *CurFD) { in emitMultiVersionFunctions() argument 3097 (CurFD->isDefined() ? CurFD->getDefinition() : CurFD)}; in emitMultiVersionFunctions() 3101 if (CurFD->isDefined()) { in emitMultiVersionFunctions() 3114 const auto *TA = CurFD->getAttr<TargetAttr>(); in emitMultiVersionFunctions()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDecl.cpp | 7199 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator() local 7200 if (CurFD && isFunctionDefinitionDiscarded(*this, CurFD)) { in ActOnVariableDeclarator() 7203 MaybeSuggestAddingStaticToDecl(CurFD); in ActOnVariableDeclarator() 10441 FunctionDecl *CurFD = ND->getAsFunction(); in CheckMultiVersionAdditionalDecl() local 10442 if (!CurFD) in CheckMultiVersionAdditionalDecl() 10444 if (S.IsOverload(NewFD, CurFD, UseMemberUsingDeclRules)) in CheckMultiVersionAdditionalDecl() 10448 const auto *CurTA = CurFD->getAttr<TargetAttr>(); in CheckMultiVersionAdditionalDecl() 10459 S.Diag(CurFD->getLocation(), diag::note_previous_declaration); in CheckMultiVersionAdditionalDecl() 10464 const auto *CurCPUSpec = CurFD->getAttr<CPUSpecificAttr>(); in CheckMultiVersionAdditionalDecl() 10465 const auto *CurCPUDisp = CurFD->getAttr<CPUDispatchAttr>(); in CheckMultiVersionAdditionalDecl() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 6092 Function, [this, Inst, DefinitionRequired](FunctionDecl *CurFD) { in PerformPendingInstantiations() argument 6093 InstantiateFunctionDefinition(/*FIXME:*/ Inst.second, CurFD, true, in PerformPendingInstantiations() 6095 if (CurFD->isDefined()) in PerformPendingInstantiations() 6096 CurFD->setInstantiationIsPending(false); in PerformPendingInstantiations()
|
D | SemaExprCXX.cpp | 7156 FunctionDecl *CurFD = dyn_cast<FunctionDecl>(CurContext); in ActOnStartCXXMemberReference() local 7178 (FirstIteration && CurFD && CurFD->isFunctionTemplateSpecialization()) in ActOnStartCXXMemberReference()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTContext.cpp | 10797 FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl(); in forEachMultiversionedFunctionVersion() local 10798 if (CurFD && hasSameType(CurFD->getType(), FD->getType()) && in forEachMultiversionedFunctionVersion() 10799 std::end(SeenDecls) == llvm::find(SeenDecls, CurFD)) { in forEachMultiversionedFunctionVersion() 10800 SeenDecls.insert(CurFD); in forEachMultiversionedFunctionVersion() 10801 Pred(CurFD); in forEachMultiversionedFunctionVersion()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 5949 FunctionDecl *CurFD = dyn_cast<FunctionDecl>(CurContext); in ActOnStartCXXMemberReference() local 5971 (FirstIteration && CurFD && CurFD->isFunctionTemplateSpecialization()) in ActOnStartCXXMemberReference()
|
D | SemaDecl.cpp | 6246 FunctionDecl *CurFD = getCurFunctionDecl(); in ActOnVariableDeclarator() local 6247 if (CurFD && isFunctionDefinitionDiscarded(*this, CurFD)) { in ActOnVariableDeclarator() 6250 MaybeSuggestAddingStaticToDecl(CurFD); in ActOnVariableDeclarator()
|