Home
last modified time | relevance | path

Searched refs:bit_size (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxBitset.cpp83 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local
85 if (!bit_size || *bit_size == 0) in GetChildAtIndex()
87 chunk = m_first->GetChildAtIndex(idx / *bit_size, true); in GetChildAtIndex()
95 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local
97 if (!bit_size || *bit_size == 0) in GetChildAtIndex()
99 size_t chunk_idx = idx % *bit_size; in GetChildAtIndex()
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_tnt_cache.c71 uint8_t bit_size; in pt_tnt_cache_update_tnt() local
81 bit_size = packet->bit_size; in pt_tnt_cache_update_tnt()
82 if (!bit_size) in pt_tnt_cache_update_tnt()
86 cache->index = 1ull << (bit_size - 1); in pt_tnt_cache_update_tnt()
H A Dpt_packet.c182 uint8_t bit_size; in pt_pkt_read_tnt() local
187 bit_size = pt_pkt_tnt_bit_size(payload); in pt_pkt_read_tnt()
188 if (!bit_size) in pt_pkt_read_tnt()
192 payload &= ~(1ull << bit_size); in pt_pkt_read_tnt()
195 packet->bit_size = bit_size; in pt_pkt_read_tnt()
H A Dpt_encoder.c326 if (packet->payload.tnt.bit_size >= 7) in pt_enc_next()
333 stop = packet->payload.tnt.bit_size + pt_opm_tnt_8_shr; in pt_enc_next()
350 if (packet->payload.tnt.bit_size >= pt_pl_tnt_64_bits) in pt_enc_next()
353 stop = 1ull << packet->payload.tnt.bit_size; in pt_enc_next()
734 packet.payload.tnt.bit_size = (uint8_t) size; in pt_encode_tnt_8()
745 packet.payload.tnt.bit_size = (uint8_t) size; in pt_encode_tnt_64()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp997 return qual_type_bit_size == bit_size; in QualTypeMatchesBitSize()
1004 getASTContext(), encoding, bit_size); in GetBuiltinTypeForEncodingAndBitSize()
1060 if (bit_size && !(bit_size & 0x7u)) in GetBuiltinTypeForEncodingAndBitSize()
1378 type_name, dw_ate, bit_size); in GetBuiltinTypeForDWARFEncodingAndBitSize()
1383 dw_ate, bit_size); in GetBuiltinTypeForDWARFEncodingAndBitSize()
5035 uint64_t bit_size = 0; in GetBitSize() local
5038 return bit_size; in GetBitSize()
5060 if (bit_size == 0) { in GetBitSize()
5067 return bit_size + in GetBitSize()
5070 return bit_size; in GetBitSize()
[all …]
H A DClangASTImporter.cpp486 const clang::RecordDecl *record_decl, uint64_t &bit_size, in LayoutRecordType() argument
499 bit_size = pos->second.bit_size; in LayoutRecordType()
507 bit_size = 0; in LayoutRecordType()
H A DCompilerType.cpp516 if (llvm::Optional<uint64_t> bit_size = GetBitSize(exe_scope)) in GetByteSize() local
517 return (*bit_size + 7) / 8; in GetByteSize()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DClangASTImporter.h87 : bit_size(0), alignment(0), field_offsets(), base_offsets(), in LayoutInfo()
89 uint64_t bit_size; member
121 const clang::RecordDecl *record_decl, uint64_t &bit_size,
H A DClangASTContext.h163 size_t bit_size) override;
166 clang::ASTContext *ast, lldb::Encoding encoding, uint32_t bit_size);
180 uint32_t bit_size);
438 size_t bit_size, bool is_signed);
452 size_t bit_size);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp91 uint64_t bit_size; member
98 bit_size = LLDB_INVALID_ADDRESS; in Clear()
103 return (bit_size != LLDB_INVALID_ADDRESS) && in IsValid()
2317 if (layout_info.bit_size == 0) in CompleteTypeFromDWARF()
2318 layout_info.bit_size = in CompleteTypeFromDWARF()
2728 size_t bit_size = 0; in ParseChildMembers() local
2757 bit_size = form_value.Unsigned(); in ParseChildMembers()
2869 bit_size = 0; in ParseChildMembers()
2905 if (bit_size > 0) { in ParseChildMembers()
2909 this_field_info.bit_size = bit_size; in ParseChildMembers()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-s390x/
H A DABISysV_s390x.cpp379 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
380 if (!bit_size) in GetArgumentValues()
385 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
389 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-i386/
H A DABIMacOSX_i386.cpp827 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
828 if (bit_size) { in GetArgumentValues()
831 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
834 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc/
H A DABISysV_ppc.cpp401 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
402 if (!bit_size) in GetArgumentValues()
406 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
410 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-ppc64/
H A DABISysV_ppc64.cpp283 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
284 if (!bit_size) in GetArgumentValues()
289 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
293 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-i386/
H A DABISysV_i386.cpp311 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
312 if (bit_size) { in GetArgumentValues()
315 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
318 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
/freebsd-12.1/contrib/processor-trace/libipt/test/src/
H A Dptunit-tnt_cache.c169 packet.bit_size = 4ull; in update_tnt()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-x86_64/
H A DABISysV_x86_64.cpp1266 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
1267 if (!bit_size) in GetArgumentValues()
1272 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
1276 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm/
H A DABIMacOSX_arm.cpp1473 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
1474 if (!bit_size) in GetArgumentValues()
1477 bit_width = *bit_size; in GetArgumentValues()
1479 bit_width = *bit_size; in GetArgumentValues()
/freebsd-12.1/contrib/binutils/include/opcode/
H A Dcr16.h324 unsigned int bit_size; member
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1166 layout_info.bit_size = udt.getLength() * 8; in CompleteTypeFromUDT()
1233 auto bit_size = member->getLength(); in AddRecordMembers() local
1235 bit_size *= 8; in AddRecordMembers()
1238 record_type, member_name.c_str(), member_comp_type, access, bit_size); in AddRecordMembers()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/SysV-arm64/
H A DABISysV_arm64.cpp1770 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local
1771 if (!bit_size) in GetArgumentValues()
1774 bit_width = *bit_size; in GetArgumentValues()
1776 bit_width = *bit_size; in GetArgumentValues()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ABI/MacOSX-arm64/
H A DABIMacOSX_arm64.cpp1765 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local
1766 if (!bit_size) in GetArgumentValues()
1772 bit_width = *bit_size; in GetArgumentValues()
1774 bit_width = *bit_size; in GetArgumentValues()
/freebsd-12.1/contrib/gdb/gdb/
H A Dada-valprint.c967 int bit_size = TYPE_FIELD_BITSIZE (type, i); in print_field_values() local
973 bit_size, in print_field_values()
H A Dada-lang.c1365 int bit_offset, int bit_size, in ada_value_primitive_packed_val() argument
1380 int len = (bit_size + bit_offset + HOST_CHAR_BIT - 1) / 8; in ada_value_primitive_packed_val()
1412 VALUE_BITSIZE (v) = bit_size; in ada_value_primitive_packed_val()
1420 VALUE_BITSIZE (v) = bit_size; in ada_value_primitive_packed_val()
1423 srcBitsLeft = bit_size; in ada_value_primitive_packed_val()
1427 if (bit_size == 0) in ada_value_primitive_packed_val()
1440 (HOST_CHAR_BIT - (bit_size + bit_offset) % HOST_CHAR_BIT) in ada_value_primitive_packed_val()
1450 (HOST_CHAR_BIT - bit_size % HOST_CHAR_BIT) % HOST_CHAR_BIT; in ada_value_primitive_packed_val()
1463 int sign_bit_offset = (bit_size + bit_offset - 1) % 8; in ada_value_primitive_packed_val()
5419 int bit_size = TYPE_FIELD_BITSIZE (arg_type, fieldno); in ada_value_primitive_field() local
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DScalar.h132 bool ExtractBitfield(uint32_t bit_size, uint32_t bit_offset);

12