| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | VPIntrinsicTest.cpp | 321 auto *NewDecl = VPIntrinsic::getDeclarationForParams( in TEST_F() local 323 ASSERT_TRUE(NewDecl); in TEST_F() 326 ASSERT_EQ(F.getIntrinsicID(), NewDecl->getIntrinsicID()); in TEST_F() 328 NewDecl->getFunctionType()->param_begin(); in TEST_F() 330 NewDecl->getFunctionType()->param_end(); in TEST_F()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Template.h | 634 DeclaratorDecl *NewDecl); 636 TagDecl *NewDecl);
|
| H A D | Sema.h | 8271 void CheckConceptRedefinition(ConceptDecl *NewDecl, LookupResult &Previous, 9731 Decl *NewDecl; member 9735 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 8668 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 8669 return NewDecl; in ActOnTemplateDeclarator() 8701 if (NewDecl->hasAssociatedConstraints()) { in ActOnConceptDefinition() 8705 NewDecl->setInvalidDecl(); in ActOnConceptDefinition() 8718 ActOnDocumentableDecl(NewDecl); in ActOnConceptDefinition() 8720 PushOnScopeChains(NewDecl, S); in ActOnConceptDefinition() 8721 return NewDecl; in ActOnConceptDefinition() 8735 << NewDecl->getDeclName(); in CheckConceptRedefinition() 8744 << NewDecl->getDeclName(); in CheckConceptRedefinition() 8750 IsRedefinitionInModule(NewDecl, OldConcept)) { in CheckConceptRedefinition() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 52 assert((NewDecl->getFriendObjectKind() || in SubstQualifier() 57 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier() 58 ? NewDecl->getLexicalDeclContext() in SubstQualifier() 68 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier() 73 DeclaratorDecl *NewDecl) { in SubstQualifier() argument 74 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 78 TagDecl *NewDecl) { in SubstQualifier() argument 79 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 4992 CXXRecordDecl *NewDecl; in InstantiateFunctionDefinition() member 4996 : TreeTransform(SemaRef), OldDecl(O), NewDecl(N) {} in InstantiateFunctionDefinition() [all …]
|
| H A D | SemaDecl.cpp | 6943 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 6984 << NewDecl in checkDLLAttributeRedeclaration() 6988 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() 7016 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 7018 << NewDecl; in checkDLLAttributeRedeclaration() 7021 NewDecl->addAttr( in checkDLLAttributeRedeclaration() 7024 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 7026 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration() 7037 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration() 7039 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration() [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 2836 auto *ND = cast<NamedDecl>(I->NewDecl); in InstantiateClass() 2844 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
| H A D | SemaDeclCXX.cpp | 13075 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 13079 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 13081 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 13084 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 13086 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 13087 CheckRedeclarationInModule(NewDecl, OldDecl); in ActOnAliasDeclaration() 13090 NewND = NewDecl; in ActOnAliasDeclaration()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 851 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local 860 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter() 864 return NewDecl; in ParseTypeParameter()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARCOpts.cpp | 658 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 659 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 767 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 768 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 1799 Function *NewDecl = [&] { in remangleIntrinsicFunction() local 1814 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction() 1815 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction() 1817 return NewDecl; in remangleIntrinsicFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.cpp | 984 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local 987 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 367 Function *NewDecl = in rewriteIntrinsicOperands() local 370 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1238 RecordDecl *NewDecl; in buildImplicitRecord() local 1240 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 1243 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 1245 NewDecl->setImplicit(); in buildImplicitRecord() 1246 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 1248 return NewDecl; in buildImplicitRecord() 1254 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 1257 NewDecl->setImplicit(); in buildImplicitTypedef() 1258 return NewDecl; in buildImplicitTypedef()
|