Lines Matching refs:Records
173 static ParsedAttrMap getParsedAttrList(const RecordKeeper &Records, in getParsedAttrList() argument
176 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in getParsedAttrList()
1895 static void emitClangAttrLateParsedListImpl(RecordKeeper &Records, in emitClangAttrLateParsedListImpl() argument
1898 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrLateParsedListImpl()
1916 static void emitClangAttrLateParsedList(RecordKeeper &Records, in emitClangAttrLateParsedList() argument
1919 emitClangAttrLateParsedListImpl(Records, OS, LateAttrParseKind::Standard); in emitClangAttrLateParsedList()
1923 static void emitClangAttrLateParsedExperimentalList(RecordKeeper &Records, in emitClangAttrLateParsedExperimentalList() argument
1926 emitClangAttrLateParsedListImpl(Records, OS, in emitClangAttrLateParsedExperimentalList()
2050 PragmaClangAttributeSupport(RecordKeeper &Records);
2089 RecordKeeper &Records) { in PragmaClangAttributeSupport() argument
2091 Records.getAllDerivedDefinitions("AttrSubjectMatcherRule"); in PragmaClangAttributeSupport()
2120 Records.getAllDerivedDefinitions("AttrSubjectMatcherAggregateRule"); in PragmaClangAttributeSupport()
2122 Records.getAllDerivedDefinitions(DeclNodeClassName); in PragmaClangAttributeSupport()
2153 getPragmaAttributeSupport(RecordKeeper &Records) { in getPragmaAttributeSupport() argument
2154 static PragmaClangAttributeSupport Instance(Records); in getPragmaAttributeSupport()
2391 static void emitClangAttrTypeArgList(RecordKeeper &Records, raw_ostream &OS) { in emitClangAttrTypeArgList() argument
2393 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrTypeArgList()
2414 static void emitClangAttrArgContextList(RecordKeeper &Records, raw_ostream &OS) { in emitClangAttrArgContextList() argument
2416 ParsedAttrMap Attrs = getParsedAttrList(Records); in emitClangAttrArgContextList()
2475 static void emitClangAttrVariadicIdentifierArgList(RecordKeeper &Records, in emitClangAttrVariadicIdentifierArgList() argument
2478 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrVariadicIdentifierArgList()
2502 static void emitClangAttrUnevaluatedStringLiteralList(RecordKeeper &Records, in emitClangAttrUnevaluatedStringLiteralList() argument
2530 ParsedAttrMap Attrs = getParsedAttrList(Records, &Dupes, /*SemaOnly=*/false); in emitClangAttrUnevaluatedStringLiteralList()
2563 static void emitClangAttrIdentifierArgList(RecordKeeper &Records, raw_ostream &OS) { in emitClangAttrIdentifierArgList() argument
2565 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrIdentifierArgList()
2582 static void emitClangAttrStrictIdentifierArgAtIndexList(RecordKeeper &Records, in emitClangAttrStrictIdentifierArgAtIndexList() argument
2585 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrStrictIdentifierArgAtIndexList()
2615 static void emitClangAttrThisIsaIdentifierArgList(RecordKeeper &Records, in emitClangAttrThisIsaIdentifierArgList() argument
2618 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitClangAttrThisIsaIdentifierArgList()
2635 static void emitClangAttrAcceptsExprPack(RecordKeeper &Records, in emitClangAttrAcceptsExprPack() argument
2638 ParsedAttrMap Attrs = getParsedAttrList(Records); in emitClangAttrAcceptsExprPack()
2669 static void emitAttributes(RecordKeeper &Records, raw_ostream &OS, in emitAttributes() argument
2671 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in emitAttributes()
2672 ParsedAttrMap AttrMap = getParsedAttrList(Records); in emitAttributes()
3171 void clang::EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrClass() argument
3172 emitSourceFileHeader("Attribute classes' definitions", OS, Records); in EmitClangAttrClass()
3177 emitAttributes(Records, OS, true); in EmitClangAttrClass()
3183 void clang::EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrImpl() argument
3185 Records); in EmitClangAttrImpl()
3187 emitAttributes(Records, OS, false); in EmitClangAttrImpl()
3189 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrImpl()
3343 AttrClassHierarchy(RecordKeeper &Records) { in AttrClassHierarchy() argument
3346 Record *ClassRecord = Records.getClass(Descriptor.TableGenName); in AttrClassHierarchy()
3420 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrList() argument
3422 Records); in EmitClangAttrList()
3424 AttrClassHierarchy Hierarchy(Records); in EmitClangAttrList()
3430 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrList()
3461 void EmitClangAttrSubjectMatchRuleList(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrSubjectMatchRuleList() argument
3464 Records); in EmitClangAttrSubjectMatchRuleList()
3466 getPragmaAttributeSupport(Records); in EmitClangAttrSubjectMatchRuleList()
3473 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrPCHRead() argument
3474 emitSourceFileHeader("Attribute deserialization code", OS, Records); in EmitClangAttrPCHRead()
3476 Record *InhClass = Records.getClass("InheritableAttr"); in EmitClangAttrPCHRead()
3477 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"), in EmitClangAttrPCHRead()
3528 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrPCHWrite() argument
3529 emitSourceFileHeader("Attribute serialization code", OS, Records); in EmitClangAttrPCHWrite()
3531 Record *InhClass = Records.getClass("InheritableAttr"); in EmitClangAttrPCHWrite()
3532 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"), Args; in EmitClangAttrPCHWrite()
3720 void EmitClangRegularKeywordAttributeInfo(RecordKeeper &Records, in EmitClangRegularKeywordAttributeInfo() argument
3728 for (auto *R : Records.getAllDerivedDefinitions("Attr")) in EmitClangRegularKeywordAttributeInfo()
3744 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrHasAttrImpl() argument
3746 Records); in EmitClangAttrHasAttrImpl()
3750 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrHasAttrImpl()
3831 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrSpellingListIndex() argument
3834 OS, Records); in EmitClangAttrSpellingListIndex()
3842 ParsedAttrMap Attrs = getParsedAttrList(Records); in EmitClangAttrSpellingListIndex()
3863 void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrASTVisitor() argument
3865 Records); in EmitClangAttrASTVisitor()
3867 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrASTVisitor()
3989 void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrTemplateInstantiate() argument
3991 Records); in EmitClangAttrTemplateInstantiate()
3993 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrTemplateInstantiate()
4012 void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrParsedAttrList() argument
4014 Records); in EmitClangAttrParsedAttrList()
4020 ParsedAttrMap Names = getParsedAttrList(Records); in EmitClangAttrParsedAttrList()
4280 const RecordKeeper &Records, in GenerateMutualExclusionsChecks() argument
4288 Records.getAllDerivedDefinitions("MutualExclusions"); in GenerateMutualExclusionsChecks()
4606 void GenerateHandleAttrWithDelayedArgs(RecordKeeper &Records, raw_ostream &OS) { in GenerateHandleAttrWithDelayedArgs() argument
4619 ParsedAttrMap Attrs = getParsedAttrList(Records); in GenerateHandleAttrWithDelayedArgs()
4644 void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrParsedAttrImpl() argument
4645 emitSourceFileHeader("Parsed attribute helpers", OS, Records); in EmitClangAttrParsedAttrImpl()
4650 getPragmaAttributeSupport(Records); in EmitClangAttrParsedAttrImpl()
4655 ParsedAttrMap Attrs = getParsedAttrList(Records, &Dupes); in EmitClangAttrParsedAttrImpl()
4757 GenerateMutualExclusionsChecks(Attr, Records, OS, MergeDeclOS, MergeStmtOS); in EmitClangAttrParsedAttrImpl()
4779 GenerateHandleAttrWithDelayedArgs(Records, OS); in EmitClangAttrParsedAttrImpl()
4808 void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrParsedAttrKinds() argument
4809 emitSourceFileHeader("Attribute name matcher", OS, Records); in EmitClangAttrParsedAttrKinds()
4811 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrParsedAttrKinds()
4909 void EmitClangAttrTextNodeDump(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrTextNodeDump() argument
4910 emitSourceFileHeader("Attribute text node dumper", OS, Records); in EmitClangAttrTextNodeDump()
4912 std::vector<Record*> Attrs = Records.getAllDerivedDefinitions("Attr"), Args; in EmitClangAttrTextNodeDump()
4948 void EmitClangAttrNodeTraverse(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrNodeTraverse() argument
4949 emitSourceFileHeader("Attribute text node traverser", OS, Records); in EmitClangAttrNodeTraverse()
4951 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"), Args; in EmitClangAttrNodeTraverse()
4977 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrParserStringSwitches() argument
4978 emitSourceFileHeader("Parser-related llvm::StringSwitch cases", OS, Records); in EmitClangAttrParserStringSwitches()
4979 emitClangAttrArgContextList(Records, OS); in EmitClangAttrParserStringSwitches()
4980 emitClangAttrIdentifierArgList(Records, OS); in EmitClangAttrParserStringSwitches()
4981 emitClangAttrUnevaluatedStringLiteralList(Records, OS); in EmitClangAttrParserStringSwitches()
4982 emitClangAttrVariadicIdentifierArgList(Records, OS); in EmitClangAttrParserStringSwitches()
4983 emitClangAttrThisIsaIdentifierArgList(Records, OS); in EmitClangAttrParserStringSwitches()
4984 emitClangAttrAcceptsExprPack(Records, OS); in EmitClangAttrParserStringSwitches()
4985 emitClangAttrTypeArgList(Records, OS); in EmitClangAttrParserStringSwitches()
4986 emitClangAttrLateParsedList(Records, OS); in EmitClangAttrParserStringSwitches()
4987 emitClangAttrLateParsedExperimentalList(Records, OS); in EmitClangAttrParserStringSwitches()
4988 emitClangAttrStrictIdentifierArgAtIndexList(Records, OS); in EmitClangAttrParserStringSwitches()
4991 void EmitClangAttrSubjectMatchRulesParserStringSwitches(RecordKeeper &Records, in EmitClangAttrSubjectMatchRulesParserStringSwitches() argument
4993 getPragmaAttributeSupport(Records).generateParsingHelpers(OS); in EmitClangAttrSubjectMatchRulesParserStringSwitches()
4996 void EmitClangAttrDocTable(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrDocTable() argument
4997 emitSourceFileHeader("Clang attribute documentation", OS, Records); in EmitClangAttrDocTable()
4999 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrDocTable()
5145 static void WriteDocumentation(RecordKeeper &Records, in WriteDocumentation() argument
5175 if (getPragmaAttributeSupport(Records).isAttributedSupported( in WriteDocumentation()
5200 void EmitClangAttrDocs(RecordKeeper &Records, raw_ostream &OS) { in EmitClangAttrDocs() argument
5202 const Record *Documentation = Records.getDef("GlobalDocumentation"); in EmitClangAttrDocs()
5213 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); in EmitClangAttrDocs()
5256 WriteDocumentation(Records, Doc, OS); in EmitClangAttrDocs()
5260 void EmitTestPragmaAttributeSupportedAttributes(RecordKeeper &Records, in EmitTestPragmaAttributeSupportedAttributes() argument
5262 PragmaClangAttributeSupport Support = getPragmaAttributeSupport(Records); in EmitTestPragmaAttributeSupportedAttributes()
5263 ParsedAttrMap Attrs = getParsedAttrList(Records); in EmitTestPragmaAttributeSupportedAttributes()