Home
last modified time | relevance | path

Searched refs:InstanceClass (Results 1 – 2 of 2) sorted by relevance

/external/llvm/utils/TableGen/
DSearchableTableEmitter.cpp92 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()
[all …]
/external/llvm/include/llvm/TableGen/
DSearchableTable.td22 // "lookup{InstanceClass}By{SearchableField}", returning "const {InstanceClass}
24 // EnumNameField is still defined, there will be an "enum {InstanceClass}Values"
28 // Inside the IMPL guard will be a primary data table "{InstanceClass}sList" and
30 // ("{InstanceClass}sBy{SearchableField}"). Additionally implementations of the