LLVM 19.0.0git
Namespaces | Macros | Variables
MsgPack.h File Reference

This file contains constants used for implementing MessagePack support. More...

#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Endian.h"
#include "llvm/BinaryFormat/MsgPack.def"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::msgpack
 
namespace  llvm::msgpack::FirstByte
 The first byte identifiers of MessagePack object formats.
 
namespace  llvm::msgpack::FixBits
 Most significant bits used to identify "Fix" variants in MessagePack.
 
namespace  llvm::msgpack::FixBitsMask
 Mask of bits used to identify "Fix" variants in MessagePack.
 
namespace  llvm::msgpack::FixMax
 The maximum value or size encodable in "Fix" variants of formats.
 
namespace  llvm::msgpack::FixLen
 The exact size encodable in "Fix" variants of formats.
 
namespace  llvm::msgpack::FixMin
 The minimum value or size encodable in "Fix" variants of formats.
 

Macros

#define HANDLE_MP_FIRST_BYTE(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_BITS(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_BITS_MASK(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_MAX(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_LEN(ID, NAME)   constexpr uint8_t NAME = ID;
 
#define HANDLE_MP_FIX_MIN(ID, NAME)   constexpr int8_t NAME = ID;
 

Variables

constexpr llvm::endianness llvm::msgpack::Endianness = llvm::endianness::big
 The endianness of all multi-byte encoded values in MessagePack.
 

Detailed Description

This file contains constants used for implementing MessagePack support.

Definition in file MsgPack.h.

Macro Definition Documentation

◆ HANDLE_MP_FIRST_BYTE

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

Definition at line 28 of file MsgPack.h.

◆ HANDLE_MP_FIX_BITS

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

Definition at line 40 of file MsgPack.h.

◆ HANDLE_MP_FIX_BITS_MASK

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

Definition at line 53 of file MsgPack.h.

◆ HANDLE_MP_FIX_LEN

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

Definition at line 72 of file MsgPack.h.

◆ HANDLE_MP_FIX_MAX

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

Definition at line 62 of file MsgPack.h.

◆ HANDLE_MP_FIX_MIN

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

Definition at line 85 of file MsgPack.h.