Searched defs:OMD (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/AST/
H A DDeclPrinter.cpp851 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument
852 if (OMD->isInstanceMethod())
856 if (!OMD->getResultType().isNull())
857 Out << '(' << OMD->getResultType().getAsString(Policy) << ")";
859 std::string name = OMD->getSelector().getAsString();
861 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
862 E = OMD->param_end(); PI != E; ++PI) {
870 if (OMD->param_begin() == OMD->param_end())
873 if (OMD
[all...]
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp145 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument
148 OS << (OMD->isInstanceMethod() ? '-' : '+') << '[';
149 const DeclContext *DC = OMD->getDeclContext();
161 OS << ' ' << OMD->getSelector().getAsString() << ']';
2028 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) {
2029 Name = getObjCMethodName(OMD);
H A DCodeGenModule.cpp2532 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); local
2533 if (LangOpts.ObjCNonFragileABI2 && OMD->hasSynthBitfield())
2534 Context.ResetObjCLayout(OMD->getClassInterface());
2535 EmitObjCPropertyImplementations(OMD);
2536 EmitObjCIvarInitializations(OMD);
2537 ObjCRuntime->GenerateClass(OMD);
2540 DI->getOrCreateInterfaceType(getContext().getObjCInterfaceType(OMD->getClassInterface()),
2541 OMD->getLocation());
2546 ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(D); local
2548 if (OMD
[all...]
H A DCGObjC.cpp371 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local
372 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext());
375 OMD->getClassInterface(),
438 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument
443 if (CGM.getModuleDebugInfo() && !OMD->hasAttr<NoDebugAttr>())
446 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD);
448 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD);
449 CGM.SetInternalFunctionAttributes(OMD, Fn, FI);
451 args.push_back(OMD->getSelfDecl());
452 args.push_back(OMD
478 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument
709 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local
921 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument
964 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument
1217 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local
1348 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local
1353 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local
[all...]
H A DCGObjCGNU.cpp464 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
2403 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument
2406 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext());
2409 Selector MethodName = OMD->getSelector();
2410 bool isClassMethod = !OMD->isInstanceMethod();
2414 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
H A DCGObjCMac.cpp824 void GetNameForMethod(const ObjCMethodDecl *OMD,
932 const ObjCMethodDecl *OMD,
945 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
2723 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument
2726 GetNameForMethod(OMD, CD, Name);
2730 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
2736 MethodDefinitions.insert(std::make_pair(OMD, Method));
4131 const ObjCImplementationDecl *OMD,
4140 const ObjCInterfaceDecl *OI = OMD->getClassInterface();
4161 BuildAggrIvarLayout(OMD,
4130 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument
[all...]
/external/clang/lib/Rewrite/
H A DRewriteObjC.cpp1068 ObjCMethodDecl *OMD,
1073 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1079 if (OMD->isInstanceMethod())
1088 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) {
1094 std::string selString = OMD->getSelector().getAsString();
1102 MethodInternalNames[OMD] = NameStr;
1109 if (OMD->isInstanceMethod()) {
1129 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
1130 E = OMD->param_end(); PI != E; ++PI) {
1145 if (OMD
1067 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument
1182 ObjCMethodDecl *OMD = *I; local
1197 ObjCMethodDecl *OMD = *I; local
[all...]
H A DRewriteModernObjC.cpp1115 ObjCMethodDecl *OMD,
1120 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1126 if (OMD->isInstanceMethod())
1135 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) {
1141 std::string selString = OMD->getSelector().getAsString();
1149 MethodInternalNames[OMD] = NameStr;
1156 if (OMD->isInstanceMethod()) {
1176 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
1177 E = OMD->param_end(); PI != E; ++PI) {
1192 if (OMD
1114 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument
1243 ObjCMethodDecl *OMD = *I; local
1258 ObjCMethodDecl *OMD = *I; local
[all...]

Completed in 107 milliseconds