llvm::RecordKeeper

Owns and indexes the records parsed from a TableGen input.

Synopsis

Declared in <llvm/TableGen/Record.h>

class RecordKeeper;

Member Functions

NameDescription
RecordKeeper [constructor]Construct an empty record keeper.
~RecordKeeper [destructor]Destroy this record keeper.
addClass Add a class record.
addDef Add a definition record.
addExtraGlobal Add a global variable.
dump Print the record keeper to the standard error stream.
dumpAllocationStats Print allocation statistics.
getAllDerivedDefinitions getAllDerivedDefinitions overloads
getAllDerivedDefinitionsIfDefined Get all the concrete records that inherit from specified class, if the class is defined. Returns an empty vector if the class is not defined.
getClass Get the class with the specified name.
getClasses Get the map of classes.
getDef Get the concrete record with the specified name.
getDefs Get the map of records (defs).
getGlobal Get the Init value of the specified global variable.
getGlobals Get the map of global variables.
getImpl Return the internal implementation of the RecordKeeper.
getInputFilename Get the main TableGen input file's name.
getNewAnonymousName Return a new unique anonymous record name.
getTimer Return the timer associated with this record keeper.
saveInputFilename Save the main TableGen input filename.

Non-Member Functions

NameDescription
EmitDetailedRecordsEmit detailed textual representations of all records.
EmitJSONEmit a JSON representation of all records.
TableGen::Emitter::ApplyCallbackApply callback for any command line option registered above.