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 |
Definition at line 1630 of file Record.cpp.
References llvm::RecTy::convertValue(), and llvm::UnsetInit::get().
Definition at line 1636 of file Record.cpp.
References llvm::RecTy::convertValue(), and llvm::UnsetInit::get().
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().
|
inline |
Definition at line 1349 of file Record.h.
Referenced by llvm::Record::addValue(), getNameInitAsString(), and llvm::VarInit::resolveListElementReference().
|
inline |
Definition at line 1350 of file Record.h.
References llvm::Init::getAsUnquotedString(), and getNameInit().
Referenced by print(), and llvm::Record::resolveReferencesTo().
|
inline |
|
inline |
Definition at line 1355 of file Record.h.
Referenced by llvm::UnOpInit::Fold(), and print().
|
inline |
Definition at line 1356 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 1650 of file Record.cpp.
References getNameInitAsString(), getPrefix(), getType(), and getValue().
Referenced by llvm::operator<<().
Definition at line 1358 of file Record.h.
References llvm::Init::convertInitializerTo().