|
LLVM 22.0.0git
|
Classes | |
| struct | FnT |
| Represents the emitting function. More... | |
| class | MultiFileOptClass |
| A version of the wrapper for backends emitting multiple files. More... | |
| struct | Opt |
Creating an Opt object registers the command line option Name with TableGen backend and associates the callback CB with that option. More... | |
| class | OptClass |
| Convienence wrapper around Opt that registers EmitterClass::run as the callback. More... | |
Functions | |
| bool | ApplyCallback (const RecordKeeper &Records, TableGenOutputFiles &OutFiles, StringRef FilenamePrefix) |
| Apply callback for any command line option registered above. | |
| bool llvm::TableGen::Emitter::ApplyCallback | ( | const RecordKeeper & | Records, |
| TableGenOutputFiles & | OutFiles, | ||
| StringRef | FilenamePrefix ) |
Apply callback for any command line option registered above.
Apply callback specified on the command line.
Returns false is no callback was applied.
Returns true if no callback was applied.
Definition at line 63 of file TableGenBackend.cpp.
References CallbackFunction, llvm::TableGen::Emitter::FnT::MultiFileGenerator, and llvm::TableGen::Emitter::FnT::SingleFileGenerator.
Referenced by llvm::TableGenMain().