LLVM  5.0.0
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
 
Init * getNameInit () const
 
std::string getNameInitAsString () const
 
bool getPrefix () const
 
RecTy * getType () const
 
Init * getValue () 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 1211 of file Record.h.

Constructor & Destructor Documentation

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

Member Function Documentation

LLVM_DUMP_METHOD void RecordVal::dump ( ) const

Definition at line 1585 of file Record.cpp.

References llvm::errs().

StringRef RecordVal::getName ( ) const

Definition at line 1580 of file Record.cpp.

References getNameInit(), and getValue().

Init* llvm::RecordVal::getNameInit ( ) const
inline
std::string llvm::RecordVal::getNameInitAsString ( ) const
inline

Definition at line 1224 of file Record.h.

References llvm::Init::getAsUnquotedString(), and getNameInit().

Referenced by print(), and llvm::Record::resolveReferencesTo().

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

Definition at line 1228 of file Record.h.

Referenced by print().

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

Definition at line 1229 of file Record.h.

Referenced by llvm::UnOpInit::Fold(), print(), and setValue().

Init* llvm::RecordVal::getValue ( ) const
inline
void RecordVal::print ( raw_ostream &  OS,
bool  PrintSem = true 
) const

Definition at line 1588 of file Record.cpp.

References getNameInitAsString(), getPrefix(), getType(), and getValue().

Referenced by llvm::operator<<().

bool llvm::RecordVal::setValue ( Init *  V)
inline

Definition at line 1232 of file Record.h.

References llvm::Init::convertInitializerTo(), and getType().

Friends And Related Function Documentation

friend class Record
friend

Definition at line 1212 of file Record.h.


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