LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::RecordVal Class Reference

#include <Record.h>

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 1339 of file Record.h.

Constructor & Destructor Documentation

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

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

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

Member Function Documentation

void RecordVal::dump ( ) const

Definition at line 1648 of file Record.cpp.

References llvm::errs().

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

Definition at line 1642 of file Record.cpp.

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

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

Definition at line 1350 of file Record.h.

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

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

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

Definition at line 1354 of file Record.h.

Referenced by print().

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

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

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

Referenced by llvm::operator<<().

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

Definition at line 1358 of file Record.h.

References llvm::Init::convertInitializerTo().


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