LLVM 22.0.0git
TableGenBackend.h File Reference

Go to the source code of this file.

Classes

struct  llvm::TableGen::Emitter::Opt
 Creating an Opt object registers the command line option Name with TableGen backend and associates the callback CB with that option. More...
class  llvm::TableGen::Emitter::OptClass< EmitterC >
 Convienence wrapper around Opt that registers EmitterClass::run as the callback. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::TableGen
namespace  llvm::TableGen::Emitter

Typedefs

using llvm::TableGen::Emitter::FnT = function_ref<void(const RecordKeeper &Records, raw_ostream &OS)>

Functions

bool llvm::TableGen::Emitter::ApplyCallback (const RecordKeeper &Records, raw_ostream &OS)
 Apply callback for any command line option registered above.
void llvm::emitSourceFileHeader (StringRef Desc, raw_ostream &OS, const RecordKeeper &Record=RecordKeeper())
 emitSourceFileHeader - Output an LLVM style file header to the specified raw_ostream.