LLVM
8.0.1
|
#include "llvm/TableGen/Record.h"
Public Member Functions | |
RecordVal (Init *N, RecTy *T, bool P) | |
StringRef | getName () const |
Init * | getNameInit () const |
std::string | getNameInitAsString () const |
bool | getPrefix () const |
RecTy * | getType () const |
Init * | getValue () const |
bool | setValue (Init *V) |
void | dump () const |
void | print (raw_ostream &OS, bool PrintSem=true) const |
Friends | |
class | Record |
Definition at line 1799 of file Record.cpp.
References assert(), llvm::UnsetInit::get(), and setValue().
LLVM_DUMP_METHOD void RecordVal::dump | ( | ) | const |
Definition at line 1832 of file Record.cpp.
References llvm::errs().
StringRef RecordVal::getName | ( | ) | const |
Definition at line 1805 of file Record.cpp.
References getNameInit(), and getValue().
Referenced by llvm::Record::getValueAsBit(), llvm::Record::getValueAsBitOrUnset(), llvm::Record::getValueAsBitsInit(), llvm::Record::getValueAsDag(), llvm::Record::getValueAsDef(), llvm::Record::getValueAsInt(), llvm::Record::getValueAsListInit(), llvm::Record::getValueAsListOfDefs(), llvm::Record::getValueAsListOfInts(), llvm::Record::getValueAsListOfStrings(), llvm::Record::getValueAsString(), llvm::Record::getValueInit(), and QualifiedNameOfImplicitName().
|
inline |
Definition at line 1316 of file Record.h.
References Name.
Referenced by llvm::Record::addValue(), getName(), QualifiedNameOfImplicitName(), and llvm::Record::resolveReferences().
|
inline |
|
inline |
Definition at line 1322 of file Record.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getInt().
Referenced by print().
|
inline |
Definition at line 1323 of file Record.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getPointer().
Referenced by print(), QualifiedNameOfImplicitName(), and setValue().
|
inline |
Definition at line 1324 of file Record.h.
References llvm::RecTy::dump(), and llvm::RecTy::print().
Referenced by checkBitsConcrete(), llvm::FieldInit::Fold(), getName(), 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(), QualifiedNameOfImplicitName(), and llvm::RecordResolver::resolve().
void RecordVal::print | ( | raw_ostream & | OS, |
bool | PrintSem = true |
||
) | const |
Definition at line 1835 of file Record.cpp.
References llvm::Init::getAsString(), getNameInitAsString(), getPrefix(), llvm::TypedInit::getType(), getType(), getValue(), and llvm::PrintFatalError().
Referenced by llvm::operator<<().
Definition at line 1809 of file Record.cpp.
References assert(), llvm::tgtok::Bits, llvm::BitsInit::get(), llvm::Init::getCastTo(), getType(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::SmallVectorImpl< T >::reserve().
Referenced by QualifiedNameOfImplicitName(), and RecordVal().