| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | GenericBitset.cpp | 109 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local 111 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 113 chunk = m_first->GetChildAtIndex(idx / *bit_size, true); in GetChildAtIndex() 121 llvm::Optional<uint64_t> bit_size = in GetChildAtIndex() local 123 if (!bit_size || *bit_size == 0) in GetChildAtIndex() 125 size_t chunk_idx = idx % *bit_size; in GetChildAtIndex()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 791 return qual_type_bit_size == bit_size; in QualTypeMatchesBitSize() 847 if (bit_size && !(bit_size & 0x7u)) in GetBuiltinTypeForEncodingAndBitSize() 1131 switch (bit_size) { in GetBuiltinTypeForDWARFEncodingAndBitSize() 1155 type_name, dw_ate, bit_size); in GetBuiltinTypeForDWARFEncodingAndBitSize() 4701 uint64_t bit_size = 0; in GetBitSize() local 4703 return bit_size; in GetBitSize() 4725 if (bit_size == 0) { in GetBitSize() 4732 return bit_size + in GetBitSize() 4736 return bit_size; in GetBitSize() 4737 if (bit_size) in GetBitSize() [all …]
|
| H A D | TypeSystemClang.h | 205 size_t bit_size) override; 213 uint32_t dw_ate, uint32_t bit_size); 432 CompilerType GetIntTypeFromBitSize(size_t bit_size, bool is_signed); 439 size_t bit_size); 729 if (llvm::Optional<uint64_t> bit_size = GetBitSize(type, exe_scope)) in GetByteSize() local 730 return (*bit_size + 7) / 8; in GetByteSize()
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestClangASTImporter.cpp | 239 layout_info.bit_size = 15; in TEST_F() 244 uint64_t bit_size; in TEST_F() local 249 importer.LayoutRecordType(source.record_decl, bit_size, alignment, in TEST_F() 252 EXPECT_EQ(15U, bit_size); in TEST_F()
|
| H A D | TestTypeSystemClang.cpp | 167 lldb::Encoding encoding, unsigned int bit_size) { in VerifyEncodingAndBitSize() argument 171 clang_context.GetBuiltinTypeForEncodingAndBitSize(encoding, bit_size); in VerifyEncodingAndBitSize() 180 EXPECT_EQ(bit_size, actual_size); in VerifyEncodingAndBitSize()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/X86/ |
| H A D | ABIMacOSX_i386.cpp | 167 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 D | ABISysV_i386.cpp | 184 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 D | ABIWindows_x86_64.cpp | 277 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 278 if (!bit_size) in GetArgumentValues() 283 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 287 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| H A D | ABISysV_x86_64.cpp | 270 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 271 if (!bit_size) in GetArgumentValues() 276 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 280 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | DWARFExpression.cpp | 2125 uint32_t bit_size = piece_byte_size * 8; in Evaluate() local 2129 bit_size, bit_offset)) { in Evaluate() 2143 assert(ap_int.getBitWidth() >= bit_size); in Evaluate() 2146 curr_piece.GetScalar() = Scalar(llvm::APInt(bit_size, buf)); in Evaluate() 2357 uint64_t bit_size; in Evaluate() local 2369 bit_size = module_sp->GetArchitecture().GetAddressByteSize() * 8; in Evaluate() 2370 if (!bit_size) { in Evaluate() 2387 if (!bit_size) in Evaluate() 2388 bit_size = die.GetAttributeValueAsUnsigned(DW_AT_bit_size, 0); in Evaluate() 2389 if (!bit_size) { in Evaluate() [all …]
|
| /llvm-project-15.0.7/lldb/examples/python/ |
| H A D | gdbremote.py | 362 def bit_size(self): member in RegisterInfo 370 return self.bit_size() / 8 375 bit_size = self.bit_size() 379 if bit_size == 8: 381 elif bit_size == 16: 383 elif bit_size == 32: 385 elif bit_size == 64: 1128 nibble_size = reg_info.bit_size() / 4
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/SystemZ/ |
| H A D | ABISysV_s390x.cpp | 359 llvm::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()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 1791 layout.bit_size = *attrs.byte_size * 8; in ParseStructureLikeDIE() 2118 if (layout_info.bit_size == 0) in CompleteRecordType() 2119 layout_info.bit_size = in CompleteRecordType() 2389 size_t bit_size = 0; member 2435 bit_size = form_value.Unsigned(); in MemberAttributes() 2496 bit_size = 0; in MemberAttributes() 2734 if (attrs.bit_size > 0) { in ParseSingleMember() 2737 this_field_info.bit_size = attrs.bit_size; in ParseSingleMember() 2817 last_field_info.bit_size == 0 && in ParseSingleMember() 2820 unnamed_field_info->bit_size = in ParseSingleMember() [all …]
|
| H A D | DWARFASTParserClang.h | 191 uint64_t bit_size = 0; member 203 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/AArch64/ |
| H A D | ABIMacOSX_arm64.cpp | 144 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local 145 if (!bit_size) in GetArgumentValues() 151 bit_width = *bit_size; in GetArgumentValues() 153 bit_width = *bit_size; in GetArgumentValues()
|
| H A D | ABISysV_arm64.cpp | 149 llvm::Optional<uint64_t> bit_size = value_type.GetBitSize(&thread); in GetArgumentValues() local 150 if (!bit_size) in GetArgumentValues() 153 bit_width = *bit_size; in GetArgumentValues() 155 bit_width = *bit_size; in GetArgumentValues()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/PowerPC/ |
| H A D | ABISysV_ppc.cpp | 397 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 D | ABISysV_ppc64.cpp | 274 llvm::Optional<uint64_t> bit_size = compiler_type.GetBitSize(&thread); in GetArgumentValues() local 275 if (!bit_size) in GetArgumentValues() 280 ReadIntegerArgument(value->GetScalar(), *bit_size, is_signed, thread, in GetArgumentValues() 284 ReadIntegerArgument(value->GetScalar(), *bit_size, false, thread, in GetArgumentValues()
|
| /llvm-project-15.0.7/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 | 520 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()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/ |
| H A D | dwarf5-implicit-const.s | 8 # error: need to add support for DW_TAG_base_type 'int' encoded with DW_ATE = 0x5, bit_size = 0
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ABI/ARM/ |
| H A D | ABIMacOSX_arm.cpp | 1352 llvm::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()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 1203 layout_info.bit_size = udt.getLength() * 8; in CompleteTypeFromUDT() 1270 auto bit_size = member->getLength(); in AddRecordMembers() local 1272 bit_size *= 8; in AddRecordMembers() 1275 record_type, member_name.c_str(), member_comp_type, access, bit_size); in AddRecordMembers()
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | CompilerType.cpp | 490 if (llvm::Optional<uint64_t> bit_size = GetBitSize(exe_scope)) in GetByteSize() local 491 return (*bit_size + 7) / 8; in GetByteSize()
|