Home | History | Annotate | Download | only in TableGen

Lines Matching full:fieldname

1094 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {
1096 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName))
1261 RecTy *VarInit::getFieldType(const std::string &FieldName) const {
1263 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName))
1269 const std::string &FieldName) const {
1276 if (Init *I = TheInit->getFieldInit(R, RV, FieldName))
1381 RecTy *DefInit::getFieldType(const std::string &FieldName) const {
1382 if (const RecordVal *RV = Def->getValue(FieldName))
1388 const std::string &FieldName) const {
1389 return Def->getValue(FieldName)->getValue();
1416 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName))
1433 if (Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName)) {
1439 return FieldInit::get(NewRec, FieldName);
1680 Init *Record::getValueInit(StringRef FieldName) const {
1681 const RecordVal *R = getValue(FieldName);
1684 "' does not have a field named `" + FieldName + "'!\n");
1693 std::string Record::getValueAsString(StringRef FieldName) const {
1694 const RecordVal *R = getValue(FieldName);
1697 "' does not have a field named `" + FieldName + "'!\n");
1702 FieldName + "' does not have a string initializer!");
1709 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const {
1710 const RecordVal *R = getValue(FieldName);
1713 "' does not have a field named `" + FieldName + "'!\n");
1718 FieldName + "' does not have a BitsInit initializer!");
1725 ListInit *Record::getValueAsListInit(StringRef FieldName) const {
1726 const RecordVal *R = getValue(FieldName);
1729 "' does not have a field named `" + FieldName + "'!\n");
1734 FieldName + "' does not have a list initializer!");
1742 Record::getValueAsListOfDefs(StringRef FieldName) const {
1743 ListInit *List = getValueAsListInit(FieldName);
1750 FieldName + "' list is not entirely DefInit!");
1759 int64_t Record::getValueAsInt(StringRef FieldName) const {
1760 const RecordVal *R = getValue(FieldName);
1763 "' does not have a field named `" + FieldName + "'!\n");
1768 FieldName + "' does not have an int initializer!");
1776 Record::getValueAsListOfInts(StringRef FieldName) const {
1777 ListInit *List = getValueAsListInit(FieldName);
1784 FieldName + "' does not have a list of ints initializer!");
1794 Record::getValueAsListOfStrings(StringRef FieldName) const {
1795 ListInit *List = getValueAsListInit(FieldName);
1802 FieldName + "' does not have a list of strings initializer!");
1811 Record *Record::getValueAsDef(StringRef FieldName) const {
1812 const RecordVal *R = getValue(FieldName);
1815 "' does not have a field named `" + FieldName + "'!\n");
1820 FieldName + "' does not have a def initializer!");
1827 bool Record::getValueAsBit(StringRef FieldName) const {
1828 const RecordVal *R = getValue(FieldName);
1831 "' does not have a field named `" + FieldName + "'!\n");
1836 FieldName + "' does not have a bit initializer!");
1839 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const {
1840 const RecordVal *R = getValue(FieldName);
1843 "' does not have a field named `" + FieldName.str() + "'!\n");
1853 FieldName + "' does not have a bit initializer!");
1860 DagInit *Record::getValueAsDag(StringRef FieldName) const {
1861 const RecordVal *R = getValue(FieldName);
1864 "' does not have a field named `" + FieldName + "'!\n");
1869 FieldName + "' does not have a dag initializer!");