Lines Matching refs:Fields
66 SmallVector<GenericField, 1> Fields; member
75 SmallVector<GenericField, 2> Fields; member
82 for (const auto &Field : Fields) { in getFieldByName()
208 assert(Index.Fields.size() == 1); in getNumericKey()
210 if (Index.Fields[0].Enum) { in getNumericKey()
211 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
212 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey()
215 return getInt(Rec, Index.Fields[0].Name); in getNumericKey()
222 for (const auto &Field : Index.Fields) { in compareBy()
324 for (const auto &Field : Index.Fields) { in emitLookupFunction()
350 for (const auto &Field : Index.Fields) { in emitLookupFunction()
369 if (Index.Fields.size() == 1 && in emitLookupFunction()
370 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
382 OS << " size_t Idx = " << Index.Fields[0].Name << ";\n"; in emitLookupFunction()
394 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
405 for (const auto &Field : Index.Fields) { in emitLookupFunction()
412 for (const auto &Field : Index.Fields) { in emitLookupFunction()
430 for (const auto &Field : Index.Fields) { in emitLookupFunction()
458 for (const auto &Field : Index.Fields) in emitLookupFunction()
476 for (const auto &Field : Index.Fields) in emitLookupDeclaration()
507 for (const auto &Field : Table.Fields) in emitGenericTable()
562 Index->Fields.push_back(*Field); in parseSearchIndex()
565 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
611 for (auto &Field : Table.Fields) { in collectTableEntries()
638 for (auto &Field : Table.Fields) { in collectTableEntries()
652 std::copy(Table.Fields.begin(), Table.Fields.end(), in collectTableEntries()
653 std::back_inserter(Idx.Fields)); in collectTableEntries()
698 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields"); in run() local
699 for (const auto &FieldName : Fields) { in run()
700 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
703 if (!parseFieldType(Table->Fields.back(), TypeOfRecordVal->getValue())) { in run()
796 Table->Fields.emplace_back(FieldName); in run()