Searched refs:bit_size (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxBitset.cpp89 llvm::Optional<uint64_t> bit_size = local
91 if (!bit_size || *bit_size == 0)
93 chunk = m_first->GetChildAtIndex(idx / *bit_size, true);
101 llvm::Optional<uint64_t> bit_size =
103 if (!bit_size || *bit_size == 0)
105 size_t chunk_idx = idx % *bit_size;
/freebsd-11-stable/tools/tools/bus_autoconf/
H A Dbus_sections.c53 uint16_t bit_size; member in struct:format_info
71 pfi->bit_size = bs;
136 if (((psub->bit_offset + psub->bit_size) / 8) > size)
142 sz = psub->bit_size;
200 * <field_name>{bit_offset_xor, bit_size}
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangASTContext.cpp745 static inline bool QualTypeMatchesBitSize(const uint64_t bit_size, argument
748 return qual_type_bit_size == bit_size;
753 size_t bit_size) {
757 if (QualTypeMatchesBitSize(bit_size, ast, ast.VoidPtrTy))
762 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedCharTy))
764 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedShortTy))
766 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedIntTy))
768 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedLongTy))
770 if (QualTypeMatchesBitSize(bit_size, ast, ast.UnsignedLongLongTy))
772 if (QualTypeMatchesBitSize(bit_size, as
752 GetBuiltinTypeForEncodingAndBitSize(Encoding encoding, size_t bit_size) argument
898 GetBuiltinTypeForDWARFEncodingAndBitSize( llvm::StringRef type_name, uint32_t dw_ate, uint32_t bit_size) argument
2063 GetIntTypeFromBitSize(size_t bit_size, bool is_signed) argument
4386 const size_t bit_size = byte_size * 8; local
4419 uint64_t bit_size = 0; local
4442 const uint32_t bit_size = getASTContext().getTypeSize(qual_type); local
[all...]
H A DCompilerType.cpp486 if (llvm::Optional<uint64_t> bit_size = GetBitSize(exe_scope))
487 return (*bit_size + 7) / 8;
H A DClangASTImporter.cpp516 const clang::RecordDecl *record_decl, uint64_t &bit_size,
529 bit_size = pos->second.bit_size;
537 bit_size = 0;
515 LayoutRecordType( const clang::RecordDecl *record_decl, uint64_t &bit_size, uint64_t &alignment, llvm::DenseMap<const clang::FieldDecl *, uint64_t> &field_offsets, llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> &base_offsets, llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> &vbase_offsets) argument
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DClangASTImporter.h37 : bit_size(0), alignment(0), field_offsets(), base_offsets(),
39 uint64_t bit_size; member in struct:lldb_private::ClangASTImporter::LayoutInfo
69 const clang::RecordDecl *record_decl, uint64_t &bit_size,
H A DClangASTContext.h148 size_t bit_size) override;
156 uint32_t dw_ate, uint32_t bit_size);
377 CompilerType GetIntTypeFromBitSize(size_t bit_size, bool is_signed);
384 size_t bit_size);
654 if (llvm::Optional<uint64_t> bit_size = GetBitSize(type, exe_scope))
655 return (*bit_size + 7) / 8;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.h174 uint64_t bit_size = 0; member in struct:DWARFASTParserClang::FieldInfo
186 return (bit_size + bit_offset) <= next_bit_offset;
H A DDWARFASTParserClang.cpp2101 layout_info.bit_size = type->GetByteSize().getValueOr(0) * 8;
2102 if (layout_info.bit_size == 0)
2103 layout_info.bit_size =
2419 size_t bit_size = 0; local
2446 bit_size = form_value.Unsigned();
2558 bit_size = 0;
2598 if (bit_size > 0) {
2601 this_field_info.bit_size = bit_size;
2612 this_field_info.bit_offset -= (bit_offset + bit_size);
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp410 Scalar::Type Scalar::GetBestTypeForBitSize(size_t bit_size, bool sign) { argument
413 if (bit_size <= sizeof(int)*8) return Scalar::e_sint;
414 if (bit_size <= sizeof(long)*8) return Scalar::e_slong;
415 if (bit_size <= sizeof(long long)*8) return Scalar::e_slonglong;
416 if (bit_size <= 128) return Scalar::e_sint128;
417 if (bit_size <= 256) return Scalar::e_sint256;
418 if (bit_size <= 512) return Scalar::e_sint512;
420 if (bit_size <= sizeof(unsigned int)*8) return Scalar::e_uint;
421 if (bit_size <= sizeof(unsigned long)*8) return Scalar::e_ulong;
422 if (bit_size <
2721 ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) argument
[all...]
/freebsd-11-stable/contrib/binutils/include/opcode/
H A Dcr16.h324 unsigned int bit_size; member in struct:__anon587
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-s390x/
H A DABISysV_s390x.cpp371 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
372 if (!bit_size)
377 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread,
381 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/MacOSX-i386/
H A DABIMacOSX_i386.cpp825 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
826 if (bit_size) {
829 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed,
832 ReadIntegerArgument(value->GetScalar(), *bit_size, false,
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h108 static Type GetBestTypeForBitSize(size_t bit_size, bool sign);
112 bool ExtractBitfield(uint32_t bit_size, uint32_t bit_offset);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp2133 uint32_t bit_size = piece_byte_size * 8; local
2137 bit_size, bit_offset)) {
2147 // Create curr_piece with bit_size. By default Scalar
2151 assert(ap_int.getBitWidth() >= bit_size);
2154 curr_piece.GetScalar() = Scalar(llvm::APInt(bit_size, buf));
2233 "unable to extract DW_OP_bit_piece(bit_size = %" PRIu64
2242 "unable to extract DW_OP_bit_piece(bit_size = %" PRIu64
2341 uint64_t bit_size; local
2351 bit_size = module_sp->GetArchitecture().GetAddressByteSize() * 8;
2352 if (!bit_size) {
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-i386/
H A DABISysV_i386.cpp309 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
310 if (bit_size) {
313 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed,
316 ReadIntegerArgument(value->GetScalar(), *bit_size, false,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-ppc64/
H A DABISysV_ppc64.cpp271 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
272 if (!bit_size)
277 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread,
281 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-ppc/
H A DABISysV_ppc.cpp395 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
396 if (!bit_size)
400 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread,
404 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-x86_64/
H A DABISysV_x86_64.cpp421 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
422 if (!bit_size)
427 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread,
431 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/Windows-x86_64/
H A DABIWindows_x86_64.cpp1254 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
1255 if (!bit_size)
1260 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread,
1264 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1171 layout_info.bit_size = udt.getLength() * 8;
1238 auto bit_size = member->getLength(); local
1240 bit_size *= 8;
1243 record_type, member_name.c_str(), member_comp_type, access, bit_size);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/MacOSX-arm/
H A DABIMacOSX_arm.cpp1471 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); local
1472 if (!bit_size)
1475 bit_width = *bit_size;
1477 bit_width = *bit_size;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/SysV-arm64/
H A DABISysV_arm64.cpp1768 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); local
1769 if (!bit_size)
1772 bit_width = *bit_size;
1774 bit_width = *bit_size;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ABI/MacOSX-arm64/
H A DABIMacOSX_arm64.cpp1763 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); local
1764 if (!bit_size)
1770 bit_width = *bit_size;
1772 bit_width = *bit_size;
/freebsd-11-stable/contrib/gdb/gdb/
H A Dada-lang.c1369 int bit_offset, int bit_size,
1384 int len = (bit_size + bit_offset + HOST_CHAR_BIT - 1) / 8;
1416 VALUE_BITSIZE (v) = bit_size;
1424 VALUE_BITSIZE (v) = bit_size;
1427 srcBitsLeft = bit_size;
1431 if (bit_size == 0)
1444 (HOST_CHAR_BIT - (bit_size + bit_offset) % HOST_CHAR_BIT)
1454 (HOST_CHAR_BIT - bit_size % HOST_CHAR_BIT) % HOST_CHAR_BIT;
1467 int sign_bit_offset = (bit_size + bit_offset - 1) % 8;
5430 int bit_size
1364 ada_value_primitive_packed_val(struct value *obj, char *valaddr, long offset, int bit_offset, int bit_size, struct type *type) argument
5419 int bit_size = TYPE_FIELD_BITSIZE (arg_type, fieldno); local
[all...]

Completed in 265 milliseconds

12