Home | History | Annotate | Download | only in TableGen

Lines Matching full:fieldname

1254 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {
1256 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName))
1350 RecTy *VarInit::getFieldType(const std::string &FieldName) const {
1352 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName))
1358 const std::string &FieldName) const {
1365 if (Init *I = TheInit->getFieldInit(R, RV, FieldName))
1463 RecTy *DefInit::getFieldType(const std::string &FieldName) const {
1464 if (const RecordVal *RV = Def->getValue(FieldName))
1470 const std::string &FieldName) const {
1471 return Def->getValue(FieldName)->getValue();
1499 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName))
1516 Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName);
1523 return FieldInit::get(NewRec, FieldName);
1776 Init *Record::getValueInit(StringRef FieldName) const {
1777 const RecordVal *R = getValue(FieldName);
1780 "' does not have a field named `" + FieldName.str() + "'!\n");
1789 std::string Record::getValueAsString(StringRef FieldName) const {
1790 const RecordVal *R = getValue(FieldName);
1793 "' does not have a field named `" + FieldName.str() + "'!\n");
1798 FieldName.str() + "' does not have a string initializer!");
1805 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const {
1806 const RecordVal *R = getValue(FieldName);
1809 "' does not have a field named `" + FieldName.str() + "'!\n");
1814 FieldName.str() + "' does not have a BitsInit initializer!");
1821 ListInit *Record::getValueAsListInit(StringRef FieldName) const {
1822 const RecordVal *R = getValue(FieldName);
1825 "' does not have a field named `" + FieldName.str() + "'!\n");
1830 FieldName.str() + "' does not have a list initializer!");
1838 Record::getValueAsListOfDefs(StringRef FieldName) const {
1839 ListInit *List = getValueAsListInit(FieldName);
1846 FieldName.str() + "' list is not entirely DefInit!");
1856 int64_t Record::getValueAsInt(StringRef FieldName) const {
1857 const RecordVal *R = getValue(FieldName);
1860 "' does not have a field named `" + FieldName.str() + "'!\n");
1865 FieldName.str() + "' does not have an int initializer!");
1873 Record::getValueAsListOfInts(StringRef FieldName) const {
1874 ListInit *List = getValueAsListInit(FieldName);
1881 FieldName.str() + "' does not have a list of ints initializer!");
1892 Record::getValueAsListOfStrings(StringRef FieldName) const {
1893 ListInit *List = getValueAsListInit(FieldName);
1900 FieldName.str() + "' does not have a list of strings initializer!");
1910 Record *Record::getValueAsDef(StringRef FieldName) const {
1911 const RecordVal *R = getValue(FieldName);
1914 "' does not have a field named `" + FieldName.str() + "'!\n");
1919 FieldName.str() + "' does not have a def initializer!");
1926 bool Record::getValueAsBit(StringRef FieldName) const {
1927 const RecordVal *R = getValue(FieldName);
1930 "' does not have a field named `" + FieldName.str() + "'!\n");
1935 FieldName.str() + "' does not have a bit initializer!");
1938 bool Record::getValueAsBitOrUnset(StringRef FieldName, bool &Unset) const {
1939 const RecordVal *R = getValue(FieldName);
1942 "' does not have a field named `" + FieldName.str() + "'!\n");
1952 FieldName.str() + "' does not have a bit initializer!");
1959 DagInit *Record::getValueAsDag(StringRef FieldName) const {
1960 const RecordVal *R = getValue(FieldName);
1963 "' does not have a field named `" + FieldName.str() + "'!\n");
1968 FieldName.str() + "' does not have a dag initializer!");