LLVM API Documentation

Public Member Functions
llvm::RecordVal Class Reference

#include <Record.h>

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 1346 of file Record.h.


Constructor & Destructor Documentation

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

Definition at line 1648 of file Record.cpp.

References llvm::RecTy::convertValue(), and llvm::UnsetInit::get().

RecordVal::RecordVal ( const std::string &  N,
RecTy T,
unsigned  P 
)

Definition at line 1654 of file Record.cpp.

References llvm::RecTy::convertValue(), and llvm::UnsetInit::get().


Member Function Documentation

void RecordVal::dump ( ) const

Definition at line 1666 of file Record.cpp.

References llvm::errs().

const std::string & RecordVal::getName ( ) const

Definition at line 1660 of file Record.cpp.

References llvm::dyn_cast(), and llvm::StringInit::getValue().

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

Definition at line 1358 of file Record.h.

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

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

Definition at line 1362 of file Record.h.

Referenced by print().

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

Definition at line 1363 of file Record.h.

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

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

Definition at line 1668 of file Record.cpp.

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

Referenced by llvm::operator<<().

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

Definition at line 1366 of file Record.h.

References llvm::Init::convertInitializerTo().


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