LLVM  8.0.1
Public Member Functions | Friends | List of all members
llvm::RecordVal Class Reference

#include "llvm/TableGen/Record.h"

Public Member Functions

 RecordVal (Init *N, RecTy *T, bool P)
 
StringRef getName () const
 
InitgetNameInit () const
 
std::string getNameInitAsString () const
 
bool getPrefix () const
 
RecTygetType () const
 
InitgetValue () const
 
bool setValue (Init *V)
 
void dump () const
 
void print (raw_ostream &OS, bool PrintSem=true) const
 

Friends

class Record
 

Detailed Description

Definition at line 1305 of file Record.h.

Constructor & Destructor Documentation

◆ RecordVal()

RecordVal::RecordVal ( Init N,
RecTy T,
bool  P 
)

Definition at line 1799 of file Record.cpp.

References assert(), llvm::UnsetInit::get(), and setValue().

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void RecordVal::dump ( ) const

Definition at line 1832 of file Record.cpp.

References llvm::errs().

◆ getName()

StringRef RecordVal::getName ( ) const

◆ getNameInit()

Init* llvm::RecordVal::getNameInit ( ) const
inline

◆ getNameInitAsString()

std::string llvm::RecordVal::getNameInitAsString ( ) const
inline

Definition at line 1318 of file Record.h.

Referenced by print().

◆ getPrefix()

bool llvm::RecordVal::getPrefix ( ) const
inline

◆ getType()

RecTy* llvm::RecordVal::getType ( ) const
inline

◆ getValue()

Init* llvm::RecordVal::getValue ( ) const
inline

◆ print()

void RecordVal::print ( raw_ostream OS,
bool  PrintSem = true 
) const

◆ setValue()

bool RecordVal::setValue ( Init V)

Friends And Related Function Documentation

◆ Record

friend class Record
friend

Definition at line 1306 of file Record.h.


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