Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Protocols

308   /// All of the protocols that have been declared.
375 /// and ObjC2 protocols. Objective-C 1 protocols can not contain optional
408 /// Generates a list of referenced protocols. Classes, categories, and
409 /// protocols all use this structure.
410 llvm::Constant *GenerateProtocolList(ArrayRef<std::string> Protocols);
411 /// To ensure that all protocols are seen by the runtime, we add a category on
413 /// protocols. This is a horribly ugly hack, but it allows us to collect all
414 /// of the protocols without changing the ABI.
426 llvm::Constant *Protocols,
432 /// Generates a method list. This is used by protocols to define the required
1568 llvm::Constant *Protocols,
1594 PtrTy, // protocols
1624 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy));
1678 llvm::Constant *CGObjCGNU::GenerateProtocolList(ArrayRef<std::string>Protocols){
1680 Protocols.size());
1687 for (const std::string *iter = Protocols.begin(), *endIter = Protocols.end();
1705 Elements.push_back(llvm::ConstantInt::get(LongTy, Protocols.size()));
1726 // Protocols are objects containing lists of the methods implemented and
1727 // protocols adopted.
1758 SmallVector<std::string, 16> Protocols;
1761 Protocols.push_back((*PI)->getNameAsString());
1801 llvm::Constant *ProtocolList = GenerateProtocolList(Protocols);
1888 // Protocols are objects containing lists of the methods implemented and
1889 // protocols adopted.
2033 // Collect the names of referenced protocols
2034 SmallVector<std::string, 16> Protocols;
2039 Protocols.push_back((*I)->getNameAsString());
2054 GenerateProtocolList(Protocols), PtrTy));
2269 // Collect the names of referenced protocols
2270 SmallVector<std::string, 16> Protocols;
2274 Protocols.push_back((*I)->getNameAsString());
2346 MethodList, GenerateProtocolList(Protocols), IvarOffsetArray,
2375 // Add all referenced protocols to a category.