LLVM: include/llvm/BinaryFormat/MsgPack.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_BINARYFORMAT_MSGPACK_H

15#define LLVM_BINARYFORMAT_MSGPACK_H

16

19

20namespace llvm {

22

23

25

26

28#define HANDLE_MP_FIRST_BYTE(ID, NAME) constexpr uint8_t NAME = ID;

29#include "llvm/BinaryFormat/MsgPack.def"

30}

31

32

33

34

35

36

37

38

40#define HANDLE_MP_FIX_BITS(ID, NAME) constexpr uint8_t NAME = ID;

41#include "llvm/BinaryFormat/MsgPack.def"

42}

43

44

45

46

47

48

49

50

51

53#define HANDLE_MP_FIX_BITS_MASK(ID, NAME) constexpr uint8_t NAME = ID;

54#include "llvm/BinaryFormat/MsgPack.def"

55}

56

57

58

59

60

62#define HANDLE_MP_FIX_MAX(ID, NAME) constexpr uint8_t NAME = ID;

63#include "llvm/BinaryFormat/MsgPack.def"

64}

65

66

67

68

69

70

72#define HANDLE_MP_FIX_LEN(ID, NAME) constexpr uint8_t NAME = ID;

73#include "llvm/BinaryFormat/MsgPack.def"

74}

75

76

77

78

79

80

81

82

83

85#define HANDLE_MP_FIX_MIN(ID, NAME) constexpr int8_t NAME = ID;

86#include "llvm/BinaryFormat/MsgPack.def"

87}

88

89}

90}

91

92#endif

The first byte identifiers of MessagePack object formats.

Definition MsgPack.h:27

Mask of bits used to identify "Fix" variants in MessagePack.

Definition MsgPack.h:52

Most significant bits used to identify "Fix" variants in MessagePack.

Definition MsgPack.h:39

The exact size encodable in "Fix" variants of formats.

Definition MsgPack.h:71

The maximum value or size encodable in "Fix" variants of formats.

Definition MsgPack.h:61

The minimum value or size encodable in "Fix" variants of formats.

Definition MsgPack.h:84

constexpr llvm::endianness Endianness

The endianness of all multi-byte encoded values in MessagePack.

Definition MsgPack.h:24

This is an optimization pass for GlobalISel generic memory operations.