Lines Matching refs:FieldName

1151 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {  in getFieldType()
1153 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1324 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1326 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1332 const std::string &FieldName) const { in getFieldInit()
1339 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1439 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1440 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1446 const std::string &FieldName) const { in getFieldInit()
1447 return Def->getValue(FieldName)->getValue(); in getFieldInit()
1474 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName)) in resolveListElementReference()
1491 if (Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName)) { in resolveReferences()
1497 return FieldInit::get(NewRec, FieldName); in resolveReferences()
1732 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit()
1733 const RecordVal *R = getValue(FieldName); in getValueInit()
1736 "' does not have a field named `" + FieldName + "'!\n"); in getValueInit()
1741 std::string Record::getValueAsString(StringRef FieldName) const { in getValueAsString()
1742 const RecordVal *R = getValue(FieldName); in getValueAsString()
1745 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsString()
1753 FieldName + "' does not have a string initializer!"); in getValueAsString()
1756 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const { in getValueAsBitsInit()
1757 const RecordVal *R = getValue(FieldName); in getValueAsBitsInit()
1760 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBitsInit()
1765 FieldName + "' does not have a BitsInit initializer!"); in getValueAsBitsInit()
1768 ListInit *Record::getValueAsListInit(StringRef FieldName) const { in getValueAsListInit()
1769 const RecordVal *R = getValue(FieldName); in getValueAsListInit()
1772 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsListInit()
1777 FieldName + "' does not have a list initializer!"); in getValueAsListInit()
1781 Record::getValueAsListOfDefs(StringRef FieldName) const { in getValueAsListOfDefs()
1782 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfDefs()
1789 FieldName + "' list is not entirely DefInit!"); in getValueAsListOfDefs()
1794 int64_t Record::getValueAsInt(StringRef FieldName) const { in getValueAsInt()
1795 const RecordVal *R = getValue(FieldName); in getValueAsInt()
1798 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsInt()
1803 FieldName + "' does not have an int initializer!"); in getValueAsInt()
1807 Record::getValueAsListOfInts(StringRef FieldName) const { in getValueAsListOfInts()
1808 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfInts()
1815 FieldName + "' does not have a list of ints initializer!"); in getValueAsListOfInts()
1821 Record::getValueAsListOfStrings(StringRef FieldName) const { in getValueAsListOfStrings()
1822 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfStrings()
1829 FieldName + "' does not have a list of strings initializer!"); in getValueAsListOfStrings()
1834 Record *Record::getValueAsDef(StringRef FieldName) const { in getValueAsDef()
1835 const RecordVal *R = getValue(FieldName); in getValueAsDef()
1838 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDef()
1843 FieldName + "' does not have a def initializer!"); in getValueAsDef()
1846 bool Record::getValueAsBit(StringRef FieldName) const { in getValueAsBit()
1847 const RecordVal *R = getValue(FieldName); in getValueAsBit()
1850 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBit()
1855 FieldName + "' does not have a bit initializer!"); in getValueAsBit()
1858 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const { in getValueAsBitOrUnset() argument
1859 const RecordVal *R = getValue(FieldName); in getValueAsBitOrUnset()
1862 "' does not have a field named `" + FieldName.str() + "'!\n"); in getValueAsBitOrUnset()
1872 FieldName + "' does not have a bit initializer!"); in getValueAsBitOrUnset()
1875 DagInit *Record::getValueAsDag(StringRef FieldName) const { in getValueAsDag()
1876 const RecordVal *R = getValue(FieldName); in getValueAsDag()
1879 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDag()
1884 FieldName + "' does not have a dag initializer!"); in getValueAsDag()