Lines Matching refs:FieldName
1264 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1266 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1359 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1361 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1367 const std::string &FieldName) const { in getFieldInit()
1374 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1472 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1473 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1479 const std::string &FieldName) const { in getFieldInit()
1480 return Def->getValue(FieldName)->getValue(); in getFieldInit()
1508 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName)) in resolveListElementReference()
1525 Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName); in resolveReferences()
1532 return FieldInit::get(NewRec, FieldName); in resolveReferences()
1785 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit()
1786 const RecordVal *R = getValue(FieldName); in getValueInit()
1789 "' does not have a field named `" + FieldName + "'!\n"); in getValueInit()
1798 std::string Record::getValueAsString(StringRef FieldName) const { in getValueAsString()
1799 const RecordVal *R = getValue(FieldName); in getValueAsString()
1802 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsString()
1807 FieldName + "' does not have a string initializer!"); in getValueAsString()
1814 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const { in getValueAsBitsInit()
1815 const RecordVal *R = getValue(FieldName); in getValueAsBitsInit()
1818 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBitsInit()
1823 FieldName + "' does not have a BitsInit initializer!"); in getValueAsBitsInit()
1830 ListInit *Record::getValueAsListInit(StringRef FieldName) const { in getValueAsListInit()
1831 const RecordVal *R = getValue(FieldName); in getValueAsListInit()
1834 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsListInit()
1839 FieldName + "' does not have a list initializer!"); in getValueAsListInit()
1847 Record::getValueAsListOfDefs(StringRef FieldName) const { in getValueAsListOfDefs()
1848 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfDefs()
1855 FieldName + "' list is not entirely DefInit!"); in getValueAsListOfDefs()
1865 int64_t Record::getValueAsInt(StringRef FieldName) const { in getValueAsInt()
1866 const RecordVal *R = getValue(FieldName); in getValueAsInt()
1869 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsInt()
1874 FieldName + "' does not have an int initializer!"); in getValueAsInt()
1882 Record::getValueAsListOfInts(StringRef FieldName) const { in getValueAsListOfInts()
1883 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfInts()
1890 FieldName + "' does not have a list of ints initializer!"); in getValueAsListOfInts()
1901 Record::getValueAsListOfStrings(StringRef FieldName) const { in getValueAsListOfStrings()
1902 ListInit *List = getValueAsListInit(FieldName); in getValueAsListOfStrings()
1909 FieldName + "' does not have a list of strings initializer!"); in getValueAsListOfStrings()
1919 Record *Record::getValueAsDef(StringRef FieldName) const { in getValueAsDef()
1920 const RecordVal *R = getValue(FieldName); in getValueAsDef()
1923 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDef()
1928 FieldName + "' does not have a def initializer!"); in getValueAsDef()
1935 bool Record::getValueAsBit(StringRef FieldName) const { in getValueAsBit()
1936 const RecordVal *R = getValue(FieldName); in getValueAsBit()
1939 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsBit()
1944 FieldName + "' does not have a bit initializer!"); in getValueAsBit()
1947 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const { in getValueAsBitOrUnset() argument
1948 const RecordVal *R = getValue(FieldName); in getValueAsBitOrUnset()
1951 "' does not have a field named `" + FieldName.str() + "'!\n"); in getValueAsBitOrUnset()
1961 FieldName + "' does not have a bit initializer!"); in getValueAsBitOrUnset()
1968 DagInit *Record::getValueAsDag(StringRef FieldName) const { in getValueAsDag()
1969 const RecordVal *R = getValue(FieldName); in getValueAsDag()
1972 "' does not have a field named `" + FieldName + "'!\n"); in getValueAsDag()
1977 FieldName + "' does not have a dag initializer!"); in getValueAsDag()