Lines Matching full:fields

9 // This tablegen backend emits a generic array initialized by specified fields,
69 SmallVector<GenericField, 1> Fields; member
79 SmallVector<GenericField, 2> Fields; member
86 for (const auto &Field : Fields) { in getFieldByName()
218 assert(Index.Fields.size() == 1); in getNumericKey()
221 // we check for IsInstruction before Enum-- these fields are not exclusive. in getNumericKey()
222 if (Index.Fields[0].IsInstruction) { in getNumericKey()
223 Record *TheDef = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
226 if (Index.Fields[0].Enum) { in getNumericKey()
227 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name); in getNumericKey()
228 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second; in getNumericKey()
231 return getInt(Rec, Index.Fields[0].Name); in getNumericKey()
238 for (const auto &Field : Index.Fields) { in compareBy()
340 for (const auto &Field : Index.Fields) { in emitLookupFunction()
366 for (const auto &Field : Index.Fields) { in emitLookupFunction()
385 if (Index.Fields.size() == 1 && in emitLookupFunction()
386 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType) || in emitLookupFunction()
387 Index.Fields[0].IsInstruction)) { in emitLookupFunction()
399 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
408 OS << " size_t Idx = " << Index.Fields[0].Name << " - " << FirstRepr in emitLookupFunction()
421 const GenericField &Field = Index.Fields[0]; in emitLookupFunction()
432 for (const auto &Field : Index.Fields) { in emitLookupFunction()
439 for (const auto &Field : Index.Fields) { in emitLookupFunction()
458 for (const auto &Field : Index.Fields) { in emitLookupFunction()
503 for (const auto &Field : Index.Fields) in emitLookupFunction()
529 for (const auto &Field : Index.Fields) in emitLookupDeclaration()
553 // The primary data table contains all the fields defined for this map. in emitGenericTable()
560 for (const auto &Field : Table.Fields) in emitGenericTable()
616 Index->Fields.push_back(*Field); in parseSearchIndex()
619 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) { in parseSearchIndex()
665 for (auto &Field : Table.Fields) { in collectTableEntries()
692 for (auto &Field : Table.Fields) { in collectTableEntries()
706 std::copy(Table.Fields.begin(), Table.Fields.end(), in collectTableEntries()
707 std::back_inserter(Idx.Fields)); in collectTableEntries()
754 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields"); in run() local
755 for (const auto &FieldName : Fields) { in run()
756 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
760 if (!parseFieldType(Table->Fields.back(), in run()
864 // Skip uninteresting fields: either special to us, or injected in run()
871 Table->Fields.emplace_back(FieldName); in run()