/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 684 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 685 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); 688 OMD->getClassInterface(), 750 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument 752 SourceLocation StartLoc = OMD->getBeginLoc(); 755 if (OMD->hasAttr<NoDebugAttr>()) 758 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); 760 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); 761 if (OMD->isDirectMethod()) { 763 CGM.SetLLVMFunctionAttributes(OMD, F 804 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument 1047 ObjCMethodDecl *OMD = PID->getGetterMethodDecl(); local 1289 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 1333 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1579 ObjCMethodDecl *OMD = PID->getSetterMethodDecl(); local 1700 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local [all...] |
H A D | CGObjCRuntime.h | 239 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 245 const ObjCMethodDecl *OMD,
|
H A D | CGObjCRuntime.cpp | 394 std::string CGObjCRuntime::getSymbolNameForMethod(const ObjCMethodDecl *OMD, argument 398 CGM.getCXXABI().getMangleContext().mangleObjCMethodName(OMD, out,
|
H A D | CGObjCGNU.cpp | 599 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 602 const ObjCMethodDecl *OMD, 1897 auto addIfExists = [&](const ObjCMethodDecl *OMD) { 1898 if (OMD && OMD->hasBody()) 1899 InstanceMethods.push_back(OMD); 2825 for (const auto *OMD : Methods) { 2827 TheModule.getFunction(getSymbolNameForMethod(OMD)); 2832 Method.add(GetConstantSelector(OMD->getSelector(), 2833 Context.getObjCEncodingForMethodDecl(OMD))); 3869 GenerateMethod(const ObjCMethodDecl *OMD, const ObjCContainerDecl *CD) argument 3884 GenerateDirectMethodPrologue(CodeGenFunction &CGF, llvm::Function *Fn, const ObjCMethodDecl *OMD, const ObjCContainerDecl *CD) argument [all...] |
H A D | CodeGenFunction.cpp | 646 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F)) 647 Body = OMD->getBody(); 775 if (const auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(D)) { 776 IdentifierInfo *II = OMD->getSelector().getIdentifierInfoForSlot(0); 777 if (OMD->getMethodFamily() == OMF_dealloc || 778 OMD->getMethodFamily() == OMF_initialize || 779 (OMD->getSelector().isUnarySelector() && II->isStr(".cxx_destruct"))) {
|
H A D | CGObjCMac.cpp | 1074 const ObjCMethodDecl *OMD, 1093 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 1096 llvm::Function *GenerateDirectMethod(const ObjCMethodDecl *OMD, 1100 const ObjCMethodDecl *OMD, 4021 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 4025 if (OMD->isDirectMethod()) { 4026 Method = GenerateDirectMethod(OMD, CD); 4028 auto Name = getSymbolNameForMethod(OMD); 4032 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 4038 MethodDefinitions.insert(std::make_pair(OMD, Metho 4044 GenerateDirectMethod(const ObjCMethodDecl *OMD, const ObjCContainerDecl *CD) argument 4090 GenerateDirectMethodPrologue( CodeGenFunction &CGF, llvm::Function *Fn, const ObjCMethodDecl *OMD, const ObjCContainerDecl *CD) argument 5611 BuildIvarLayout(const ObjCImplementationDecl *OMD, CharUnits beginOffset, CharUnits endOffset, bool ForStrongLayout, bool HasMRCWeakIvars) argument [all...] |
H A D | CGDebugInfo.cpp | 274 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 277 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 278 const DeclContext *DC = OMD->getDeclContext(); 293 OS << ' ' << OMD->getSelector().getAsString() << ']'; 3776 const auto *OMD = dyn_cast<ObjCMethodDecl>(D); local 3777 if (!OMD) 3780 if (CGM.getCodeGenOpts().DwarfVersion < 5 && !OMD->isDirectMethod()) 3783 if (OMD->isDirectMethod()) 3790 ID = OMD->getClassInterface(); 3799 InterfaceType, getObjCMethodName(OMD), StringRe [all...] |
H A D | CodeGenModule.cpp | 5776 auto *OMD = cast<ObjCImplementationDecl>(D); local 5777 EmitObjCPropertyImplementations(OMD); 5778 EmitObjCIvarInitializations(OMD); 5779 ObjCRuntime->GenerateClass(OMD); 5784 OMD->getClassInterface()), OMD->getLocation()); 5788 auto *OMD = cast<ObjCMethodDecl>(D); local 5790 if (OMD->getBody()) 5791 CodeGenFunction(*this).GenerateObjCMethod(OMD);
|
H A D | CodeGenFunction.h | 468 AbstractCallee(const ObjCMethodDecl *OMD) : CalleeDecl(OMD) {} argument 2041 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
H A D | CGDecl.cpp | 225 else if (const auto *OMD = dyn_cast<ObjCMethodDecl>(DC)) 226 ContextName = OMD->getSelector().getAsString();
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1272 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 1273 if (OMD->isInstanceMethod()) 1277 if (!OMD->getReturnType().isNull()) { 1278 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(), 1279 OMD->getReturnType()); 1282 std::string name = OMD->getSelector().getAsString(); 1284 for (const auto *PI : OMD->parameters()) { 1290 PrintObjCMethodType(OMD->getASTContext(), 1297 if (OMD [all...] |
H A D | Mangle.cpp | 191 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) 192 mangleObjCMethodNameAsSourceName(OMD, Out); 208 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) 209 mangleObjCMethodNameAsSourceName(OMD, Out);
|
H A D | ASTContext.cpp | 577 const auto *OMD = dyn_cast<ObjCMethodDecl>(D); local 578 if (OMD && OMD->isPropertyAccessor()) 579 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 582 if (OMD) 583 addRedeclaredMethods(OMD, Overridden);
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MIGChecker.cpp | 175 for (const auto *OMD: MD->overridden_methods()) 176 if (OMD->hasAttr<MIGServerRoutineAttr>())
|
H A D | LocalizationChecker.cpp | 848 if (const ObjCMethodDecl *OMD = dyn_cast_or_null<ObjCMethodDecl>(D)) { 849 auto formals = OMD->parameters();
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 597 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 600 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 601 const DeclContext *DC = OMD->getDeclContext(); 617 OS << ' ' << OMD->getSelector().getAsString() << ']';
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 912 auto *OMD = IMP->getInstanceMethod(getter ? PD->getGetterName() local 914 return !OMD || OMD->isSynthesizedAccessorStub(); 1230 ObjCMethodDecl *OMD, 1235 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1241 if (OMD->isInstanceMethod()) 1250 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1256 std::string selString = OMD->getSelector().getAsString(); 1264 MethodInternalNames[OMD] = NameStr; 1271 if (OMD 1229 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
H A D | RewriteObjC.cpp | 1064 ObjCMethodDecl *OMD, 1069 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1075 if (OMD->isInstanceMethod()) 1084 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1090 std::string selString = OMD->getSelector().getAsString(); 1098 MethodInternalNames[OMD] = NameStr; 1105 if (OMD->isInstanceMethod()) { 1125 for (const auto *PDecl : OMD->parameters()) { 1139 if (OMD->isVariadic()) 1174 for (auto *OMD 1063 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 435 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 436 return OMD; 460 if (ObjCMethodDecl *OMD = I->getInstanceMethod(Sel)) { 461 GDecl = OMD; 1506 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { 1518 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue,
|
H A D | SemaObjCProperty.cpp | 1440 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( local 1442 if (!OMD) 1443 OMD = RedeclarePropertyAccessor(Context, IC, getterMethod, AtLoc, 1445 PIDecl->setGetterMethodDecl(OMD); 1505 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( local 1507 if (!OMD) 1508 OMD = RedeclarePropertyAccessor(Context, IC, setterMethod, 1510 PIDecl->setSetterMethodDecl(OMD);
|
H A D | SemaExprObjC.cpp | 1749 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1750 if (OMD && !OMD->isInvalidDecl()) { 1756 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaDeclCXX.cpp | 3120 const CXXMethodDecl *OMD = *MD->begin_overridden_methods(); 3121 Diag(OMD->getLocation(), diag::note_overridden_virtual_function);
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 858 auto *OMD = Ext->getInstanceMethod(D->getSelector()); local 859 if (OMD && !OMD->isImplicit())
|
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXType.cpp | 1108 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 1109 encoding = Ctx.getObjCEncodingForMethodDecl(OMD);
|
H A D | CIndex.cpp | 639 if (auto *OMD = dyn_cast<ObjCMethodDecl>(D)) 640 if (OMD->isSynthesizedAccessorStub()) 4604 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 4605 return cxstring::createDup(OMD->getSelector().getAsString());
|