LLVM API Documentation
#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 Init * | getNameInit () const |
std::string | getNameInitAsString () const |
unsigned | getPrefix () const |
RecTy * | getType () const |
Init * | getValue () const |
bool | setValue (Init *V) |
void | dump () const |
void | print (raw_ostream &OS, bool PrintSem=true) const |
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().
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().
const Init* llvm::RecordVal::getNameInit | ( | ) | const [inline] |
Definition at line 1357 of file Record.h.
Referenced by llvm::Record::addValue(), getNameInitAsString(), and llvm::VarInit::resolveListElementReference().
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().
unsigned llvm::RecordVal::getPrefix | ( | ) | const [inline] |
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] |
Definition at line 1364 of file Record.h.
Referenced by llvm::DefInit::getFieldInit(), llvm::VarInit::getFieldType(), llvm::Record::getValueAsBit(), llvm::Record::getValueAsBitOrUnset(), llvm::Record::getValueAsBitsInit(), llvm::Record::getValueAsDag(), llvm::Record::getValueAsDef(), llvm::Record::getValueAsInt(), llvm::Record::getValueAsListInit(), llvm::Record::getValueAsString(), llvm::Record::getValueInit(), print(), llvm::VarInit::resolveListElementReference(), and llvm::Record::resolveReferencesTo().
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().