Lines Matching +full:lsb +full:- +full:release

1 //===-- RegisterFlags.cpp -------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 // check, so we catch them before it makes it into a release. in Field()
42 for (const auto &enumerator : m_enum_type->GetEnumerators()) { in Field()
64 assert((other < (*this)) && "Expected fields in MSB to LSB order."); in PaddingDistance()
69 // Where left will be the MSB and right will be the LSB. in PaddingDistance()
71 unsigned rhs_end = other.GetStart() + other.GetSizeInBits() - 1; in PaddingDistance()
75 rhs_end = GetStart() + GetSizeInBits() - 1; in PaddingDistance()
78 return lhs_start - rhs_end - 1; in PaddingDistance()
82 return end - start + 1; in GetSizeInBits()
97 max = ((uint64_t)1 << bits) - 1; in GetMaxValue()
124 unsigned register_msb = (m_size * 8) - 1; in SetFields()
127 unsigned padding = previous_field->PaddingDistance(field); in SetFields()
129 // -1 to end just before the previous field. in SetFields()
130 unsigned end = previous_field->GetStart() - 1; in SetFields()
145 if (previous_field && previous_field->GetStart() != 0) in SetFields()
146 m_fields.push_back(Field("", 0, previous_field->GetStart() - 1)); in SetFields()
163 unsigned pad = column_width - content.GetString().size(); in FormatCell()
199 position.Printf(" %d-%d ", field.GetEnd(), field.GetStart()); in AsTable()
227 grid << '|' << std::string(column_width, '-'); in AsTable()
255 enumerator_strm.Printf("%" PRIu64 " = %s", it->m_value, it->m_name.c_str()); in DumpEnumerators()
297 const FieldEnum::Enumerators &enumerators = enum_type->GetEnumerators(); in DumpEnums()
322 const std::string &id = enum_type->GetID(); in EnumsToXML()
324 enum_type->ToXML(strm, GetSize()); in EnumsToXML()
418 strm << " type=\"" << enum_type->GetID() << "\""; in ToXML()