Home | History | Annotate | Download | only in Utils

Lines Matching defs:Category

88     StringRef Category = SplitRegexp.second;
93 Category = "init";
96 Category = "init";
99 Category = "init";
104 Entries[Prefix][Category].Strings.insert(Regexp);
123 if (!Regexps[Prefix][Category].empty())
124 Regexps[Prefix][Category] += "|";
125 Regexps[Prefix][Category] += "^" + Regexp + "$";
153 StringRef &Category) const {
154 return findCategory(*F.getParent(), Category) ||
155 findCategory("fun", F.getName(), Category);
158 bool SpecialCaseList::isIn(const Function& F, const StringRef Category) const {
159 return isIn(*F.getParent(), Category) ||
160 inSectionCategory("fun", F.getName(), Category);
175 StringRef &Category) const {
176 return findCategory(*G.getParent(), Category) ||
177 findCategory("global", G.getName(), Category) ||
178 findCategory("type", GetGVTypeString(G), Category);
182 const StringRef Category) const {
183 return isIn(*G.getParent(), Category) ||
184 inSectionCategory("global", G.getName(), Category) ||
185 inSectionCategory("type", GetGVTypeString(G), Category);
188 bool SpecialCaseList::findCategory(const Module &M, StringRef &Category) const {
189 return findCategory("src", M.getModuleIdentifier(), Category);
192 bool SpecialCaseList::isIn(const Module &M, const StringRef Category) const {
193 return inSectionCategory("src", M.getModuleIdentifier(), Category);
198 StringRef &Category) const {
206 Category = II->first();
216 const StringRef Category) const {
219 StringMap<Entry>::const_iterator II = I->second.find(Category);