Searched refs:lsb (Results 1 – 3 of 3) sorted by relevance
/art/compiler/optimizing/ |
D | instruction_simplifier_x86_shared.cc | 80 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateResetLeastSetBit() local 82 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, lsb); in TryGenerateResetLeastSetBit() 113 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateMaskUptoLeastSetBit() local 115 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, lsb); in TryGenerateMaskUptoLeastSetBit()
|
/art/libartbase/base/ |
D | bit_utils.h | 418 inline static constexpr T BitFieldClear(T value, size_t lsb, size_t width) { in BitFieldClear() argument 419 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldClear() 423 return static_cast<T>(val & ~(mask << lsb)); in BitFieldClear() 445 inline static constexpr T BitFieldInsert(T value, T2 data, size_t lsb, size_t width) { in BitFieldInsert() argument 446 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldInsert() 454 const auto value_cleared = BitFieldClear(value, lsb, width); in BitFieldInsert() 456 return static_cast<T>(value_cleared | ((data & data_mask) << lsb)); in BitFieldInsert() 482 inline static constexpr T BitFieldExtract(T value, size_t lsb, size_t width) { in BitFieldExtract() argument 483 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldExtract() 487 static_cast<T>((val >> lsb) & MaskLeastSignificant<T>(width)); in BitFieldExtract()
|
D | bit_string.h | 260 size_t lsb = GetLsbForPosition(end); in Truncate() local 261 size_t bit_size = GetLsbForPosition(kCapacity) - lsb; in Truncate() 262 StorageType data = BitFieldClear(copy.storage_, lsb, bit_size); in Truncate()
|