Lines Matching defs:MethodList
1190 auto MethodList = Builder.beginStruct();
1192 MethodList.addInt(IntTy, Methods.size());
1195 MethodList.addInt(IntTy, td.getTypeSizeInBits(ObjCMethodDescTy) /
1198 auto MethodArray = MethodList.beginArray(ObjCMethodDescTy);
1205 MethodArray.finishAndAddTo(MethodList);
1206 return MethodList.finishAndCreateGlobal(".objc_protocol_method_list",
2992 /// Generates a MethodList. Used in construction of a objc_class and
3004 auto MethodList = Builder.beginStruct();
3005 MethodList.addNullPointer(CGM.Int8PtrTy);
3006 MethodList.addInt(Int32Ty, Methods.size());
3019 MethodList.addInt(SizeTy, td.getTypeSizeInBits(ObjCMethodTy) /
3035 auto MethodArray = MethodList.beginArray();
3054 MethodArray.finishAndAddTo(MethodList);
3057 return MethodList.finishAndCreateGlobal(".objc_method_list",
3216 auto MethodList = Builder.beginStruct();
3217 MethodList.addInt(IntTy, Methods.size());
3218 auto MethodArray = MethodList.beginArray(ObjCMethodDescTy);
3225 MethodArray.finishAndAddTo(MethodList);
3226 return MethodList.finishAndCreateGlobal(".objc_method_list",
3276 llvm::Constant *MethodList = GenerateProtocolMethodList({});
3289 Elements.add(MethodList); /* .instance_methods */
3290 Elements.add(MethodList); /* .class_methods */
3291 Elements.add(MethodList); /* .optional_instance_methods */
3292 Elements.add(MethodList); /* .optional_class_methods */
3739 llvm::Constant *MethodList = GenerateMethodList(ClassName, "",
3796 llvm::ConstantInt::get(LongTy, instanceSize), IvarList, MethodList,