Searched refs:msbit (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | InstructionUtils.h | 21 static inline uint64_t Bits64(const uint64_t bits, const uint32_t msbit, in Bits64() argument 23 assert(msbit < 64 && lsbit <= msbit); in Bits64() 24 return (bits >> lsbit) & ((1ull << (msbit - lsbit + 1)) - 1); in Bits64() 29 static inline uint32_t Bits32(const uint32_t bits, const uint32_t msbit, in Bits32() argument 31 assert(msbit < 32 && lsbit <= msbit); in Bits32() 32 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); in Bits32() 46 static inline void SetBits32(uint32_t &bits, const uint32_t msbit, in SetBits32() argument 48 assert(msbit < 32 && lsbit < 32 && msbit >= lsbit); in SetBits32() 49 uint32_t mask = ((1u << (msbit - lsbit + 1)) - 1); in SetBits32() 97 static inline uint64_t UnsignedBits(const uint64_t value, const uint64_t msbit, in UnsignedBits() argument [all …]
|
D | ARMUtils.h | 264 static inline uint32_t bits(const uint32_t val, const uint32_t msbit, in bits() argument 266 return Bits32(val, msbit, lsbit); in bits() 269 static inline uint32_t bit(const uint32_t val, const uint32_t msbit) { in bit() argument 270 return bits(val, msbit, msbit); in bit()
|
D | DynamicRegisterInfo.cpp | 145 const uint32_t msbit = in SetRegisterInfo() local 149 if (msbit != UINT32_MAX && lsbit != UINT32_MAX) { in SetRegisterInfo() 150 if (msbit > lsbit) { in SetRegisterInfo() 151 const uint32_t msbyte = msbit / 8; in SetRegisterInfo() 158 if (msbit < max_bit && lsbit < max_bit) { in SetRegisterInfo() 179 if (msbit > max_bit) in SetRegisterInfo() 182 msbit, max_bit); in SetRegisterInfo() 194 msbit, lsbit); in SetRegisterInfo() 197 printf("error: msbit (%u) and lsbit (%u) must be valid\n", msbit, in SetRegisterInfo()
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/ |
D | DNBArchImplARM64.cpp | 642 static inline uint64_t bits(uint64_t value, uint32_t msbit, uint32_t lsbit) { in bits() argument 643 assert(msbit >= lsbit); in bits() 644 uint64_t shift_left = sizeof(value) * 8 - 1 - msbit; in bits()
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/ |
D | DNBArchImpl.cpp | 794 static inline uint32_t bits(uint32_t value, uint32_t msbit, uint32_t lsbit) { in bits() argument 795 assert(msbit >= lsbit); in bits() 796 uint32_t shift_left = sizeof(value) * 8 - 1 - msbit; in bits()
|