Lines Matching refs:Method
2050 // Global Method Pool and Selector Serialization
2054 // Trait used for the on-disk hash table used in the method pool.
2079 unsigned DataLen = 4 + 2 + 2; // 2 bytes for each of the method counts
2080 for (const ObjCMethodList *Method = &Methods.Instance; Method;
2081 Method = Method->Next)
2082 if (Method->Method)
2084 for (const ObjCMethodList *Method = &Methods.Factory; Method;
2085 Method = Method->Next)
2086 if (Method->Method)
2110 for (const ObjCMethodList *Method = &Methods.Instance; Method;
2111 Method = Method->Next)
2112 if (Method->Method)
2116 for (const ObjCMethodList *Method = &Methods.Factory; Method;
2117 Method = Method->Next)
2118 if (Method->Method)
2123 for (const ObjCMethodList *Method = &Methods.Instance; Method;
2124 Method = Method->Next)
2125 if (Method->Method)
2126 clang::io::Emit32(Out, Writer.getDeclID(Method->Method));
2127 for (const ObjCMethodList *Method = &Methods.Factory; Method;
2128 Method = Method->Next)
2129 if (Method->Method)
2130 clang::io::Emit32(Out, Writer.getDeclID(Method->Method));
2137 /// \brief Write ObjC data: selectors and the method pool.
2139 /// The method pool contains both instance and factory methods, stored
2149 // Create and write out the blob that contains selectors and the method pool.
2155 // selector we've seen and look it up in the method pool.
2176 for (ObjCMethodList *M = &Data.Instance; !changed && M && M->Method;
2178 if (M->Method->getPCHLevel() == 0)
2181 for (ObjCMethodList *M = &Data.Factory; !changed && M && M->Method;
2183 if (M->Method->getPCHLevel() == 0)
2188 } else if (Data.Instance.Method || Data.Factory.Method) {
2189 // A new method pool entry.
2214 // Write the method pool
2443 // Trait used for the on-disk hash table used in the method pool.
2736 /// within the method pool/selector table.