/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | GenericBitset.cpp | 112 std::optional<uint64_t> bit_size = in GetChildAtIndex() local 114 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 116 chunk = m_first->GetChildAtIndex(idx / *bit_size); in GetChildAtIndex() 124 std::optional<uint64_t> bit_size = in GetChildAtIndex() local 126 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 128 size_t chunk_idx = idx % *bit_size; in GetChildAtIndex()
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_tnt_cache.c | 71 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 D | pt_packet.c | 182 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 D | pt_encoder.c | 327 if (packet->payload.tnt.bit_size >= 7) in pt_enc_next() 334 stop = packet->payload.tnt.bit_size + pt_opm_tnt_8_shr; in pt_enc_next() 351 if (packet->payload.tnt.bit_size >= pt_pl_tnt_64_bits) in pt_enc_next() 354 stop = 1ull << packet->payload.tnt.bit_size; in pt_enc_next() 736 packet.payload.tnt.bit_size = (uint8_t) size; in pt_encode_tnt_8() 747 packet.payload.tnt.bit_size = (uint8_t) size; in pt_encode_tnt_64()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 802 return qual_type_bit_size == bit_size; in QualTypeMatchesBitSize() 858 if (bit_size && !(bit_size & 0x7u)) in GetBuiltinTypeForEncodingAndBitSize() 1134 switch (bit_size) { in GetBuiltinTypeForDWARFEncodingAndBitSize() 1158 type_name, dw_ate, bit_size); in GetBuiltinTypeForDWARFEncodingAndBitSize() 4692 uint64_t bit_size = 0; in GetBitSize() local 4694 return bit_size; in GetBitSize() 4716 if (bit_size == 0) { in GetBitSize() 4723 return bit_size + in GetBitSize() 4727 return bit_size; in GetBitSize() 4728 if (bit_size) in GetBitSize() [all …]
|
H A D | TypeSystemClang.h | 204 size_t bit_size) override; 212 uint32_t dw_ate, uint32_t bit_size); 508 CompilerType GetIntTypeFromBitSize(size_t bit_size, bool is_signed); 515 size_t bit_size); 821 if (std::optional<uint64_t> bit_size = GetBitSize(type, exe_scope)) in GetByteSize() local 822 return (*bit_size + 7) / 8; in GetByteSize()
|
/freebsd/contrib/llvm-project/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()
|
H A D | ABISysV_x86_64.cpp | 271 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 272 if (!bit_size) in GetArgumentValues() 277 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 281 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | DWARFExpression.cpp | 2174 uint32_t bit_size = piece_byte_size * 8; in Evaluate() local 2178 bit_size, bit_offset)) { in Evaluate() 2192 assert(ap_int.getBitWidth() >= bit_size); in Evaluate() 2195 curr_piece.GetScalar() = Scalar(llvm::APInt(bit_size, buf)); in Evaluate() 2406 uint64_t bit_size; in Evaluate() local 2418 bit_size = module_sp->GetArchitecture().GetAddressByteSize() * 8; in Evaluate() 2419 if (!bit_size) { in Evaluate() 2438 if (!bit_size) in Evaluate() 2439 bit_size = die.GetAttributeValueAsUnsigned(DW_AT_bit_size, 0); in Evaluate() 2440 if (!bit_size) { in Evaluate() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.h | 255 uint64_t bit_size = 0; member 271 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid() 286 size_t bit_size = 0; member
|
H A D | DWARFASTParserClang.cpp | 1897 layout.bit_size = attrs.byte_size.value_or(0) * 8; in ParseStructureLikeDIE() 2236 if (layout_info.bit_size == 0) in CompleteRecordType() 2237 layout_info.bit_size = in CompleteRecordType() 2658 bit_size = form_value.Unsigned(); in MemberAttributes() 2704 bit_size = 0; in MemberAttributes() 2965 if (attrs.bit_size > 0) { in ParseSingleMember() 2968 this_field_info.bit_size = attrs.bit_size; in ParseSingleMember() 3025 last_field_info.bit_offset + last_field_info.bit_size; in ParseSingleMember() 3039 unnamed_field_info->bit_size = in ParseSingleMember() 3050 accessibility, unnamed_field_info->bit_size); in ParseSingleMember() [all …]
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
H A D | ABISysV_ppc.cpp | 398 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 399 if (!bit_size) in GetArgumentValues() 403 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 407 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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-tnt_cache.c | 169 packet.bit_size = 4ull; in update_tnt()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Scalar.cpp | 799 bool Scalar::ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) { in ExtractBitfield() argument 800 if (bit_size == 0) in ExtractBitfield() 810 m_integer = m_integer.extOrTrunc(bit_size).extOrTrunc(8 * GetByteSize()); in ExtractBitfield()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/ |
H A D | ABIMacOSX_arm.cpp | 1456 std::optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 1457 if (!bit_size) in GetArgumentValues() 1460 bit_width = *bit_size; in GetArgumentValues() 1462 bit_width = *bit_size; in GetArgumentValues()
|