Home
last modified time | relevance | path

Searched refs:NewDecl (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp377 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-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h703 DeclaratorDecl *NewDecl);
705 TagDecl *NewDecl);
H A DSema.h8794 void CheckConceptRedefinition(ConceptDecl *NewDecl, LookupResult &Previous,
10371 Decl *NewDecl; member
10375 : TmplAttr(A), Scope(S), NewDecl(D) in LateInstantiatedAttribute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp1053 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local
1056 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
1115 Function *NewDecl = Intrinsic::getDeclaration(M, II->getIntrinsicID(), in rewriteIntrinsicWithAddressSpace() local
1118 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
H A DAMDGPUInstCombineIntrinsic.cpp497 Function *NewDecl = Intrinsic::getDeclaration( in instCombineIntrinsic() local
503 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
522 Function *NewDecl = Intrinsic::getDeclaration( in instCombineIntrinsic() local
524 II.setCalledFunction(NewDecl); in instCombineIntrinsic()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp9206 ActOnDocumentableDecl(NewDecl); in ActOnTemplateDeclarator()
9207 return NewDecl; in ActOnTemplateDeclarator()
9252 ConceptDecl *NewDecl = in ActOnConceptDefinition() local
9255 if (NewDecl->hasAssociatedConstraints()) { in ActOnConceptDefinition()
9259 NewDecl->setInvalidDecl(); in ActOnConceptDefinition()
9272 ActOnDocumentableDecl(NewDecl); in ActOnConceptDefinition()
9274 PushOnScopeChains(NewDecl, S); in ActOnConceptDefinition()
9275 return NewDecl; in ActOnConceptDefinition()
9289 << NewDecl->getDeclName(); in CheckConceptRedefinition()
9298 << NewDecl->getDeclName(); in CheckConceptRedefinition()
[all …]
H A DSemaTemplateInstantiateDecl.cpp54 assert((NewDecl->getFriendObjectKind() || in SubstQualifier()
59 const_cast<DeclContext *>(NewDecl->getFriendObjectKind() in SubstQualifier()
60 ? NewDecl->getLexicalDeclContext() in SubstQualifier()
70 NewDecl->setQualifierInfo(NewQualifierLoc); in SubstQualifier()
75 DeclaratorDecl *NewDecl) { in SubstQualifier() argument
76 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
80 TagDecl *NewDecl) { in SubstQualifier() argument
81 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier()
5097 CXXRecordDecl *NewDecl; in InstantiateFunctionDefinition() member
5101 : TreeTransform(SemaRef), OldDecl(O), NewDecl(N) {} in InstantiateFunctionDefinition()
[all …]
H A DSemaDecl.cpp7166 if (!OldDecl || !NewDecl) in checkDLLAttributeRedeclaration()
7207 << NewDecl in checkDLLAttributeRedeclaration()
7211 NewDecl->setInvalidDecl(); in checkDLLAttributeRedeclaration()
7241 NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7246 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7248 << NewDecl; in checkDLLAttributeRedeclaration()
7258 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7260 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
7271 S.Diag(NewDecl->getLocation(), in checkDLLAttributeRedeclaration()
7273 << NewDecl << OldImportAttr; in checkDLLAttributeRedeclaration()
[all …]
H A DSemaTemplateInstantiate.cpp3415 auto *ND = cast<NamedDecl>(I->NewDecl); in InstantiateClass()
3423 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
H A DSemaDeclCXX.cpp13623 TypeAliasTemplateDecl *NewDecl = in ActOnAliasDeclaration() local
13627 NewTD->setDescribedAliasTemplate(NewDecl); in ActOnAliasDeclaration()
13629 NewDecl->setAccess(AS); in ActOnAliasDeclaration()
13632 NewDecl->setInvalidDecl(); in ActOnAliasDeclaration()
13634 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration()
13635 CheckRedeclarationInModule(NewDecl, OldDecl); in ActOnAliasDeclaration()
13638 NewND = NewDecl; in ActOnAliasDeclaration()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseTemplate.cpp871 NamedDecl *NewDecl = Actions.ActOnTypeParameter(getCurScope(), in ParseTypeParameter() local
880 cast<TemplateTypeParmDecl>(NewDecl), in ParseTypeParameter()
884 return NewDecl; in ParseTypeParameter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local
644 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()
750 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local
751 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1749 Function *NewDecl = [&] { in remangleIntrinsicFunction() local
1764 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction()
1765 assert(NewDecl->getFunctionType() == F->getFunctionType() && in remangleIntrinsicFunction()
1767 return NewDecl; in remangleIntrinsicFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp998 auto *NewDecl = DISubprogram::get( in create() local
1007 SP->replaceDeclaration(NewDecl); in create()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1146 RecordDecl *NewDecl; in buildImplicitRecord() local
1148 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord()
1151 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord()
1153 NewDecl->setImplicit(); in buildImplicitRecord()
1154 NewDecl->addAttr(TypeVisibilityAttr::CreateImplicit( in buildImplicitRecord()
1156 return NewDecl; in buildImplicitRecord()
1162 TypedefDecl *NewDecl = TypedefDecl::Create( in buildImplicitTypedef() local
1165 NewDecl->setImplicit(); in buildImplicitTypedef()
1166 return NewDecl; in buildImplicitTypedef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1412 auto *NewDecl = Intrinsic::getDeclaration(Mod, IID, {II.getType()}); in instCombineSVEAllActive() local
1413 II.setCalledFunction(NewDecl); in instCombineSVEAllActive()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp8845 auto DeviceAddrCB = [&](unsigned int I, llvm::Value *NewDecl) { in emitOffloadingArrays() argument
8847 Info.CaptureDeviceAddrMap.try_emplace(DevVD, NewDecl); in emitOffloadingArrays()
10285 auto DeviceAddrCB = [&](unsigned int I, llvm::Value *NewDecl) { in emitTargetDataCalls() argument
10287 Info.CaptureDeviceAddrMap.try_emplace(DevVD, NewDecl); in emitTargetDataCalls()