Lines Matching full:fieldname
1026 RecTy *TypedInit::getFieldType(const std::string &FieldName) const {
1029 RecordVal *Field = RecordType->getRecord()->getValue(FieldName);
1115 FieldName) const {
1117 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName))
1123 const std::string &FieldName) const {
1130 if (Init *I = TheInit->getFieldInit(R, RV, FieldName))
1189 RecTy *DefInit::getFieldType(const std::string &FieldName) const {
1190 if (const RecordVal *RV = Def->getValue(FieldName))
1196 const std::string &FieldName) const {
1197 return Def->getValue(FieldName)->getValue();
1207 if (Init *BitsVal = Rec->getFieldInit(R, RV, FieldName))
1220 if (Init *ListVal = Rec->getFieldInit(R, RV, FieldName))
1237 Init *BitsVal = NewRec->getFieldInit(R, RV, FieldName);
1244 return new FieldInit(NewRec, FieldName);
1371 Init *Record::getValueInit(StringRef FieldName) const {
1372 const RecordVal *R = getValue(FieldName);
1375 FieldName.str() + "'!\n";
1384 std::string Record::getValueAsString(StringRef FieldName) const {
1385 const RecordVal *R = getValue(FieldName);
1388 FieldName.str() + "'!\n";
1392 throw "Record `" + getName() + "', field `" + FieldName.str() +
1400 BitsInit *Record::getValueAsBitsInit(StringRef FieldName) const {
1401 const RecordVal *R = getValue(FieldName);
1404 FieldName.str() + "'!\n";
1408 throw "Record `" + getName() + "', field `" + FieldName.str() +
1416 ListInit *Record::getValueAsListInit(StringRef FieldName) const {
1417 const RecordVal *R = getValue(FieldName);
1420 FieldName.str() + "'!\n";
1424 throw "Record `" + getName() + "', field `" + FieldName.str() +
1433 Record::getValueAsListOfDefs(StringRef FieldName) const {
1434 ListInit *List = getValueAsListInit(FieldName);
1440 throw "Record `" + getName() + "', field `" + FieldName.str() +
1451 int64_t Record::getValueAsInt(StringRef FieldName) const {
1452 const RecordVal *R = getValue(FieldName);
1455 FieldName.str() + "'!\n";
1459 throw "Record `" + getName() + "', field `" + FieldName.str() +
1468 Record::getValueAsListOfInts(StringRef FieldName) const {
1469 ListInit *List = getValueAsListInit(FieldName);
1475 throw "Record `" + getName() + "', field `" + FieldName.str() +
1487 Record::getValueAsListOfStrings(StringRef FieldName) const {
1488 ListInit *List = getValueAsListInit(FieldName);
1494 throw "Record `" + getName() + "', field `" + FieldName.str() +
1505 Record *Record::getValueAsDef(StringRef FieldName) const {
1506 const RecordVal *R = getValue(FieldName);
1509 FieldName.str() + "'!\n";
1513 throw "Record `" + getName() + "', field `" + FieldName.str() +
1521 bool Record::getValueAsBit(StringRef FieldName) const {
1522 const RecordVal *R = getValue(FieldName);
1525 FieldName.str() + "'!\n";
1529 throw "Record `" + getName() + "', field `" + FieldName.str() +
1537 DagInit *Record::getValueAsDag(StringRef FieldName) const {
1538 const RecordVal *R = getValue(FieldName);
1541 FieldName.str() + "'!\n";
1545 throw "Record `" + getName() + "', field `" + FieldName.str() +
1549 std::string Record::getValueAsCode(StringRef FieldName) const {
1550 const RecordVal *R = getValue(FieldName);
1553 FieldName.str() + "'!\n";
1557 throw "Record `" + getName() + "', field `" + FieldName.str() +