Lines Matching refs:InstanceClass
92 void emitMappingEnum(std::vector<Record *> &Items, Record *InstanceClass,
113 Record *InstanceClass, in emitMappingEnum() argument
115 std::string EnumNameField = InstanceClass->getValueAsString("EnumNameField"); in emitMappingEnum()
117 if (!InstanceClass->isValueUnset("EnumValueField")) in emitMappingEnum()
118 EnumValueField = InstanceClass->getValueAsString("EnumValueField"); in emitMappingEnum()
120 OS << "enum " << InstanceClass->getName() << "Values {\n"; in emitMappingEnum()
231 void SearchableTableEmitter::emitMapping(Record *InstanceClass, in emitMapping() argument
233 const std::string &TableName = InstanceClass->getName(); in emitMapping()
241 for (const RecordVal &Field : InstanceClass->getValues()) { in emitMapping()
254 for (auto *Field : *InstanceClass->getValueAsListInit("SearchableFields")) { in emitMapping()
273 if (!InstanceClass->isValueUnset("EnumNameField")) { in emitMapping()
274 emitMappingEnum(Items, InstanceClass, OS); in emitMapping()