CPU.h 805 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #include "BeefySysLib/Common.h"
  3. //#include "config.h"
  4. //#include "platform.h"
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <string.h>
  8. #include <stdint.h>
  9. #include <map>
  10. typedef uint64_t addr_t;
  11. typedef uint16_t tag_t;
  12. namespace llvm {
  13. class BasicBlock;
  14. class ExecutionEngine;
  15. class Function;
  16. class Module;
  17. class PointerType;
  18. class StructType;
  19. class Value;
  20. }
  21. enum RegForm : int8
  22. {
  23. RegForm_Invalid = -1,
  24. RegForm_Unknown,
  25. RegForm_SByte,
  26. RegForm_SByte16,
  27. RegForm_Byte,
  28. RegForm_Byte16,
  29. RegForm_Short,
  30. RegForm_Short8,
  31. RegForm_UShort,
  32. RegForm_UShort8,
  33. RegForm_Int,
  34. RegForm_Int4,
  35. RegForm_UInt,
  36. RegForm_UInt4,
  37. RegForm_Long,
  38. RegForm_Long2,
  39. RegForm_ULong,
  40. RegForm_ULong2,
  41. RegForm_Float,
  42. RegForm_Float4,
  43. RegForm_Float8,
  44. RegForm_Double,
  45. RegForm_Double2,
  46. RegForm_Double4,
  47. };