Lines Matching defs:OID
583 const ObjCInterfaceDecl *OID) override;
1252 const ObjCInterfaceDecl *OID = nullptr;
1254 if ((OID = dyn_cast<ObjCInterfaceDecl>(Result)))
1260 assert(OID && "Failed to find ObjCInterfaceDecl");
1261 const ObjCInterfaceDecl *OIDDef = OID->getDefinition();
1263 OID = OIDDef;
1266 if (OID->hasAttr<DLLImportAttr>())
1268 else if (OID->hasAttr<DLLExportAttr>())
1714 void GenerateClass(const ObjCImplementationDecl *OID) override {
1720 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface());
1746 if (OID->classmeth_begin() == OID->classmeth_end())
1750 ClassMethods.insert(ClassMethods.begin(), OID->classmeth_begin(),
1751 OID->classmeth_end());
1772 metaclassFields.add(GeneratePropertyList(OID, classDecl, /*isClassProperty*/true));
1784 OID->getClassInterface()->getSuperClass();
1822 0 - (Context.getASTObjCImplementationLayout(OID).getSize().getQuantity() -
1860 uint64_t BaseOffset = ComputeIvarBaseOffset(CGM, OID, IVD);
1879 CGM.setGVProperties(OffsetVar, OID->getClassInterface());
1906 InstanceMethods.insert(InstanceMethods.begin(), OID->instmeth_begin(),
1907 OID->instmeth_end());
1908 for (auto *propImpl : OID->property_impls())
1951 classFields.add(GeneratePropertyList(OID, classDecl));
1963 if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) {
2051 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(CD);
2056 ReceiverCanBeNull = isWeakLinkedClass(OID);
2429 const ObjCInterfaceDecl *OID) {
2431 GetClassNamed(CGF, OID->getNameAsString(), OID->isWeakImported());
2433 CGM.setGVProperties(ClassSymbol, OID);
3530 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
3531 for (const ObjCCategoryDecl *ClassExt : OID->known_extensions())
3554 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
3555 for (const auto *P : OID->all_referenced_protocols())
3600 void CGObjCGNU::GenerateClass(const ObjCImplementationDecl *OID) {
3605 OID->getClassInterface()->getSuperClass();
3614 const_cast<ObjCInterfaceDecl *>(OID->getClassInterface());
3631 Context.getASTObjCImplementationLayout(OID).getSize().getQuantity();
3664 uint64_t BaseOffset = ComputeIvarBaseOffset(CGM, OID, IVD);
3711 InstanceMethods.insert(InstanceMethods.begin(), OID->instmeth_begin(),
3712 OID->instmeth_end());
3715 ClassMethods.insert(ClassMethods.begin(), OID->classmeth_begin(),
3716 OID->classmeth_end());
3718 llvm::Constant *Properties = GeneratePropertyList(OID, ClassDecl);
3788 GeneratePropertyList(OID, ClassDecl, true), ZeroPtr, ZeroPtr, true);
3790 OID->getClassInterface());
3799 OID->getClassInterface());
4287 const ObjCInterfaceDecl *OID,
4289 for (const ObjCIvarDecl *next = OID->all_declared_ivar_begin(); next;
4292 return OID;
4296 if (const ObjCInterfaceDecl *Super = OID->getSuperClass())