llvm::BaseRecord

Shared accessors for Directive and Clause records in DirectiveBase.td.

Synopsis

Declared in <llvm/TableGen/DirectiveEmitter.h>

class BaseRecord;

Member Functions

NameDescription
BaseRecord [constructor]Construct a base record view over TableGen record Def.
getFormattedName Return the record's name formatted with spaces as underscores.
getRecord Return the underlying TableGen record.
getRecordName Return the TableGen record name.
getSpellingForIdentifier Return a stable spelling suitable for generating an identifier name.
getSpellings Return all spellings defined on this record.
isDefault Return whether this record is marked as the default entry.

Static Member Functions

NameDescription
getSnakeName Return Name with whitespace replaced by underscores.
getUpperCamelName Return Name converted to UpperCamelCase by removing separators.

Protected Data Members

NameDescription
Def Underlying TableGen record for this directive or clause.

Derived Classes

NameDescription
Clause Accessors for a Clause record defined in DirectiveBase.td.
Directive Accessors for a Directive record defined in DirectiveBase.td.
EnumVal Accessors for an enumeration value record used by clauses.