LLVM  6.0.0svn
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 1211 of file Record.h.

Constructor & Destructor Documentation

◆ RecordVal()

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

Definition at line 1574 of file Record.cpp.

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

Referenced by print().

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void RecordVal::dump ( ) const

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

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

◆ 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 llvm::RecordVal::setValue ( Init V)
inline

Friends And Related Function Documentation

◆ Record

friend class Record
friend

Definition at line 1212 of file Record.h.


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