[#llvm-RecordKeeper] = xref:llvm.adoc[llvm]::RecordKeeper :relfileprefix: ../ :mrdocs: Owns and indexes the records parsed from a TableGen input. == Synopsis Declared in `<llvm/TableGen/Record.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class RecordKeeper; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/RecordKeeper/2constructor-05.adoc[`RecordKeeper`] [.small]#[constructor]# | Construct an empty record keeper. | xref:llvm/RecordKeeper/2destructor.adoc[`~RecordKeeper`] [.small]#[destructor]# | Destroy this record keeper. | xref:llvm/RecordKeeper/addClass.adoc[`addClass`] | Add a class record. | xref:llvm/RecordKeeper/addDef.adoc[`addDef`] | Add a definition record. | xref:llvm/RecordKeeper/addExtraGlobal.adoc[`addExtraGlobal`] | Add a global variable. | xref:llvm/RecordKeeper/dump.adoc[`dump`] | Print the record keeper to the standard error stream. | xref:llvm/RecordKeeper/dumpAllocationStats.adoc[`dumpAllocationStats`] | Print allocation statistics. | xref:llvm/RecordKeeper/getAllDerivedDefinitions-0b.adoc[`getAllDerivedDefinitions`] | `getAllDerivedDefinitions` overloads | xref:llvm/RecordKeeper/getAllDerivedDefinitionsIfDefined.adoc[`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. | xref:llvm/RecordKeeper/getClass.adoc[`getClass`] | Get the class with the specified name. | xref:llvm/RecordKeeper/getClasses.adoc[`getClasses`] | Get the map of classes. | xref:llvm/RecordKeeper/getDef.adoc[`getDef`] | Get the concrete record with the specified name. | xref:llvm/RecordKeeper/getDefs.adoc[`getDefs`] | Get the map of records (defs). | xref:llvm/RecordKeeper/getGlobal.adoc[`getGlobal`] | Get the `Init` value of the specified global variable. | xref:llvm/RecordKeeper/getGlobals.adoc[`getGlobals`] | Get the map of global variables. | xref:llvm/RecordKeeper/getImpl.adoc[`getImpl`] | Return the internal implementation of the RecordKeeper. | xref:llvm/RecordKeeper/getInputFilename.adoc[`getInputFilename`] | Get the main TableGen input file's name. | xref:llvm/RecordKeeper/getNewAnonymousName.adoc[`getNewAnonymousName`] | Return a new unique anonymous record name. | xref:llvm/RecordKeeper/getTimer.adoc[`getTimer`] | Return the timer associated with this record keeper. | xref:llvm/RecordKeeper/saveInputFilename.adoc[`saveInputFilename`] | Save the main TableGen input filename. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/EmitDetailedRecords.adoc[`EmitDetailedRecords`] | Emit detailed textual representations of all records. | xref:llvm/EmitJSON.adoc[`EmitJSON`] | Emit a JSON representation of all records. | xref:llvm/TableGen/Emitter/ApplyCallback.adoc[`TableGen::Emitter::ApplyCallback`] | Apply callback for any command line option registered above. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#