Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 1 | //===- TableGenBackends.h - Declarations for Clang TableGen Backends ------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the declarations for all of the Clang TableGen |
| 11 | // backends. A "TableGen backend" is just a function. See |
| 12 | // "$LLVM_ROOT/utils/TableGen/TableGenBackends.h" for more info. |
| 13 | // |
| 14 | //===----------------------------------------------------------------------===// |
| 15 | |
Benjamin Kramer | 12152ab | 2014-08-08 13:24:19 +0000 | [diff] [blame] | 16 | #ifndef LLVM_CLANG_UTILS_TABLEGEN_TABLEGENBACKENDS_H |
| 17 | #define LLVM_CLANG_UTILS_TABLEGEN_TABLEGENBACKENDS_H |
| 18 | |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 19 | #include <string> |
| 20 | |
| 21 | namespace llvm { |
| 22 | class raw_ostream; |
| 23 | class RecordKeeper; |
| 24 | } |
| 25 | |
| 26 | using llvm::raw_ostream; |
| 27 | using llvm::RecordKeeper; |
| 28 | |
| 29 | namespace clang { |
| 30 | |
| 31 | void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS); |
| 32 | void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, |
| 33 | const std::string &N, const std::string &S); |
| 34 | |
Aaron Ballman | 35db2b3 | 2014-01-29 22:13:45 +0000 | [diff] [blame] | 35 | void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 36 | void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); |
| 37 | void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); |
| 38 | void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); |
| 39 | void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); |
| 40 | void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); |
Aaron Ballman | 2fbf994 | 2014-03-31 13:14:44 +0000 | [diff] [blame] | 41 | void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS); |
Michael Han | 9931593 | 2013-01-24 16:46:58 +0000 | [diff] [blame] | 42 | void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); |
DeLesley Hutchins | c4a8243 | 2013-12-30 17:24:36 +0000 | [diff] [blame] | 43 | void EmitClangAttrASTVisitor(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 44 | void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS); |
| 45 | void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS); |
Aaron Ballman | 8ee40b7 | 2013-09-09 23:33:17 +0000 | [diff] [blame] | 46 | void EmitClangAttrParsedAttrImpl(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 47 | void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS); |
Alexander Kornienko | 5bc364e | 2013-01-07 17:53:08 +0000 | [diff] [blame] | 48 | void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 49 | |
| 50 | void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS, |
| 51 | const std::string &Component); |
| 52 | void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS); |
| 53 | void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS); |
| 54 | |
| 55 | void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS); |
| 56 | |
Dmitri Gribenko | 3ca956f | 2012-08-31 02:21:44 +0000 | [diff] [blame] | 57 | void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS); |
| 58 | void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | 28800da | 2013-01-30 14:29:28 +0000 | [diff] [blame] | 59 | void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | 3ca956f | 2012-08-31 02:21:44 +0000 | [diff] [blame] | 60 | |
Dmitri Gribenko | 7acbf00 | 2012-09-10 20:32:42 +0000 | [diff] [blame] | 61 | void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | 2e72dd4 | 2013-02-01 20:23:57 +0000 | [diff] [blame] | 62 | void EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | 7acbf00 | 2012-09-10 20:32:42 +0000 | [diff] [blame] | 63 | |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 64 | void EmitNeon(RecordKeeper &Records, raw_ostream &OS); |
| 65 | void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS); |
| 66 | void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS); |
James Molloy | dee4ab0 | 2014-06-17 13:11:27 +0000 | [diff] [blame] | 67 | void EmitNeon2(RecordKeeper &Records, raw_ostream &OS); |
| 68 | void EmitNeonSema2(RecordKeeper &Records, raw_ostream &OS); |
| 69 | void EmitNeonTest2(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 70 | |
Aaron Ballman | 97dba04 | 2014-02-17 15:27:10 +0000 | [diff] [blame] | 71 | void EmitClangAttrDocs(RecordKeeper &Records, raw_ostream &OS); |
Richard Smith | b6a3b4b | 2016-09-12 05:58:29 +0000 | [diff] [blame] | 72 | void EmitClangDiagDocs(RecordKeeper &Records, raw_ostream &OS); |
Richard Smith | 081ad4d | 2017-01-24 19:39:46 +0000 | [diff] [blame] | 73 | void EmitClangOptDocs(RecordKeeper &Records, raw_ostream &OS); |
Aaron Ballman | 97dba04 | 2014-02-17 15:27:10 +0000 | [diff] [blame] | 74 | |
Jakob Stoklund Olesen | 995e0e1 | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 75 | } // end namespace clang |
Benjamin Kramer | 12152ab | 2014-08-08 13:24:19 +0000 | [diff] [blame] | 76 | |
| 77 | #endif |