Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DValueMapper.cpp75 MDNode *NewMD = MDNode::get(V->getContext(), Elts); in MapValue() local
76 Dummy->replaceAllUsesWith(NewMD); in MapValue()
77 VM[V] = NewMD; in MapValue()
79 return NewMD; in MapValue()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp798 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata() local
804 NewMD = MDNode::concatenate(NewMD, CSM); in CloneAliasScopeMetadata()
805 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata()
813 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata() local
819 NewMD = MDNode::concatenate(NewMD, CSM); in CloneAliasScopeMetadata()
820 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata()
DValueMapper.cpp779 if (Optional<Metadata *> NewMD = getVM().getMappedMD(MD)) in mapSimpleMetadata() local
780 return *NewMD; in mapSimpleMetadata()
810 if (Optional<Metadata *> NewMD = mapSimpleMetadata(MD)) in mapMetadata() local
811 return *NewMD; in mapMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp878 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata() local
884 NewMD = MDNode::concatenate(NewMD, CSM); in CloneAliasScopeMetadata()
885 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata()
893 MDNode *NewMD = MDMap[M]; in CloneAliasScopeMetadata() local
899 NewMD = MDNode::concatenate(NewMD, CSM); in CloneAliasScopeMetadata()
900 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata()
DValueMapper.cpp794 if (Optional<Metadata *> NewMD = getVM().getMappedMD(MD)) in mapSimpleMetadata() local
795 return *NewMD; in mapSimpleMetadata()
825 if (Optional<Metadata *> NewMD = mapSimpleMetadata(MD)) in mapMetadata() local
826 return *NewMD; in mapMetadata()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp717 auto *NewMD = dyn_cast<CXXMethodDecl>(New); in transformedLocalDecl() local
718 if (NewMD && isLambdaCallOperator(NewMD)) { in transformedLocalDecl()
720 if (auto *NewTD = NewMD->getDescribedFunctionTemplate()) in transformedLocalDecl()
724 NewMD->setInstantiationOfMemberFunction(OldMD, in transformedLocalDecl()
DSemaDecl.cpp7269 if (CXXMethodDecl *NewMD = dyn_cast<CXXMethodDecl>(NewFD)) in DiagnoseInvalidRedeclaration() local
7270 NewFDisConst = NewMD->isConst(); in DiagnoseInvalidRedeclaration()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp766 auto NewMD = in copyMetadata() local
770 MD.second = NewMD; in copyMetadata()