Lines Matching refs:FieldName

1282 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {  in getFieldType()
1284 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1377 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1379 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1385 const std::string &FieldName) const { in getFieldInit()
1392 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1490 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1491 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1497 const std::string &FieldName) const { in getFieldInit()
1498 return Def->getValue(FieldName)->getValue(); in getFieldInit()
1526 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName)) in resolveListElementReference()
1543 Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName); in resolveReferences()
1550 return FieldInit::get(NewRec, FieldName); in resolveReferences()
1796 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit()
1797 const RecordVal *R = getValue(FieldName); in getValueInit()
1800 "' does not have a field named `" + FieldName + "'!\n"); in getValueInit()
1809 std::string Record::getValueAsString(StringRef FieldName) const { in getValueAsString()
1810 const RecordVal *R = getValue(FieldName); in getValueAsString()
1813 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsString()
1818 FieldName + "' does not have a string initializer!"); in getValueAsString()
1825 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const { in getValueAsBitsInit()
1826 const RecordVal *R = getValue(FieldName); in getValueAsBitsInit()
1829 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBitsInit()
1834 FieldName + "' does not have a BitsInit initializer!"); in getValueAsBitsInit()
1841 ListInit *Record::getValueAsListInit(StringRef FieldName) const { in getValueAsListInit()
1842 const RecordVal *R = getValue(FieldName); in getValueAsListInit()
1845 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsListInit()
1850 FieldName + "' does not have a list initializer!"); in getValueAsListInit()
1858 Record::getValueAsListOfDefs(StringRef FieldName) const { in getValueAsListOfDefs()
1859 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfDefs()
1866 FieldName + "' list is not entirely DefInit!"); in getValueAsListOfDefs()
1876 int64_t Record::getValueAsInt(StringRef FieldName) const { in getValueAsInt()
1877 const RecordVal *R = getValue(FieldName); in getValueAsInt()
1880 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsInt()
1885 FieldName + "' does not have an int initializer!"); in getValueAsInt()
1893 Record::getValueAsListOfInts(StringRef FieldName) const { in getValueAsListOfInts()
1894 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfInts()
1901 FieldName + "' does not have a list of ints initializer!"); in getValueAsListOfInts()
1912 Record::getValueAsListOfStrings(StringRef FieldName) const { in getValueAsListOfStrings()
1913 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfStrings()
1920 FieldName + "' does not have a list of strings initializer!"); in getValueAsListOfStrings()
1930 Record *Record::getValueAsDef(StringRef FieldName) const { in getValueAsDef()
1931 const RecordVal *R = getValue(FieldName); in getValueAsDef()
1934 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDef()
1939 FieldName + "' does not have a def initializer!"); in getValueAsDef()
1946 bool Record::getValueAsBit(StringRef FieldName) const { in getValueAsBit()
1947 const RecordVal *R = getValue(FieldName); in getValueAsBit()
1950 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBit()
1955 FieldName + "' does not have a bit initializer!"); in getValueAsBit()
1958 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const { in getValueAsBitOrUnset() argument
1959 const RecordVal *R = getValue(FieldName); in getValueAsBitOrUnset()
1962 "' does not have a field named `" + FieldName.str() + "'!\n"); in getValueAsBitOrUnset()
1972 FieldName + "' does not have a bit initializer!"); in getValueAsBitOrUnset()
1979 DagInit *Record::getValueAsDag(StringRef FieldName) const { in getValueAsDag()
1980 const RecordVal *R = getValue(FieldName); in getValueAsDag()
1983 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDag()
1988 FieldName + "' does not have a dag initializer!"); in getValueAsDag()