LLVM 20.0.0git
Classes | Namespaces | Typedefs | Functions
TableGenBackend.h File Reference
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/TableGen/Record.h"

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.