/* native_client/src/trusted/validator/x86/decoder/gen/ncopcode_operand_flag.h
 * THIS FILE IS AUTO_GENERATED DO NOT EDIT.
 *
 * This file was auto-generated by enum_gen.py
 * from file ncopcode_operand_flag.enum
 */

#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GEN_NCOPCODE_OPERAND_FLAG_H__
#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GEN_NCOPCODE_OPERAND_FLAG_H__

#include "native_client/src/include/portability.h"

EXTERN_C_BEGIN
typedef enum NaClOpFlag {
  OpUse = 0,
  OpSet = 1,
  OpAddress = 2,
  OpImplicit = 3,
  OperandNear = 4,
  OperandFar = 5,
  OperandRelative = 6,
  OperandZeroExtends_v = 7,
  OperandSignExtends_v = 8,
  AllowGOperandWithOpcodeInModRm = 9,
  NaClOpFlagEnumSize = 10, /* special size marker */
} NaClOpFlag;

/* Returns the name of an NaClOpFlag constant. */
extern const char* NaClOpFlagName(NaClOpFlag name);

EXTERN_C_END

#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_DECODER_GEN_NCOPCODE_OPERAND_FLAG_H__ */
