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 llvm::Record *Def)
 
StringRef getName () const
 
StringRef getAlternativeName () const
 
std::string getFormattedName ()
 
bool isDefault () const
 
StringRef getRecordName () const
 

Protected Attributes

const llvm::RecordDef
 

Detailed Description

Definition at line 83 of file DirectiveEmitter.h.

Constructor & Destructor Documentation

◆ BaseRecord()

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

Definition at line 85 of file DirectiveEmitter.h.

Member Function Documentation

◆ getAlternativeName()

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

Definition at line 89 of file DirectiveEmitter.h.

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

◆ getFormattedName()

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

Definition at line 95 of file DirectiveEmitter.h.

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

◆ getName()

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

Definition at line 87 of file DirectiveEmitter.h.

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

◆ getRecordName()

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

Definition at line 105 of file DirectiveEmitter.h.

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

◆ isDefault()

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

Definition at line 102 of file DirectiveEmitter.h.

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

Member Data Documentation

◆ Def

const llvm::Record* llvm::BaseRecord::Def
protected

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