16#define DEBUG_TYPE "skeleton-emitter"
30class SkeletonEmitter {
53 X(
"gen-skeleton-class",
"Generate example skeleton class");
60 SkeletonEmitter(RK).run(
OS);
64 "Generate example skeleton entry");
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
static void EmitSkeleton(const RecordKeeper &RK, raw_ostream &OS)
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
Convienence wrapper around Opt that registers EmitterClass::run as the callback.
This class implements an extremely fast bulk output stream that can only output to a stream.
llvm::SmallVector< std::shared_ptr< RecordsSlice >, 4 > Records
PointerTypeMap run(const Module &M)
Compute the PointerTypeMap for the module M.
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.
Creating an Opt object registers the command line option Name with TableGen backend and associates th...