llvm-project/llvm/lib/TableGen
NAKAMURA Takumi 4178ef43b2 TableGen: Introduce llvm::TableGen::Emitter to register backends
`Opt(flag, func, desc)` registers an option into `Action`.

`OptClass<EmitterC>` is also available if `EmitterC(RK).run(OS)` is capable.

`Action` is defined as `ManagedStatic<cl::opt>` to guarantee to be created
when each registration of emitter is invoked.

`llvm::TableGenMain(argv0, MainFn)` invokes `Action` instead of `MainFn`

Differential Revision: https://reviews.llvm.org/D144351
2023-03-21 16:21:27 +09:00
..
CMakeLists.txt
DetailedRecordsBackend.cpp
Error.cpp
JSONBackend.cpp
Main.cpp TableGen: Introduce llvm::TableGen::Emitter to register backends 2023-03-21 16:21:27 +09:00
Parser.cpp [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Record.cpp [llvm-tblgen] Support conditional definitions using !casts clauses 2023-03-10 15:50:11 -08:00
SetTheory.cpp
StringMatcher.cpp [iwyu] Fix files which would break without #include Optional.h 2022-12-05 04:53:28 +00:00
TableGenBackend.cpp TableGen: Introduce llvm::TableGen::Emitter to register backends 2023-03-21 16:21:27 +09:00
TableGenBackendSkeleton.cpp TableGen: Introduce llvm::TableGen::Emitter to register backends 2023-03-21 16:21:27 +09:00
TGLexer.cpp [TableGen] add !toupper and !tolower operators to change the casing of strings. 2023-03-07 12:41:56 +00:00
TGLexer.h [TableGen] add !toupper and !tolower operators to change the casing of strings. 2023-03-07 12:41:56 +00:00
TGParser.cpp [TableGen] add !toupper and !tolower operators to change the casing of strings. 2023-03-07 12:41:56 +00:00
TGParser.h