| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | GenericBitset.cpp | 110 std::optional<uint64_t> bit_size = in GetChildAtIndex() local 112 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 114 chunk = m_first->GetChildAtIndex(idx / *bit_size, true); in GetChildAtIndex() 122 std::optional<uint64_t> bit_size = in GetChildAtIndex() local 124 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 126 size_t chunk_idx = idx % *bit_size; in GetChildAtIndex()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 54 m_layout.bit_size = m_cvr.ur.getSize() * 8; in UdtRecordCompleter() 60 m_layout.bit_size = m_cvr.cr.getSize() * 8; in UdtRecordCompleter() 347 uint64_t bit_size = 0; in AddMember() local 353 bit_size = field->bit_size; in AddMember() 377 bit_size = std::max(bit_size, member_offset + member_bit_size); in AddMember() 379 bit_size = std::max(bit_size, member_bit_size); in AddMember() 381 layout.bit_size = bit_size; in AddMember() 398 return bit_size; in AddMember() 472 uint64_t end_offset = offset + fields.back()->bit_size; in ConstructRecord() 491 int64_t bit_size = field->bit_size; in ConstructRecord() local [all …]
|
| H A D | UdtRecordCompleter.h | 86 uint64_t bit_size; member 96 : kind(kind), name(), bit_offset(0), bit_size(0), qt(), in Member() 98 Member(llvm::StringRef name, uint64_t bit_offset, uint64_t bit_size, in Member() 100 : kind(Field), name(name), bit_offset(bit_offset), bit_size(bit_size), in Member() 106 fields.push_back(std::make_unique<Member>(name, bit_offset, bit_size, qt, in ConvertToStruct() 111 bit_offset = bit_size = bitfield_width = 0; in ConvertToStruct()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 791 static inline bool QualTypeMatchesBitSize(const uint64_t bit_size, in QualTypeMatchesBitSize() argument 794 return qual_type_bit_size == bit_size; in QualTypeMatchesBitSize() 799 size_t bit_size) { in GetBuiltinTypeForEncodingAndBitSize() argument 803 if (QualTypeMatchesBitSize(bit_size, ast, ast.VoidPtrTy)) in GetBuiltinTypeForEncodingAndBitSize() 808 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedCharTy)) in GetBuiltinTypeForEncodingAndBitSize() 810 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedShortTy)) in GetBuiltinTypeForEncodingAndBitSize() 812 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedIntTy)) in GetBuiltinTypeForEncodingAndBitSize() 814 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedLongTy)) in GetBuiltinTypeForEncodingAndBitSize() 816 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedLongLongTy)) in GetBuiltinTypeForEncodingAndBitSize() 818 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedInt128Ty)) in GetBuiltinTypeForEncodingAndBitSize() [all …]
|
| H A D | TypeSystemClang.h | 206 size_t bit_size) override; 214 uint32_t dw_ate, uint32_t bit_size); 445 CompilerType GetIntTypeFromBitSize(size_t bit_size, bool is_signed); 452 size_t bit_size); 746 if (std::optional<uint64_t> bit_size = GetBitSize(type, exe_scope)) in GetByteSize() local 747 return (*bit_size + 7) / 8; in GetByteSize()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/X86/ |
| H A D | ABIMacOSX_i386.cpp | 168 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 169 if (bit_size) { in GetArgumentValues() 172 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 175 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
|
| H A D | ABISysV_i386.cpp | 185 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 186 if (bit_size) { in GetArgumentValues() 189 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues() 192 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
|
| H A D | ABIWindows_x86_64.cpp | 278 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 279 if (!bit_size) in GetArgumentValues() 284 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 288 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 2153 uint32_t bit_size = piece_byte_size * 8; in Evaluate() local 2157 bit_size, bit_offset)) { in Evaluate() 2171 assert(ap_int.getBitWidth() >= bit_size); in Evaluate() 2174 curr_piece.GetScalar() = Scalar(llvm::APInt(bit_size, buf)); in Evaluate() 2385 uint64_t bit_size; in Evaluate() local 2397 bit_size = module_sp->GetArchitecture().GetAddressByteSize() * 8; in Evaluate() 2398 if (!bit_size) { in Evaluate() 2416 bit_size = die.GetAttributeValueAsUnsigned(DW_AT_byte_size, 0) * 8; in Evaluate() 2417 if (!bit_size) in Evaluate() 2418 bit_size = die.GetAttributeValueAsUnsigned(DW_AT_bit_size, 0); in Evaluate() [all …]
|
| /openbsd-src/gnu/llvm/lldb/examples/python/ |
| H A D | gdbremote.py | 361 def bit_size(self): member in RegisterInfo 369 return self.bit_size() / 8 374 bit_size = self.bit_size() 378 if bit_size == 8: 380 elif bit_size == 16: 382 elif bit_size == 32: 384 elif bit_size == 64: 1127 nibble_size = reg_info.bit_size() / 4
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/SystemZ/ |
| H A D | ABISysV_s390x.cpp | 359 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 360 if (!bit_size) in GetArgumentValues() 365 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 369 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 1856 layout.bit_size = *attrs.byte_size * 8; in ParseStructureLikeDIE() 2186 layout_info.bit_size = type->GetByteSize(nullptr).value_or(0) * 8; in CompleteRecordType() 2187 if (layout_info.bit_size == 0) in CompleteRecordType() 2188 layout_info.bit_size = in CompleteRecordType() 2463 size_t bit_size = 0; member 2509 bit_size = form_value.Unsigned(); in MemberAttributes() 2570 bit_size = 0; in MemberAttributes() 2814 if (attrs.bit_size > 0) { in ParseSingleMember() 2817 this_field_info.bit_size = attrs.bit_size; in ParseSingleMember() 2828 this_field_info.bit_offset -= (attrs.bit_offset + attrs.bit_size); in ParseSingleMember() [all …]
|
| H A D | DWARFASTParserClang.h | 212 uint64_t bit_size = 0; member 224 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 145 std::optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local 146 if (!bit_size) in GetArgumentValues() 152 bit_width = *bit_size; in GetArgumentValues() 154 bit_width = *bit_size; in GetArgumentValues()
|
| H A D | ABISysV_arm64.cpp | 150 std::optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local 151 if (!bit_size) in GetArgumentValues() 154 bit_width = *bit_size; in GetArgumentValues() 156 bit_width = *bit_size; in GetArgumentValues()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 397 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 398 if (!bit_size) in GetArgumentValues() 402 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 406 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| H A D | ABISysV_ppc64.cpp | 275 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 276 if (!bit_size) in GetArgumentValues() 281 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 285 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.h | 71 uint64_t bit_size = 0; member 122 const clang::RecordDecl *record_decl, uint64_t &bit_size,
|
| H A D | ClangASTImporter.cpp | 521 const clang::RecordDecl *record_decl, uint64_t &bit_size, in LayoutRecordType() argument 534 bit_size = pos->second.bit_size; in LayoutRecordType() 542 bit_size = 0; in LayoutRecordType()
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | Scalar.cpp | 798 bool Scalar::ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) { in ExtractBitfield() argument 799 if (bit_size == 0) in ExtractBitfield() 809 m_integer = m_integer.extOrTrunc(bit_size).extOrTrunc(8 * GetByteSize()); in ExtractBitfield()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/include/opcode/ |
| H A D | crx.h | 320 unsigned int bit_size; member
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | ada-lang.c | 1679 int bit_size, bit_pos; in decode_packed_array() local 1683 bit_size = 0; in decode_packed_array() 1686 bit_size += 1; in decode_packed_array() 1689 bit_pos = HOST_CHAR_BIT * TYPE_LENGTH (VALUE_TYPE (arr)) - bit_size; in decode_packed_array() 1693 bit_size, in decode_packed_array() 1782 int bit_offset, int bit_size, in ada_value_primitive_packed_val() argument 1797 int len = (bit_size + bit_offset + HOST_CHAR_BIT - 1) / 8; in ada_value_primitive_packed_val() 1829 VALUE_BITSIZE (v) = bit_size; in ada_value_primitive_packed_val() 1837 VALUE_BITSIZE (v) = bit_size; in ada_value_primitive_packed_val() 1840 srcBitsLeft = bit_size; in ada_value_primitive_packed_val() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/ARM/ |
| H A D | ABIMacOSX_arm.cpp | 1352 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 1353 if (!bit_size) in GetArgumentValues() 1356 bit_width = *bit_size; in GetArgumentValues() 1358 bit_width = *bit_size; in GetArgumentValues()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | tree.c | 4539 get_set_constructor_bits (init, buffer, bit_size) in get_set_constructor_bits() argument 4542 int bit_size; 4550 for (i = 0; i < bit_size; i++) 4569 if (lo_index < 0 || lo_index >= bit_size 4570 || hi_index < 0 || hi_index >= bit_size) 4580 if (index < 0 || index >= bit_size) 4604 int bit_size = wd_size * set_word_size; local 4607 char *bit_buffer = (char *) alloca (bit_size); 4608 tree non_const_bits = get_set_constructor_bits (init, bit_buffer, bit_size); 4613 for (i = 0; i < bit_size; i++)
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 1207 layout_info.bit_size = udt.getLength() * 8; in CompleteTypeFromUDT() 1274 auto bit_size = member->getLength(); in AddRecordMembers() local 1276 bit_size *= 8; in AddRecordMembers() 1279 record_type, member_name.c_str(), member_comp_type, access, bit_size); in AddRecordMembers()
|