Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
782 B

  1. //===-- llvm/MC/EDInstInfo.h - EDis instruction info ------------*- C++ -*-===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. #ifndef EDINSTINFO_H
  10. #define EDINSTINFO_H
  11. #include "llvm/Support/DataTypes.h"
  12. namespace llvm {
  13. #define EDIS_MAX_OPERANDS 13
  14. #define EDIS_MAX_SYNTAXES 2
  15. struct EDInstInfo {
  16. uint8_t instructionType;
  17. uint8_t numOperands;
  18. uint8_t operandTypes[EDIS_MAX_OPERANDS];
  19. uint8_t operandFlags[EDIS_MAX_OPERANDS];
  20. const signed char operandOrders[EDIS_MAX_SYNTAXES][EDIS_MAX_OPERANDS];
  21. };
  22. } // namespace llvm
  23. #endif