#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_INSTRUCTIONUTILS_H
#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_INSTRUCTIONUTILS_H
#include <cassert>
#include <cstdint>
namespace lldb_private {
static inline uint64_t Bits64(const uint64_t bits, const uint32_t msbit,
const uint32_t lsbit) { … }
static inline uint32_t Bits32(const uint32_t bits, const uint32_t msbit,
const uint32_t lsbit) { … }
static inline uint32_t Bit32(const uint32_t bits, const uint32_t bit) { … }
static inline uint64_t Bit64(const uint64_t bits, const uint32_t bit) { … }
static inline void SetBits32(uint32_t &bits, const uint32_t msbit,
const uint32_t lsbit, const uint32_t val) { … }
static inline void SetBit32(uint32_t &bits, const uint32_t bit,
const uint32_t val) { … }
static inline uint32_t Rotr32(uint32_t bits, uint32_t amt) { … }
static inline uint32_t Rotl32(uint32_t bits, uint32_t amt) { … }
static inline uint64_t MaskUpToBit(const uint64_t bit) { … }
static inline uint32_t BitCount(uint64_t x) { … }
static inline bool BitIsSet(const uint64_t value, const uint64_t bit) { … }
static inline bool BitIsClear(const uint64_t value, const uint64_t bit) { … }
static inline uint64_t UnsignedBits(const uint64_t value, const uint64_t msbit,
const uint64_t lsbit) { … }
static inline int64_t SignedBits(const uint64_t value, const uint64_t msbit,
const uint64_t lsbit) { … }
}
#endif