Lines Matching refs:Fields
66 SmallVector<GenericField, 1> Fields; member
74 SmallVector<GenericField, 2> Fields; member
81 for (const auto &Field : Fields) { in getFieldByName()
197 assert(Index.Fields.size() == 1); in getNumericKey()
199 if (Index.Fields[0].Enum) { in getNumericKey()
200 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
201 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey()
204 return getInt(Rec, Index.Fields[0].Name); in getNumericKey()
211 for (const auto &Field : Index.Fields) { in compareBy()
313 for (const auto &Field : Index.Fields) { in emitLookupFunction()
339 for (const auto &Field : Index.Fields) { in emitLookupFunction()
362 if (Index.Fields.size() == 1 && in emitLookupFunction()
363 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
375 OS << " size_t Idx = " << Index.Fields[0].Name << ";\n"; in emitLookupFunction()
387 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
398 for (const auto &Field : Index.Fields) { in emitLookupFunction()
405 for (const auto &Field : Index.Fields) { in emitLookupFunction()
425 for (const auto &Field : Index.Fields) { in emitLookupFunction()
453 for (const auto &Field : Index.Fields) in emitLookupFunction()
471 for (const auto &Field : Index.Fields) { in emitLookupDeclaration()
506 for (const auto &Field : Table.Fields) { in emitGenericTable()
555 Index->Fields.push_back(*Field); in parseSearchIndex()
558 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
600 for (auto &Field : Table.Fields) { in collectTableEntries()
625 for (auto &Field : Table.Fields) { in collectTableEntries()
672 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields"); in run() local
673 for (const auto &FieldName : Fields) { in run()
674 Table->Fields.emplace_back(FieldName); in run()
677 if (!parseFieldType(Table->Fields.back(), TypeOfVal->getValue())) { in run()
758 Table->Fields.emplace_back(FieldName); in run()