/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | InferAddressSpaces.cpp | 377 Function *NewDecl = in rewriteIntrinsicOperands() local 380 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands() 389 Function *NewDecl = in rewriteIntrinsicOperands() local 392 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands() 398 Function *NewDecl = in rewriteIntrinsicOperands() local 401 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 703 DeclaratorDecl *NewDecl); 705 TagDecl *NewDecl);
|
H A D | Sema.h | 12041 void CheckConceptRedefinition(ConceptDecl *NewDecl, LookupResult &Previous, 13616 Decl *NewDecl; member 13620 : TmplAttr(A), Scope(S), NewDecl(D) {} in LateInstantiatedAttribute()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 8439 Decl *NewDecl = HandleDeclarator(S, D, TemplateParameterLists); in ActOnTemplateDeclarator() local 8440 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator() 8441 return NewDecl; in ActOnTemplateDeclarator() 8486 ConceptDecl *NewDecl = in ActOnConceptDefinition() local 8489 if (NewDecl->hasAssociatedConstraints()) { in ActOnConceptDefinition() 8493 NewDecl->setInvalidDecl(); in ActOnConceptDefinition() 8497 DeclarationNameInfo NameInfo(NewDecl->getDeclName(), NameLoc); in ActOnConceptDefinition() 8504 CheckConceptRedefinition(NewDecl, Previous, AddToScope); in ActOnConceptDefinition() 8506 ActOnDocumentableDecl(NewDecl); in ActOnConceptDefinition() 8508 PushOnScopeChains(NewDecl, S); in ActOnConceptDefinition() [all …]
|
H A D | SemaTemplateInstantiateDecl.cpp | 54 static bool SubstQualifier(Sema &SemaRef, const DeclT *OldDecl, DeclT *NewDecl, in SubstQualifier() argument 59 assert((NewDecl->getFriendObjectKind() || in SubstQualifier() 64 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier() 65 ? NewDecl->getLexicalDeclContext() in SubstQualifier() 75 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier() 80 DeclaratorDecl *NewDecl) { in SubstQualifier() argument 81 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 85 TagDecl *NewDecl) { in SubstQualifier() argument 86 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 5097 CXXRecordDecl *NewDecl; in InstantiateFunctionDefinition() member [all …]
|
H A D | SemaDecl.cpp | 6950 NamedDecl *NewDecl, in checkDLLAttributeRedeclaration() argument 6953 if (OldDecl->isInvalidDecl() || NewDecl->isInvalidDecl()) in checkDLLAttributeRedeclaration() 6963 if (TemplateDecl *NewTD = dyn_cast<TemplateDecl>(NewDecl)) { in checkDLLAttributeRedeclaration() 6964 NewDecl = NewTD->getTemplatedDecl(); in checkDLLAttributeRedeclaration() 6968 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration() 6973 const DLLImportAttr *NewImportAttr = NewDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 6974 const DLLExportAttr *NewExportAttr = NewDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() 7008 S.Diag(NewDecl->getLocation(), DiagID) in checkDLLAttributeRedeclaration() 7009 << NewDecl in checkDLLAttributeRedeclaration() 7013 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration() [all …]
|
H A D | SemaTemplateInstantiate.cpp | 3584 auto *ND = cast<NamedDecl>(I->NewDecl); in InstantiateClass() 3592 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
|
H A D | SemaDeclCXX.cpp | 13490 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local 13494 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration() 13496 NewDecl->setAccess(AS); in ActOnAliasDeclaration() 13499 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration() 13501 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() 13502 CheckRedeclarationInModule(NewDecl, OldDecl); in ActOnAliasDeclaration() 13505 NewND = NewDecl; in ActOnAliasDeclaration()
|
H A D | SemaOverload.cpp | 1299 NamedDecl *NewDecl = New; in IsOverloadOrOverrideImpl() local 1345 NewDecl = NewTemplate; in IsOverloadOrOverrideImpl() 1512 !SemaRef.AreConstraintExpressionsEqual(OldDecl, OldRC, NewDecl, NewRC)) in IsOverloadOrOverrideImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInstCombineIntrinsic.cpp | 493 Function *NewDecl = Intrinsic::getDeclaration( in instCombineIntrinsic() local 499 II.setCalledFunction(NewDecl); in instCombineIntrinsic() 518 Function *NewDecl = Intrinsic::getDeclaration( in instCombineIntrinsic() local 520 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
|
H A D | AMDGPUTargetTransformInfo.cpp | 1094 Function *NewDecl = Intrinsic::getDeclaration(M, II->getIntrinsicID(), in rewriteIntrinsicWithAddressSpace() local 1097 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 758 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local 767 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter() 771 return NewDecl; in ParseTypeParameter()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARCOpts.cpp | 643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local 644 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall() 751 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local 752 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 1845 Function *NewDecl = [&] { in remangleIntrinsicFunction() local 1860 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction() 1861 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction() 1863 return NewDecl; in remangleIntrinsicFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 983 auto *NewDecl = DISubprogram::get( in create() local 992 SP->replaceDeclaration(NewDecl); in create()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 1176 RecordDecl *NewDecl; in buildImplicitRecord() local 1178 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord() 1181 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord() 1183 NewDecl->setImplicit(); in buildImplicitRecord() 1184 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord() 1186 return NewDecl; in buildImplicitRecord() 1192 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local 1195 NewDecl->setImplicit(); in buildImplicitTypedef() 1196 return NewDecl; in buildImplicitTypedef()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 1557 auto *NewDecl = Intrinsic::getDeclaration(Mod, IID, {II.getType()}); in instCombineSVEAllActive() local 1558 II.setCalledFunction(NewDecl); in instCombineSVEAllActive()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 8905 auto DeviceAddrCB = [&](unsigned int I, llvm::Value *NewDecl) { in emitOffloadingArrays() argument 8907 Info.CaptureDeviceAddrMap.try_emplace(DevVD, NewDecl); in emitOffloadingArrays() 10310 auto DeviceAddrCB = [&](unsigned int I, llvm::Value *NewDecl) { in emitTargetDataCalls() argument 10312 Info.CaptureDeviceAddrMap.try_emplace(DevVD, NewDecl); in emitTargetDataCalls()
|