Lines Matching defs:Fields

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