Jakob Stoklund Olesen | 3cc509b | 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 | |
| 16 | #include <string> |
| 17 | |
| 18 | namespace llvm { |
| 19 | class raw_ostream; |
| 20 | class RecordKeeper; |
| 21 | } |
| 22 | |
| 23 | using llvm::raw_ostream; |
| 24 | using llvm::RecordKeeper; |
| 25 | |
| 26 | namespace clang { |
| 27 | |
| 28 | void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS); |
| 29 | void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, |
| 30 | const std::string &N, const std::string &S); |
| 31 | |
| 32 | void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); |
| 33 | void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); |
| 34 | void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); |
| 35 | void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); |
| 36 | void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); |
| 37 | void EmitClangAttrSpellingList(RecordKeeper &Records, raw_ostream &OS); |
Michael Han | 51d8c52 | 2013-01-24 16:46:58 +0000 | [diff] [blame] | 38 | void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 3cc509b | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 39 | void EmitClangAttrLateParsedList(RecordKeeper &Records, raw_ostream &OS); |
| 40 | void EmitClangAttrTemplateInstantiate(RecordKeeper &Records, raw_ostream &OS); |
| 41 | void EmitClangAttrParsedAttrList(RecordKeeper &Records, raw_ostream &OS); |
| 42 | void EmitClangAttrParsedAttrKinds(RecordKeeper &Records, raw_ostream &OS); |
Alexander Kornienko | c3cd2b0 | 2013-01-07 17:53:08 +0000 | [diff] [blame] | 43 | void EmitClangAttrDump(RecordKeeper &Records, raw_ostream &OS); |
Jakob Stoklund Olesen | 3cc509b | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 44 | |
| 45 | void EmitClangDiagsDefs(RecordKeeper &Records, raw_ostream &OS, |
| 46 | const std::string &Component); |
| 47 | void EmitClangDiagGroups(RecordKeeper &Records, raw_ostream &OS); |
| 48 | void EmitClangDiagsIndexName(RecordKeeper &Records, raw_ostream &OS); |
| 49 | |
| 50 | void EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS); |
| 51 | |
Dmitri Gribenko | c24a76e | 2012-08-31 02:21:44 +0000 | [diff] [blame] | 52 | void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS); |
| 53 | void EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | 5bd1e5b | 2013-01-30 14:29:28 +0000 | [diff] [blame^] | 54 | void EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS); |
Dmitri Gribenko | c24a76e | 2012-08-31 02:21:44 +0000 | [diff] [blame] | 55 | |
Dmitri Gribenko | e4330a3 | 2012-09-10 20:32:42 +0000 | [diff] [blame] | 56 | void EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS); |
| 57 | |
Jakob Stoklund Olesen | 3cc509b | 2012-06-13 05:12:41 +0000 | [diff] [blame] | 58 | void EmitNeon(RecordKeeper &Records, raw_ostream &OS); |
| 59 | void EmitNeonSema(RecordKeeper &Records, raw_ostream &OS); |
| 60 | void EmitNeonTest(RecordKeeper &Records, raw_ostream &OS); |
| 61 | |
| 62 | void EmitOptParser(RecordKeeper &Records, raw_ostream &OS, bool GenDefs); |
| 63 | |
| 64 | } // end namespace clang |