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