1 /// @file xed-reg-class-enum.h
2 
3 // This file was automatically generated.
4 // Do not edit this file.
5 
6 #if !defined(XED_REG_CLASS_ENUM_H)
7 # define XED_REG_CLASS_ENUM_H
8 #include "xed-common-hdrs.h"
9 typedef enum {
10   XED_REG_CLASS_INVALID,
11   XED_REG_CLASS_BNDCFG,
12   XED_REG_CLASS_BNDSTAT,
13   XED_REG_CLASS_BOUND,
14   XED_REG_CLASS_CR,
15   XED_REG_CLASS_DR,
16   XED_REG_CLASS_FLAGS,
17   XED_REG_CLASS_GPR,
18   XED_REG_CLASS_GPR16,
19   XED_REG_CLASS_GPR32,
20   XED_REG_CLASS_GPR64,
21   XED_REG_CLASS_GPR8,
22   XED_REG_CLASS_IP,
23   XED_REG_CLASS_MASK,
24   XED_REG_CLASS_MMX,
25   XED_REG_CLASS_MSR,
26   XED_REG_CLASS_MXCSR,
27   XED_REG_CLASS_PSEUDO,
28   XED_REG_CLASS_PSEUDOX87,
29   XED_REG_CLASS_SR,
30   XED_REG_CLASS_TMP,
31   XED_REG_CLASS_X87,
32   XED_REG_CLASS_XCR,
33   XED_REG_CLASS_XMM,
34   XED_REG_CLASS_YMM,
35   XED_REG_CLASS_ZMM,
36   XED_REG_CLASS_LAST
37 } xed_reg_class_enum_t;
38 
39 /// This converts strings to #xed_reg_class_enum_t types.
40 /// @param s A C-string.
41 /// @return #xed_reg_class_enum_t
42 /// @ingroup ENUM
43 XED_DLL_EXPORT xed_reg_class_enum_t str2xed_reg_class_enum_t(const char* s);
44 /// This converts strings to #xed_reg_class_enum_t types.
45 /// @param p An enumeration element of type xed_reg_class_enum_t.
46 /// @return string
47 /// @ingroup ENUM
48 XED_DLL_EXPORT const char* xed_reg_class_enum_t2str(const xed_reg_class_enum_t p);
49 
50 /// Returns the last element of the enumeration
51 /// @return xed_reg_class_enum_t The last element of the enumeration.
52 /// @ingroup ENUM
53 XED_DLL_EXPORT xed_reg_class_enum_t xed_reg_class_enum_t_last(void);
54 #endif
55