Lines Matching refs:enumDef
40 static void emitEnumClass(const Record &enumDef, StringRef enumName, in emitEnumClass() argument
97 static void emitMaxValueFn(const Record &enumDef, raw_ostream &os) { in emitMaxValueFn() argument
98 EnumAttr enumAttr(enumDef); in emitMaxValueFn()
135 static void emitOperators(const Record &enumDef, raw_ostream &os) { in emitOperators() argument
136 EnumAttr enumAttr(enumDef); in emitOperators()
156 static void emitSymToStrFnForIntEnum(const Record &enumDef, raw_ostream &os) { in emitSymToStrFnForIntEnum() argument
157 EnumAttr enumAttr(enumDef); in emitSymToStrFnForIntEnum()
177 static void emitSymToStrFnForBitEnum(const Record &enumDef, raw_ostream &os) { in emitSymToStrFnForBitEnum() argument
178 EnumAttr enumAttr(enumDef); in emitSymToStrFnForBitEnum()
182 StringRef separator = enumDef.getValueAsString("separator"); in emitSymToStrFnForBitEnum()
211 static void emitStrToSymFnForIntEnum(const Record &enumDef, raw_ostream &os) { in emitStrToSymFnForIntEnum() argument
212 EnumAttr enumAttr(enumDef); in emitStrToSymFnForIntEnum()
231 static void emitStrToSymFnForBitEnum(const Record &enumDef, raw_ostream &os) { in emitStrToSymFnForBitEnum() argument
232 EnumAttr enumAttr(enumDef); in emitStrToSymFnForBitEnum()
236 StringRef separator = enumDef.getValueAsString("separator"); in emitStrToSymFnForBitEnum()
276 static void emitUnderlyingToSymFnForIntEnum(const Record &enumDef, in emitUnderlyingToSymFnForIntEnum() argument
278 EnumAttr enumAttr(enumDef); in emitUnderlyingToSymFnForIntEnum()
307 static void emitUnderlyingToSymFnForBitEnum(const Record &enumDef, in emitUnderlyingToSymFnForBitEnum() argument
309 EnumAttr enumAttr(enumDef); in emitUnderlyingToSymFnForBitEnum()
334 static void emitEnumDecl(const Record &enumDef, raw_ostream &os) { in emitEnumDecl() argument
335 EnumAttr enumAttr(enumDef); in emitEnumDecl()
353 emitEnumClass(enumDef, enumName, underlyingType, description, enumerants, os); in emitEnumDecl()
368 emitOperators(enumDef, os); in emitEnumDecl()
370 emitMaxValueFn(enumDef, os); in emitEnumDecl()
412 static void emitEnumDef(const Record &enumDef, raw_ostream &os) { in emitEnumDef() argument
413 EnumAttr enumAttr(enumDef); in emitEnumDef()
423 emitSymToStrFnForBitEnum(enumDef, os); in emitEnumDef()
424 emitStrToSymFnForBitEnum(enumDef, os); in emitEnumDef()
425 emitUnderlyingToSymFnForBitEnum(enumDef, os); in emitEnumDef()
427 emitSymToStrFnForIntEnum(enumDef, os); in emitEnumDef()
428 emitStrToSymFnForIntEnum(enumDef, os); in emitEnumDef()
429 emitUnderlyingToSymFnForIntEnum(enumDef, os); in emitEnumDef()