LLVM 20.0.0git
Public Member Functions | Protected Attributes | List of all members
llvm::BaseRecord Class Reference

#include "llvm/TableGen/DirectiveEmitter.h"

Inheritance diagram for llvm::BaseRecord:
Inheritance graph
[legend]

Public Member Functions

 BaseRecord (const Record *Def)
 
StringRef getName () const
 
StringRef getAlternativeName () const
 
std::string getFormattedName () const
 
bool isDefault () const
 
StringRef getRecordName () const
 

Protected Attributes

const RecordDef
 

Detailed Description

Definition at line 104 of file DirectiveEmitter.h.

Constructor & Destructor Documentation

◆ BaseRecord()

llvm::BaseRecord::BaseRecord ( const Record Def)
inline

Definition at line 106 of file DirectiveEmitter.h.

Member Function Documentation

◆ getAlternativeName()

StringRef llvm::BaseRecord::getAlternativeName ( ) const
inline

Definition at line 110 of file DirectiveEmitter.h.

References Def, and llvm::Record::getValueAsString().

◆ getFormattedName()

std::string llvm::BaseRecord::getFormattedName ( ) const
inline

Definition at line 116 of file DirectiveEmitter.h.

References Def, llvm::Record::getValueAsString(), N, and Name.

◆ getName()

StringRef llvm::BaseRecord::getName ( ) const
inline

Definition at line 108 of file DirectiveEmitter.h.

References Def, and llvm::Record::getValueAsString().

◆ getRecordName()

StringRef llvm::BaseRecord::getRecordName ( ) const
inline

Definition at line 126 of file DirectiveEmitter.h.

References Def, and llvm::Record::getName().

◆ isDefault()

bool llvm::BaseRecord::isDefault ( ) const
inline

Definition at line 123 of file DirectiveEmitter.h.

References Def, and llvm::Record::getValueAsBit().

Member Data Documentation

◆ Def

const Record* llvm::BaseRecord::Def
protected

The documentation for this class was generated from the following file: