Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransZeroOutPropsInDealloc.cpp107 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl() local
108 if (!IMD) in TraverseObjCMethodDecl()
116 for (auto *PID : IMD->property_impls()) { in TraverseObjCMethodDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp321 ObjCImplementationDecl *IMD,
927 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
943 startGetterSetterLoc = IMD ? IMD->getLocEnd() : CID->getLocEnd(); in RewritePropertyImplDecl()
951 assert(IMD && OID && "Synthesized ivars must be attached to @implementation"); in RewritePropertyImplDecl()
954 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) { in RewritePropertyImplDecl()
1011 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/)) in RewritePropertyImplDecl()
1358 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1361 if (IMD) { in RewriteImplementationDecl()
1362 if (IMD->getIvarRBraceLoc().isValid()) { in RewriteImplementationDecl()
1363 ReplaceText(IMD->getLocStart(), 1, "/** "); in RewriteImplementationDecl()
[all …]
HDRewriteObjC.cpp267 ObjCImplementationDecl *IMD,
767 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
1163 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1166 InsertText(IMD ? IMD->getLocStart() : CID->getLocStart(), "// "); in RewriteImplementationDecl()
1168 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl()
1179 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) { in RewriteImplementationDecl()
1189 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1190 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
1192 InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// "); in RewriteImplementationDecl()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclObjC.cpp1019 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface() local
1020 return IMD->getClassInterface(); in getClassInterface()
1125 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow() local
1126 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
HDASTContext.cpp404 if (const ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods() local
405 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in addRedeclaredMethods()
2017 if (const ObjCImplDecl *IMD = in getObjContainingInterface() local
2019 return IMD->getClassInterface(); in getObjContainingInterface()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaObjCProperty.cpp1497 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() local
1499 if (!IMD || !IMD->isPropertyAccessor()) in IvarBacksCurrentMethodAccessor()
1505 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1506 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
HDSemaDeclObjC.cpp369 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() local
372 if (IMD) { in ActOnStartOfObjCMethodDef()
376 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
391 dyn_cast<NamedDecl>(IMD), in ActOnStartOfObjCMethodDef()
4218 if (auto *IMD = IDecl->lookupMethod(ObjCMethod->getSelector(), in ActOnMethodDeclaration() local
4220 mergeInterfaceMethodToImpl(*this, ObjCMethod, IMD); in ActOnMethodDeclaration()
4223 if (isa<ObjCCategoryImplDecl>(ImpDecl) && IMD->isOverriding() && in ActOnMethodDeclaration()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDSLPVectorizer.cpp227 MDNode *IMD = I->getMetadata(Kind); in propagateMetadata() local
234 MD = MDNode::getMostGenericTBAA(MD, IMD); in propagateMetadata()
237 MD = MDNode::getMostGenericAliasScope(MD, IMD); in propagateMetadata()
240 MD = MDNode::intersect(MD, IMD); in propagateMetadata()
243 MD = MDNode::getMostGenericFPMath(MD, IMD); in propagateMetadata()