Intel® X86 Encoder Decoder
xed-flags.h File Reference
#include "xed-types.h"
#include "xed-portability.h"
#include "xed-flag-enum.h"
#include "xed-flag-action-enum.h"
#include "xed-gen-table-defs.h"
#include "xed-reg-enum.h"

Data Structures

union  xed_flag_dfv_s
 
struct  xed_flag_enum_s
 
union  xed_flag_set_s
 
struct  xed_simple_flag_s
 

Typedefs

typedef union xed_flag_dfv_s xed_flag_dfv_t
 
typedef union xed_flag_set_s xed_flag_set_t
 

Functions

XED_DLL_EXPORT xed_bool_t xed_flag_dfv_get_default_flags_values (xed_reg_enum_t dfv_reg, xed_flag_dfv_t *p)
 
Accessing the simple flags (Mid-level access)
static XED_INLINE unsigned int xed_flag_set_mask (const xed_flag_set_t *p)
 
const XED_DLL_EXPORT xed_flag_action_txed_simple_flag_get_flag_action (const xed_simple_flag_t *p, unsigned int i)
 
XED_DLL_EXPORT xed_bool_t xed_simple_flag_get_may_write (const xed_simple_flag_t *p)
 
XED_DLL_EXPORT xed_bool_t xed_simple_flag_get_must_write (const xed_simple_flag_t *p)
 
XED_DLL_EXPORT unsigned int xed_simple_flag_get_nflags (const xed_simple_flag_t *p)
 
const XED_DLL_EXPORT xed_flag_set_txed_simple_flag_get_read_flag_set (const xed_simple_flag_t *p)
 
const XED_DLL_EXPORT xed_flag_set_txed_simple_flag_get_undefined_flag_set (const xed_simple_flag_t *p)
 
const XED_DLL_EXPORT xed_flag_set_txed_simple_flag_get_written_flag_set (const xed_simple_flag_t *p)
 
XED_DLL_EXPORT int xed_simple_flag_print (const xed_simple_flag_t *p, char *buf, int buflen)
 
XED_DLL_EXPORT xed_bool_t xed_simple_flag_reads_flags (const xed_simple_flag_t *p)
 
XED_DLL_EXPORT xed_bool_t xed_simple_flag_writes_flags (const xed_simple_flag_t *p)
 

Flag-set accessors

typedef struct xed_flag_enum_s xed_flag_action_t
 
XED_DLL_EXPORT xed_bool_t xed_flag_set_is_subset_of (const xed_flag_set_t *p, const xed_flag_set_t *other)
 
XED_DLL_EXPORT int xed_flag_set_print (const xed_flag_set_t *p, char *buf, int buflen)
 

Lowest-level flag-action accessors

XED_DLL_EXPORT xed_bool_t xed_flag_action_action_invalid (const xed_flag_action_enum_t a)
 
XED_DLL_EXPORT xed_flag_action_enum_t xed_flag_action_get_action (const xed_flag_action_t *p, unsigned int i)
 
XED_DLL_EXPORT xed_flag_enum_t xed_flag_action_get_flag_name (const xed_flag_action_t *p)
 
XED_DLL_EXPORT int xed_flag_action_print (const xed_flag_action_t *p, char *buf, int buflen)
 
XED_DLL_EXPORT xed_bool_t xed_flag_action_read_action (xed_flag_action_enum_t a)
 
XED_DLL_EXPORT xed_bool_t xed_flag_action_read_flag (const xed_flag_action_t *p)
 
XED_DLL_EXPORT xed_bool_t xed_flag_action_write_action (xed_flag_action_enum_t a)
 
XED_DLL_EXPORT xed_bool_t xed_flag_action_writes_flag (const xed_flag_action_t *p)
 
typedef struct xed_simple_flag_s xed_simple_flag_t
 

Typedef Documentation

◆ xed_flag_set_t