Searched refs:BitString (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/ |
D | bit_string_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 33 std::string Stringify(BitString bit_string) { in Stringify() 40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar() 47 BitString MakeBitString(std::initializer_list<size_t> values = {}) { in MakeBitString() 48 CHECK_GE(BitString::kCapacity, values.size()); 50 BitString bs{}; 69 template <size_t kCount = BitString::kCapacity> 70 BitString MakeBitStringMax() { in MakeBitStringMax() 71 BitString bs{}; in MakeBitStringMax() [all …]
|
D | bit_string.h | 142 struct BitString { struct 235 BitString() = default; argument 238 bool operator==(const BitString& other) const { 243 bool operator!=(const BitString& other) const { 249 return (*this) == BitString{}; in IsEmpty() argument 255 BitString Truncate(size_t end) { in Truncate() argument 257 BitString copy = *this; in Truncate() 270 friend std::ostream& operator<<(std::ostream& os, const BitString& bit_string); 277 static_assert(BitSizeOf<BitString::StorageType>() >= argument 278 BitString::GetBitLengthTotalAtPosition(BitString::kCapacity), [all …]
|
/art/runtime/ |
D | subtype_check_info_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 33 std::string Stringify(BitString bit_string) { in Stringify() 40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar() 47 BitString MakeBitString(std::initializer_list<size_t> values = {}) { in MakeBitString() 48 CHECK_GE(BitString::kCapacity, values.size()); 50 BitString bs{}; 69 template <size_t kCount = BitString::kCapacity> 70 BitString MakeBitStringMax() { in MakeBitStringMax() 71 BitString bs{}; in MakeBitStringMax() [all …]
|
D | subtype_check_info.h | 176 BitString::StorageType source_value = GetEncodedPathToRoot(); in IsSubtypeOf() 177 BitString::StorageType target_value = target.GetEncodedPathToRoot(); in IsSubtypeOf() 178 BitString::StorageType target_mask = target.GetEncodedPathToRootMask(); in IsSubtypeOf() 281 BitString path_to_root = GetPathToRoot(); in GetState() 296 BitString::StorageType GetEncodedPathToRoot() const { in GetEncodedPathToRoot() 297 BitString::StorageType data = static_cast<BitString::StorageType>(GetPathToRoot()); in GetEncodedPathToRoot() 304 BitString::StorageType GetEncodedPathToRootMask() const { in GetEncodedPathToRootMask() 306 size_t bitlength = BitString::GetBitLengthTotalAtPosition(num_bitchars); in GetEncodedPathToRootMask() 307 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask() 330 SubtypeCheckInfo(BitString path_to_root, BitStringChar next, bool overflow, size_t depth) { in SubtypeCheckInfo() [all …]
|
D | subtype_check_bits.h | 59 BITSTRUCT_DEFINE_START(SubtypeCheckBits, /*size=*/ BitString::BitStructSizeOf() + 1u) 60 BitStructField<BitString, /*lsb=*/ 0> bitstring_; 61 BitStructUint</*lsb=*/ BitString::BitStructSizeOf(), /*width=*/ 1> overflow_;
|
D | subtype_check_bits_and_status.h | 70 BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf<BitString::StorageType>()) 75 BitStructInt</*lsb=*/ 0, /*width=*/ BitSizeOf<BitString::StorageType>()> int32_alias_;
|
D | subtype_check_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 246 BitString::StorageType GetEncodedPathToRootForSource() const in GetEncodedPathToRootForSource() 252 BitString::StorageType GetEncodedPathToRootForTarget() const in GetEncodedPathToRootForTarget() 258 BitString::StorageType GetEncodedPathToRootMask() const in GetEncodedPathToRootMask() 307 CreateRootedTree(BitString::kCapacity + 2u, BitString::kCapacity + 2u); in SetUp() 693 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity; in TEST_F() 765 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity + 1u; in TEST_F() 772 if (kls->Depth() > BitString::kCapacity) { in TEST_F() 789 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity + 2u; in TEST_F() [all …]
|
D | subtype_check.h | 306 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass) in GetEncodedPathToRootForSource() 319 static BitString::StorageType GetEncodedPathToRootForTarget(ClassPtr klass) in GetEncodedPathToRootForTarget() 333 static BitString::StorageType GetEncodedPathToRootMask(ClassPtr klass) in GetEncodedPathToRootMask()
|
/art/compiler/optimizing/ |
D | graph_checker.cc | 619 BitString::StorageType expected_path_to_root = 0u; in HandleTypeCheckInstruction() 620 BitString::StorageType expected_mask = 0u; in HandleTypeCheckInstruction()
|