Home
last modified time | relevance | path

Searched refs:NewMD (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp888 if (std::optional<Metadata *> NewMD = getVM().getMappedMD(MD)) in mapSimpleMetadata() local
889 return *NewMD; in mapSimpleMetadata()
922 if (std::optional<Metadata *> NewMD = mapSimpleMetadata(MD)) in mapMetadata() local
923 return *NewMD; in mapMetadata()
H A DCloneFunction.cpp1202 if (auto *NewMD = ClonedScopes.lookup(MD)) { in adaptNoAliasScopes() local
1203 NewScopeList.push_back(NewMD); in adaptNoAliasScopes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp439 else if (Metadata *NewMD = Updater(MD)) in updateLoopMetadataDebugLocationsImpl() local
440 MDs.push_back(NewMD); in updateLoopMetadataDebugLocationsImpl()
537 MDNode *NewMD = N->isDistinct() ? MDNode::getDistinct(N->getContext(), Args) in stripLoopMDLoc() local
540 NewMD->replaceOperandWith(0, NewMD); in stripLoopMDLoc()
541 return NewMD; in stripLoopMDLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1552 auto *NewMD = dyn_cast<CXXMethodDecl>(New); in transformedLocalDecl() local
1553 if (NewMD && isLambdaCallOperator(NewMD)) { in transformedLocalDecl()
1555 if (auto *NewTD = NewMD->getDescribedFunctionTemplate()) in transformedLocalDecl()
1559 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
H A DSemaTemplate.cpp9314 if (auto *NewMD = dyn_cast<CXXMethodDecl>(FD); in CheckFunctionTemplateSpecialization() local
9315 !getLangOpts().CPlusPlus14 && NewMD && NewMD->isConstexpr() && in CheckFunctionTemplateSpecialization()
9316 !isa<CXXConstructorDecl, CXXDestructorDecl>(NewMD)) { in CheckFunctionTemplateSpecialization()
H A DSemaDecl.cpp9270 CXXMethodDecl *NewMD = dyn_cast<CXXMethodDecl>(NewFD); in DiagnoseInvalidRedeclaration() local
9271 if (NewMD && DiagMsg == diag::err_member_decl_does_not_match) { in DiagnoseInvalidRedeclaration()
9272 CXXRecordDecl *RD = NewMD->getParent(); in DiagnoseInvalidRedeclaration()
9277 bool NewFDisConst = NewMD && NewMD->isConst(); in DiagnoseInvalidRedeclaration()