Lines Matching refs:Fields

68   SmallVector<GenericField, 1> Fields;  member
77 SmallVector<GenericField, 2> Fields; member
84 for (const auto &Field : Fields) { in getFieldByName()
210 assert(Index.Fields.size() == 1); in getNumericKey()
212 if (Index.Fields[0].Enum) { in getNumericKey()
213 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
214 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey()
217 return getInt(Rec, Index.Fields[0].Name); in getNumericKey()
224 for (const auto &Field : Index.Fields) { in compareBy()
326 for (const auto &Field : Index.Fields) { in emitLookupFunction()
352 for (const auto &Field : Index.Fields) { in emitLookupFunction()
371 if (Index.Fields.size() == 1 && in emitLookupFunction()
372 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
384 OS << " size_t Idx = " << Index.Fields[0].Name << ";\n"; in emitLookupFunction()
396 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
407 for (const auto &Field : Index.Fields) { in emitLookupFunction()
414 for (const auto &Field : Index.Fields) { in emitLookupFunction()
432 for (const auto &Field : Index.Fields) { in emitLookupFunction()
460 for (const auto &Field : Index.Fields) in emitLookupFunction()
478 for (const auto &Field : Index.Fields) in emitLookupDeclaration()
509 for (const auto &Field : Table.Fields) in emitGenericTable()
564 Index->Fields.push_back(*Field); in parseSearchIndex()
567 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
613 for (auto &Field : Table.Fields) { in collectTableEntries()
640 for (auto &Field : Table.Fields) { in collectTableEntries()
693 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields"); in run() local
694 for (const auto &FieldName : Fields) { in run()
695 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
698 if (!parseFieldType(Table->Fields.back(), TypeOfRecordVal->getValue())) { in run()
791 Table->Fields.emplace_back(FieldName); in run()