Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxBitset.cpp89 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local
91 if (!bit_size || *bit_size == 0) in GetChildAtIndex()
93 chunk = m_first->GetChildAtIndex(idx / *bit_size, true); in GetChildAtIndex()
101 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local
103 if (!bit_size || *bit_size == 0) in GetChildAtIndex()
105 size_t chunk_idx = idx % *bit_size; in GetChildAtIndex()
/freebsd-13.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.c327 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-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp801 return qual_type_bit_size == bit_size; in QualTypeMatchesBitSize()
857 if (bit_size && !(bit_size & 0x7u)) in GetBuiltinTypeForEncodingAndBitSize()
1137 switch (bit_size) { in GetBuiltinTypeForDWARFEncodingAndBitSize()
1168 dw_ate, bit_size); in GetBuiltinTypeForDWARFEncodingAndBitSize()
4669 uint64_t bit_size = 0; in GetBitSize() local
4671 return bit_size; in GetBitSize()
4693 if (bit_size == 0) { in GetBitSize()
4700 return bit_size + in GetBitSize()
4704 return bit_size; in GetBitSize()
4705 if (bit_size) in GetBitSize()
[all …]
H A DTypeSystemClang.h203 size_t bit_size) override;
211 uint32_t dw_ate, uint32_t bit_size);
438 CompilerType GetIntTypeFromBitSize(size_t bit_size, bool is_signed);
445 size_t bit_size);
737 if (llvm::Optional<uint64_t> bit_size = GetBitSize(type, exe_scope)) in GetByteSize() local
738 return (*bit_size + 7) / 8; in GetByteSize()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp167 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
168 if (bit_size) { in GetArgumentValues()
171 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
174 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
H A DABISysV_i386.cpp184 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
185 if (bit_size) { in GetArgumentValues()
188 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, in GetArgumentValues()
191 ReadIntegerArgument(value->GetScalar(), *bit_size, false, in GetArgumentValues()
H A DABIWindows_x86_64.cpp276 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
277 if (!bit_size) in GetArgumentValues()
282 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
286 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
H A DABISysV_x86_64.cpp269 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
270 if (!bit_size) in GetArgumentValues()
275 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
279 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-13.1/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpression.cpp2220 uint32_t bit_size = piece_byte_size * 8; in Evaluate() local
2224 bit_size, bit_offset)) { in Evaluate()
2238 assert(ap_int.getBitWidth() >= bit_size); in Evaluate()
2241 curr_piece.GetScalar() = Scalar(llvm::APInt(bit_size, buf)); in Evaluate()
2452 uint64_t bit_size; in Evaluate() local
2464 bit_size = module_sp->GetArchitecture().GetAddressByteSize() * 8; in Evaluate()
2465 if (!bit_size) { in Evaluate()
2482 if (!bit_size) in Evaluate()
2483 bit_size = die.GetAttributeValueAsUnsigned(DW_AT_bit_size, 0); in Evaluate()
2484 if (!bit_size) { in Evaluate()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp358 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
359 if (!bit_size) in GetArgumentValues()
364 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
368 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1697 layout.bit_size = *attrs.byte_size * 8; in ParseStructureLikeDIE()
2033 if (layout_info.bit_size == 0) in CompleteRecordType()
2034 layout_info.bit_size = in CompleteRecordType()
2350 size_t bit_size = 0; in ParseSingleMember() local
2377 bit_size = form_value.Unsigned(); in ParseSingleMember()
2489 bit_size = 0; in ParseSingleMember()
2530 if (bit_size > 0) { in ParseSingleMember()
2533 this_field_info.bit_size = bit_size; in ParseSingleMember()
2613 last_field_info.bit_size == 0 && in ParseSingleMember()
2616 unnamed_field_info->bit_size = in ParseSingleMember()
[all …]
H A DDWARFASTParserClang.h177 uint64_t bit_size = 0; member
189 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp143 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local
144 if (!bit_size) in GetArgumentValues()
150 bit_width = *bit_size; in GetArgumentValues()
152 bit_width = *bit_size; in GetArgumentValues()
H A DABISysV_arm64.cpp148 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local
149 if (!bit_size) in GetArgumentValues()
152 bit_width = *bit_size; in GetArgumentValues()
154 bit_width = *bit_size; in GetArgumentValues()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp397 llvm::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 DABISysV_ppc64.cpp273 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local
274 if (!bit_size) in GetArgumentValues()
279 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues()
283 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.h71 uint64_t bit_size = 0; member
122 const clang::RecordDecl *record_decl, uint64_t &bit_size,
H A DClangASTImporter.cpp520 const clang::RecordDecl *record_decl, uint64_t &bit_size, in LayoutRecordType() argument
533 bit_size = pos->second.bit_size; in LayoutRecordType()
541 bit_size = 0; in LayoutRecordType()
/freebsd-13.1/contrib/processor-trace/libipt/test/src/
H A Dptunit-tnt_cache.c169 packet.bit_size = 4ull; in update_tnt()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp798 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.cpp1456 llvm::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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1196 layout_info.bit_size = udt.getLength() * 8; in CompleteTypeFromUDT()
1263 auto bit_size = member->getLength(); in AddRecordMembers() local
1265 bit_size *= 8; in AddRecordMembers()
1268 record_type, member_name.c_str(), member_comp_type, access, bit_size); in AddRecordMembers()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp490 if (llvm::Optional<uint64_t> bit_size = GetBitSize(exe_scope)) in GetByteSize() local
491 return (*bit_size + 7) / 8; in GetByteSize()

12