Lines Matching defs:Fields
69 SmallVector<GenericField, 1> Fields;
79 SmallVector<GenericField, 2> Fields;
86 for (const auto &Field : Fields) {
218 assert(Index.Fields.size() == 1);
222 if (Index.Fields[0].IsInstruction) {
223 Record *TheDef = Rec->getValueAsDef(Index.Fields[0].Name);
226 if (Index.Fields[0].Enum) {
227 Record *EnumEntry = Rec->getValueAsDef(Index.Fields[0].Name);
228 return Index.Fields[0].Enum->EntryMap[EnumEntry]->second;
231 return getInt(Rec, Index.Fields[0].Name);
238 for (const auto &Field : Index.Fields) {
340 for (const auto &Field : Index.Fields) {
366 for (const auto &Field : Index.Fields) {
385 if (Index.Fields.size() == 1 &&
386 (Index.Fields[0].Enum || isa<BitsRecTy>(Index.Fields[0].RecType) ||
387 Index.Fields[0].IsInstruction)) {
399 const GenericField &Field = Index.Fields[0];
408 OS << " size_t Idx = " << Index.Fields[0].Name << " - " << FirstRepr
421 const GenericField &Field = Index.Fields[0];
432 for (const auto &Field : Index.Fields) {
439 for (const auto &Field : Index.Fields) {
458 for (const auto &Field : Index.Fields) {
503 for (const auto &Field : Index.Fields)
529 for (const auto &Field : Index.Fields)
560 for (const auto &Field : Table.Fields)
616 Index->Fields.push_back(*Field);
619 if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) {
665 for (auto &Field : Table.Fields) {
692 for (auto &Field : Table.Fields) {
706 std::copy(Table.Fields.begin(), Table.Fields.end(),
707 std::back_inserter(Idx.Fields));
754 std::vector<StringRef> Fields = TableRec->getValueAsListOfStrings("Fields");
755 for (const auto &FieldName : Fields) {
756 Table->Fields.emplace_back(FieldName); // Construct a GenericField.
760 if (!parseFieldType(Table->Fields.back(),
871 Table->Fields.emplace_back(FieldName);