Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Protocols

315   /// All of the protocols that have been declared.
382 /// and ObjC2 protocols. Objective-C 1 protocols can not contain optional
415 /// Generates a list of referenced protocols. Classes, categories, and
416 /// protocols all use this structure.
417 llvm::Constant *GenerateProtocolList(ArrayRef<std::string> Protocols);
418 /// To ensure that all protocols are seen by the runtime, we add a category on
420 /// protocols. This is a horribly ugly hack, but it allows us to collect all
421 /// of the protocols without changing the ABI.
433 llvm::Constant *Protocols,
439 /// Generates a method list. This is used by protocols to define the required
1594 llvm::Constant *Protocols,
1620 PtrTy, // protocols
1650 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy));
1706 llvm::Constant *CGObjCGNU::GenerateProtocolList(ArrayRef<std::string>Protocols){
1708 Protocols.size());
1715 for (const std::string *iter = Protocols.begin(), *endIter = Protocols.end();
1733 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size()));
1755 // Protocols are objects containing lists of the methods implemented and
1756 // protocols adopted.
1788 SmallVector<std::string, 16> Protocols;
1789 for (const auto *PI : PD->protocols())
1790 Protocols.push_back(PI->getNameAsString());
1827 llvm::Constant *ProtocolList = GenerateProtocolList(Protocols);
1911 // Protocols are objects containing lists of the methods implemented and
1912 // protocols adopted.
2053 // Collect the names of referenced protocols
2054 SmallVector<std::string, 16> Protocols;
2059 Protocols.push_back((*I)->getNameAsString());
2074 GenerateProtocolList(Protocols), PtrTy));
2283 // Collect the names of referenced protocols
2284 SmallVector<std::string, 16> Protocols;
2285 for (const auto *I : ClassDecl->protocols())
2286 Protocols.push_back(I->getNameAsString());
2357 MethodList, GenerateProtocolList(Protocols), IvarOffsetArray,
2386 // Add all referenced protocols to a category.