Lines Matching defs:MethodList
1189 auto MethodList = Builder.beginStruct();
1191 MethodList.addInt(IntTy, Methods.size());
1194 MethodList.addInt(IntTy, td.getTypeSizeInBits(ObjCMethodDescTy) /
1197 auto MethodArray = MethodList.beginArray(ObjCMethodDescTy);
1204 MethodArray.finishAndAddTo(MethodList);
1205 return MethodList.finishAndCreateGlobal(".objc_protocol_method_list",
2991 /// Generates a MethodList. Used in construction of a objc_class and
3003 auto MethodList = Builder.beginStruct();
3004 MethodList.addNullPointer(CGM.Int8PtrTy);
3005 MethodList.addInt(Int32Ty, Methods.size());
3018 MethodList.addInt(SizeTy, td.getTypeSizeInBits(ObjCMethodTy) /
3034 auto MethodArray = MethodList.beginArray();
3053 MethodArray.finishAndAddTo(MethodList);
3056 return MethodList.finishAndCreateGlobal(".objc_method_list",
3215 auto MethodList = Builder.beginStruct();
3216 MethodList.addInt(IntTy, Methods.size());
3217 auto MethodArray = MethodList.beginArray(ObjCMethodDescTy);
3224 MethodArray.finishAndAddTo(MethodList);
3225 return MethodList.finishAndCreateGlobal(".objc_method_list",
3275 llvm::Constant *MethodList = GenerateProtocolMethodList({});
3288 Elements.add(MethodList); /* .instance_methods */
3289 Elements.add(MethodList); /* .class_methods */
3290 Elements.add(MethodList); /* .optional_instance_methods */
3291 Elements.add(MethodList); /* .optional_class_methods */
3738 llvm::Constant *MethodList = GenerateMethodList(ClassName, "",
3795 llvm::ConstantInt::get(LongTy, instanceSize), IvarList, MethodList,