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

#include <Record.h>

Public Member Functions

 RecordVal (Init *N, RecTy *T, bool P)
 
 RecordVal (StringRef 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 1223 of file Record.h.

Constructor & Destructor Documentation

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

Member Function Documentation

LLVM_DUMP_METHOD void RecordVal::dump ( void  ) const

Definition at line 1594 of file Record.cpp.

References llvm::errs().

StringRef RecordVal::getName ( ) const

Definition at line 1590 of file Record.cpp.

References getNameInit(), and getValue().

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

Definition at line 1236 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 1240 of file Record.h.

Referenced by print().

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

Definition at line 1241 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 1596 of file Record.cpp.

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

Referenced by llvm::operator<<().

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

Definition at line 1244 of file Record.h.

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

Friends And Related Function Documentation

friend class Record
friend

Definition at line 1224 of file Record.h.


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