Home | History | Annotate | Download | only in TableGen

Lines Matching refs:FieldName

1259 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {
1262 RecordVal *Field = RecordType->getRecord()->getValue(FieldName);
1375 RecTy *VarInit::getFieldType(const std::string &FieldName) const {
1377 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName))
1383 const std::string &FieldName) const {
1390 if (Init *I = TheInit->getFieldInit(R, RV, FieldName))
1488 RecTy *DefInit::getFieldType(const std::string &FieldName) const {
1489 if (const RecordVal *RV = Def->getValue(FieldName))
1495 const std::string &FieldName) const {
1496 return Def->getValue(FieldName)->getValue();
1518 if (Init *BitsVal = Rec->getFieldInit(R, RV, FieldName))
1531 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName))
1548 Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName);
1555 return FieldInit::get(NewRec, FieldName);
1804 Init *Record::getValueInit(StringRef FieldName) const {
1805 const RecordVal *R = getValue(FieldName);
1808 FieldName.str() + "'!\n";
1817 std::string Record::getValueAsString(StringRef FieldName) const {
1818 const RecordVal *R = getValue(FieldName);
1821 FieldName.str() + "'!\n";
1825 throw "Record `" + getName() + "', field `" + FieldName.str() +
1833 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const {
1834 const RecordVal *R = getValue(FieldName);
1837 FieldName.str() + "'!\n";
1841 throw "Record `" + getName() + "', field `" + FieldName.str() +
1849 ListInit *Record::getValueAsListInit(StringRef FieldName) const {
1850 const RecordVal *R = getValue(FieldName);
1853 FieldName.str() + "'!\n";
1857 throw "Record `" + getName() + "', field `" + FieldName.str() +
1866 Record::getValueAsListOfDefs(StringRef FieldName) const {
1867 ListInit *List = getValueAsListInit(FieldName);
1873 throw "Record `" + getName() + "', field `" + FieldName.str() +
1884 int64_t Record::getValueAsInt(StringRef FieldName) const {
1885 const RecordVal *R = getValue(FieldName);
1888 FieldName.str() + "'!\n";
1892 throw "Record `" + getName() + "', field `" + FieldName.str() +
1901 Record::getValueAsListOfInts(StringRef FieldName) const {
1902 ListInit *List = getValueAsListInit(FieldName);
1908 throw "Record `" + getName() + "', field `" + FieldName.str() +
1920 Record::getValueAsListOfStrings(StringRef FieldName) const {
1921 ListInit *List = getValueAsListInit(FieldName);
1927 throw "Record `" + getName() + "', field `" + FieldName.str() +
1938 Record *Record::getValueAsDef(StringRef FieldName) const {
1939 const RecordVal *R = getValue(FieldName);
1942 FieldName.str() + "'!\n";
1946 throw "Record `" + getName() + "', field `" + FieldName.str() +
1954 bool Record::getValueAsBit(StringRef FieldName) const {
1955 const RecordVal *R = getValue(FieldName);
1958 FieldName.str() + "'!\n";
1962 throw "Record `" + getName() + "', field `" + FieldName.str() +
1970 DagInit *Record::getValueAsDag(StringRef FieldName) const {
1971 const RecordVal *R = getValue(FieldName);
1974 FieldName.str() + "'!\n";
1978 throw "Record `" + getName() + "', field `" + FieldName.str() +