13#ifndef LLVM_TABLEGEN_TABLEGENBACKEND_H
14#define LLVM_TABLEGEN_TABLEGENBACKEND_H
76 return EmitterC(RK).run(FilenamePrefix);
StringRef - Represent a constant reference to a string, i.e.
MultiFileOptClass(StringRef Name, StringRef Desc)
OptClass(StringRef Name, StringRef Desc)
This class implements an extremely fast bulk output stream that can only output to a stream.
A raw_ostream that writes to an std::string.
bool ApplyCallback(const RecordKeeper &Records, TableGenOutputFiles &OutFiles, StringRef FilenamePrefix)
Apply callback for any command line option registered above.
This is an optimization pass for GlobalISel generic memory operations.
void emitSourceFileHeader(StringRef Desc, raw_ostream &OS, const RecordKeeper &Record=RecordKeeper())
emitSourceFileHeader - Output an LLVM style file header to the specified raw_ostream.
Represents the emitting function.
FnT(MultiFileGeneratorType *Gen)
bool operator==(const FnT &Other) const
void(const RecordKeeper &Records, raw_ostream &OS) SingleFileGeneratorType
FnT(SingleFileGeneratorType *Gen)
TableGenOutputFiles( StringRef FilenamePrefix, const RecordKeeper &Records) MultiFileGeneratorType
MultiFileGeneratorType * MultiFileGenerator
SingleFileGeneratorType * SingleFileGenerator
Opt(StringRef Name, FnT CB, StringRef Desc, bool ByDefault=false)