13#ifndef LLVM_TABLEGEN_MAIN_H
14#define LLVM_TABLEGEN_MAIN_H
An efficient, type-erasing, non-owning reference to a callable.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
function_ref< bool(TableGenOutputFiles &OutFiles, const RecordKeeper &Records)> MultiFileTableGenMainFn
Perform the action using Records, and store output in OutFiles.
function_ref< bool(raw_ostream &OS, const RecordKeeper &Records)> TableGenMainFn
Returns true on error, false otherwise.
cl::opt< bool > EmitLongStrLiterals
Controls emitting large character arrays as strings or character arrays.
int TableGenMain(const char *argv0, TableGenMainFn MainFn=nullptr)
std::map< StringRef, std::string > AdditionalFiles