LLVM  7.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


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 1800 of file Record.cpp.

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

Referenced by print().

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void RecordVal::dump ( ) const

Definition at line 1833 of file Record.cpp.

References llvm::errs().

◆ getName()

StringRef RecordVal::getName ( ) const

◆ getNameInit()

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

◆ getNameInitAsString()

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

Definition at line 1318 of file Record.h.

Referenced by isObjectStart(), and print().

◆ getPrefix()

bool llvm::RecordVal::getPrefix ( ) const

◆ getType()

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

◆ getValue()

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

◆ 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

Definition at line 1306 of file Record.h.

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