23 Size +=
sizeof(int8_t);
31 int Sign = Value >> (8 *
sizeof(
Value) - 1);
35 unsigned Byte = Value & 0x7f;
37 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0;
38 Size +=
sizeof(int8_t);
This class represents lattice values for constants.
unsigned getULEB128Size(uint64_t Value)
Utility function to get the size of the ULEB128-encoded value.
unsigned getSLEB128Size(int64_t Value)
Utility function to get the size of the SLEB128-encoded value.
LLVM Value Representation.