Home
last modified time | relevance | path

Searched refs:OMD (Results 1 – 22 of 22) sorted by relevance

/external/clang/lib/CodeGen/
DCGObjC.cpp452 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); in EmitObjCMessageExpr() local
453 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); in EmitObjCMessageExpr()
456 OMD->getClassInterface(), in EmitObjCMessageExpr()
518 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, in StartObjCMethod() argument
520 SourceLocation StartLoc = OMD->getLocStart(); in StartObjCMethod()
523 if (OMD->hasAttr<NoDebugAttr>()) in StartObjCMethod()
526 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); in StartObjCMethod()
528 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); in StartObjCMethod()
529 CGM.SetInternalFunctionAttributes(OMD, Fn, FI); in StartObjCMethod()
531 args.push_back(OMD->getSelfDecl()); in StartObjCMethod()
[all …]
DCGObjCRuntime.h204 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
DCodeGenModule.cpp3848 auto *OMD = cast<ObjCImplementationDecl>(D); in EmitTopLevelDecl() local
3849 EmitObjCPropertyImplementations(OMD); in EmitTopLevelDecl()
3850 EmitObjCIvarInitializations(OMD); in EmitTopLevelDecl()
3851 ObjCRuntime->GenerateClass(OMD); in EmitTopLevelDecl()
3856 OMD->getClassInterface()), OMD->getLocation()); in EmitTopLevelDecl()
3860 auto *OMD = cast<ObjCMethodDecl>(D); in EmitTopLevelDecl() local
3862 if (OMD->getBody()) in EmitTopLevelDecl()
3863 CodeGenFunction(*this).GenerateObjCMethod(OMD); in EmitTopLevelDecl()
DCGDebugInfo.cpp220 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { in getObjCMethodName() argument
223 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; in getObjCMethodName()
224 const DeclContext *DC = OMD->getDeclContext(); in getObjCMethodName()
244 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { in getObjCMethodName()
250 OS << ' ' << OMD->getSelector().getAsString() << ']'; in getObjCMethodName()
2897 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { in EmitFunctionStart() local
2898 Name = getObjCMethodName(OMD); in EmitFunctionStart()
2958 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { in EmitFunctionDecl() local
2959 Name = getObjCMethodName(OMD); in EmitFunctionDecl()
DCGObjCMac.cpp884 void GetNameForMethod(const ObjCMethodDecl *OMD,
1030 const ObjCMethodDecl *OMD,
1048 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
3618 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, in GenerateMethod() argument
3621 GetNameForMethod(OMD, CD, Name); in GenerateMethod()
3625 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); in GenerateMethod()
3631 MethodDefinitions.insert(std::make_pair(OMD, Method)); in GenerateMethod()
4991 CGObjCCommonMac::BuildIvarLayout(const ObjCImplementationDecl *OMD, in BuildIvarLayout() argument
5002 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); in BuildIvarLayout()
5025 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivars[0])); in BuildIvarLayout()
[all …]
DCGObjCGNU.cpp534 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
2622 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, in GenerateMethod() argument
2625 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); in GenerateMethod()
2628 Selector MethodName = OMD->getSelector(); in GenerateMethod()
2629 bool isClassMethod = !OMD->isInstanceMethod(); in GenerateMethod()
2633 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); in GenerateMethod()
DCGDecl.cpp177 else if (const auto *OMD = dyn_cast<ObjCMethodDecl>(DC)) in getStaticDeclName() local
178 ContextName = OMD->getSelector().getAsString(); in getStaticDeclName()
DCodeGenFunction.cpp642 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F)) in endsWithReturn() local
643 Body = OMD->getBody(); in endsWithReturn()
DCodeGenFunction.h1308 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
/external/clang/lib/AST/
DDeclPrinter.cpp1055 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { in VisitObjCMethodDecl() argument
1056 if (OMD->isInstanceMethod()) in VisitObjCMethodDecl()
1060 if (!OMD->getReturnType().isNull()) { in VisitObjCMethodDecl()
1061 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(), in VisitObjCMethodDecl()
1062 OMD->getReturnType()); in VisitObjCMethodDecl()
1065 std::string name = OMD->getSelector().getAsString(); in VisitObjCMethodDecl()
1067 for (const auto *PI : OMD->parameters()) { in VisitObjCMethodDecl()
1071 PrintObjCMethodType(OMD->getASTContext(), in VisitObjCMethodDecl()
1078 if (OMD->param_begin() == OMD->param_end()) in VisitObjCMethodDecl()
1081 if (OMD->isVariadic()) in VisitObjCMethodDecl()
[all …]
DMangle.cpp143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() local
144 mangleObjCMethodName(OMD, Out); in mangleName()
158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName() local
159 mangleObjCMethodName(OMD, Out); in mangleName()
DASTContext.cpp467 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); in getCommentForDecl() local
468 if (OMD && OMD->isPropertyAccessor()) in getCommentForDecl()
469 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in getCommentForDecl()
472 if (OMD) in getCommentForDecl()
473 addRedeclaredMethods(OMD, Overridden); in getCommentForDecl()
/external/clang/lib/Sema/
DSemaExprMember.cpp415 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) in FindGetterSetterNameDeclFromProtocolList() local
416 return OMD; in FindGetterSetterNameDeclFromProtocolList()
440 if (ObjCMethodDecl *OMD = I->getInstanceMethod(Sel)) { in FindGetterSetterNameDecl() local
441 GDecl = OMD; in FindGetterSetterNameDecl()
1540 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { in LookupMemberExpr() local
1542 if (S.DiagnoseUseOfDecl(OMD, MemberLoc)) in LookupMemberExpr()
1555 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
DSemaExprObjC.cpp1534 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); in CheckMessageArgumentTypes() local
1535 if (OMD && !OMD->isInvalidDecl()) { in CheckMessageArgumentTypes()
1541 Selector MatchedSel = OMD->getSelector(); in CheckMessageArgumentTypes()
DSemaCodeComplete.cpp2693 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) in CreateCodeCompletionString() local
2694 if (OMD->isPropertyAccessor()) in CreateCodeCompletionString()
2695 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in CreateCodeCompletionString()
DSemaExpr.cpp91 const auto *OMD = dyn_cast<ObjCMethodDecl>(D); in HasRedeclarationWithoutAvailabilityInCategory() local
92 if (!OMD) in HasRedeclarationWithoutAvailabilityInCategory()
94 const ObjCInterfaceDecl *OID = OMD->getClassInterface(); in HasRedeclarationWithoutAvailabilityInCategory()
100 Cat->getMethod(OMD->getSelector(), OMD->isInstanceMethod())) in HasRedeclarationWithoutAvailabilityInCategory()
DSemaDeclCXX.cpp1961 const CXXMethodDecl *OMD = *MD->begin_overridden_methods(); in DiagnoseAbsenceOfOverrideControl() local
1962 Diag(OMD->getLocation(), diag::note_overridden_virtual_function); in DiagnoseAbsenceOfOverrideControl()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp1060 ObjCMethodDecl *OMD, in RewriteObjCMethodDecl() argument
1065 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); in RewriteObjCMethodDecl()
1071 if (OMD->isInstanceMethod()) in RewriteObjCMethodDecl()
1080 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { in RewriteObjCMethodDecl()
1086 std::string selString = OMD->getSelector().getAsString(); in RewriteObjCMethodDecl()
1094 MethodInternalNames[OMD] = NameStr; in RewriteObjCMethodDecl()
1101 if (OMD->isInstanceMethod()) { in RewriteObjCMethodDecl()
1121 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl()
1135 if (OMD->isVariadic()) in RewriteObjCMethodDecl()
1169 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl() local
[all …]
DRewriteModernObjC.cpp1228 ObjCMethodDecl *OMD, in RewriteObjCMethodDecl() argument
1233 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); in RewriteObjCMethodDecl()
1239 if (OMD->isInstanceMethod()) in RewriteObjCMethodDecl()
1248 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { in RewriteObjCMethodDecl()
1254 std::string selString = OMD->getSelector().getAsString(); in RewriteObjCMethodDecl()
1262 MethodInternalNames[OMD] = NameStr; in RewriteObjCMethodDecl()
1269 if (OMD->isInstanceMethod()) { in RewriteObjCMethodDecl()
1289 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl()
1303 if (OMD->isVariadic()) in RewriteObjCMethodDecl()
1347 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl() local
[all …]
/external/clang/tools/libclang/
DCXType.cpp903 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { in clang_getDeclObjCTypeEncoding() local
904 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding)) in clang_getDeclObjCTypeEncoding()
DCIndex.cpp4098 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) in getDeclSpelling() local
4099 return cxstring::createDup(OMD->getSelector().getAsString()); in getDeclSpelling()
/external/webrtc/talk/media/testdata/
Dfaces.1280x720_P420.yuv3 …CB@>=<;;;;<=>=<<=?@?<;<====<<<<<;9:;=>@ABCEFGHILNOQRSSTTTSRQPNJGC>82+#!9OMD:;=99:86666555898655…