Lines Matching refs:Fields
67 SmallVector<GenericField, 1> Fields; member
76 SmallVector<GenericField, 2> Fields; member
83 for (const auto &Field : Fields) { in getFieldByName()
211 assert(Index.Fields.size() == 1); in getNumericKey()
213 if (Index.Fields[0].Enum) { in getNumericKey()
214 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
215 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey()
218 return getInt(Rec, Index.Fields[0].Name); in getNumericKey()
225 for (const auto &Field : Index.Fields) { in compareBy()
327 for (const auto &Field : Index.Fields) { in emitLookupFunction()
353 for (const auto &Field : Index.Fields) { in emitLookupFunction()
372 if (Index.Fields.size() == 1 && in emitLookupFunction()
373 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType))) { in emitLookupFunction()
385 OS << " size_t Idx = " << Index.Fields[0].Name << ";\n"; in emitLookupFunction()
397 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
408 for (const auto &Field : Index.Fields) { in emitLookupFunction()
415 for (const auto &Field : Index.Fields) { in emitLookupFunction()
433 for (const auto &Field : Index.Fields) { in emitLookupFunction()
461 for (const auto &Field : Index.Fields) in emitLookupFunction()
479 for (const auto &Field : Index.Fields) in emitLookupDeclaration()
510 for (const auto &Field : Table.Fields) in emitGenericTable()
565 Index->Fields.push_back(*Field); in parseSearchIndex()
568 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
614 for (auto &Field : Table.Fields) { in collectTableEntries()
641 for (auto &Field : Table.Fields) { in collectTableEntries()
655 std::copy(Table.Fields.begin(), Table.Fields.end(), in collectTableEntries()
656 std::back_inserter(Idx.Fields)); in collectTableEntries()
701 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields"); in run() local
702 for (const auto &FieldName : Fields) { in run()
703 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
706 if (!parseFieldType(Table->Fields.back(), TypeOfRecordVal->getValue())) { in run()
815 Table->Fields.emplace_back(FieldName); in run()