Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/lldb/bindings/interface/
H A DSBType.i53bit_offset = property(GetOffsetInBits, None, doc='''A read only property that returns offset in bi…
947 bit_offset = base.bit_offset
950 if member.bit_offset > bit_offset:
957 bit_offset = vbase.bit_offset
960 if member.bit_offset > bit_offset:
967 bit_offset = field.bit_offset
970 if member.bit_offset > bit_offset:
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h85 uint64_t bit_offset; 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()
105 base_offset = bit_offset; in ConvertToStruct()
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()
137 uint64_t AddMember(TypeSystemClang &clang, Member *field, uint64_t bit_offset,
H A DUdtRecordCompleter.cpp341 uint64_t bit_offset, CompilerType parent_ct, in AddMember() argument
372 ? member->bit_offset - field->base_offset in AddMember()
397 parent_layout.field_offsets.insert({field_decl, bit_offset}); in AddMember()
409 AddMember(clang, field.get(), field->bit_offset, m_derived_ct, m_layout, in FinishRecord()
485 parent->bit_offset = offset; in ConstructRecord()
/openbsd-src/gnu/gcc/gcc/
H A Dtree-dfa.c868 tree bit_offset = bitsize_zero_node; in get_ref_base_and_extent() local
905 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
920 bit_offset = size_binop (PLUS_EXPR, in get_ref_base_and_extent()
921 bit_offset, this_offset); in get_ref_base_and_extent()
922 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
935 - TREE_INT_CST_LOW (bit_offset)); in get_ref_base_and_extent()
960 bit_offset = size_binop (PLUS_EXPR, bit_offset, index); in get_ref_base_and_extent()
977 - TREE_INT_CST_LOW (bit_offset)); in get_ref_base_and_extent()
993 bit_offset = size_binop (PLUS_EXPR, bit_offset, in get_ref_base_and_extent()
1020 && TREE_INT_CST_LOW (bit_offset) + maxsize in get_ref_base_and_extent()
[all …]
H A Dtree-ssa-loop-prefetch.c402 HOST_WIDE_INT bit_offset; in analyze_ref() local
418 bit_offset = TREE_INT_CST_LOW (off); in analyze_ref()
419 gcc_assert (bit_offset % BITS_PER_UNIT == 0); in analyze_ref()
421 *delta += bit_offset / BITS_PER_UNIT; in analyze_ref()
H A Dtree-vect-transform.c913 int bit_offset; in vect_create_epilog_for_reduction() local
953 for (bit_offset = vec_size_in_bits/2; in vect_create_epilog_for_reduction()
954 bit_offset >= element_bitsize; in vect_create_epilog_for_reduction()
955 bit_offset /= 2) in vect_create_epilog_for_reduction()
957 tree bitpos = size_int (bit_offset); in vect_create_epilog_for_reduction()
1001 for (bit_offset = element_bitsize; in vect_create_epilog_for_reduction()
1002 bit_offset < vec_size_in_bits; in vect_create_epilog_for_reduction()
1003 bit_offset += element_bitsize) in vect_create_epilog_for_reduction()
1005 tree bitpos = bitsize_int (bit_offset); in vect_create_epilog_for_reduction()
H A Dstor-layout.c799 excess_unit_span (HOST_WIDE_INT byte_offset, HOST_WIDE_INT bit_offset, in excess_unit_span() argument
804 unsigned HOST_WIDE_INT offset = byte_offset * BITS_PER_UNIT + bit_offset; in excess_unit_span()
954 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); in place_field() local
963 if (excess_unit_span (offset, bit_offset, field_size, type_align, type)) in place_field()
986 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); in place_field() local
1002 if (excess_unit_span (offset, bit_offset, field_size, type_align, type)) in place_field()
H A Dggc-page.c1379 unsigned int bit_offset, word, bit; in ggc_free() local
1384 bit_offset = OFFSET_TO_BIT (((const char *) p) - pe->page, order); in ggc_free()
1385 word = bit_offset / HOST_BITS_PER_LONG; in ggc_free()
1386 bit = bit_offset % HOST_BITS_PER_LONG; in ggc_free()
1423 pe->next_bit_hint = bit_offset; in ggc_free()
H A Dtree-browser.def54 DEFTBCODE (TB_BIT_OFFSET, "bit_offset", "Field accessor.")
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBType.cpp414 uint32_t bit_offset = 0; in GetDirectBaseClassAtIndex() local
417 idx, &bit_offset); in GetDirectBaseClassAtIndex()
420 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetDirectBaseClassAtIndex()
430 uint32_t bit_offset = 0; in GetVirtualBaseClassAtIndex() local
433 idx, &bit_offset); in GetVirtualBaseClassAtIndex()
436 TypeImplSP(new TypeImpl(base_class_type)), bit_offset)); in GetVirtualBaseClassAtIndex()
470 uint64_t bit_offset = 0; in GetFieldAtIndex() local
475 idx, name_sstr, &bit_offset, &bitfield_bit_size, &is_bitfield)); in GetFieldAtIndex()
481 new TypeMemberImpl(TypeImplSP(new TypeImpl(field_type)), bit_offset, in GetFieldAtIndex()
737 const uint32_t bit_offset = m_opaque_up->GetBitOffset(); in GetDescription() local
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DProcessStructReader.h53 uint64_t bit_offset; in ProcessStructReader() local
57 idx, name, &bit_offset, &bitfield_bit_size, &is_bitfield); in ProcessStructReader()
66 size_t byte_index = static_cast<size_t>(bit_offset / 8); in ProcessStructReader()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp2461 int64_t bit_offset = 0; member
2506 bit_offset = form_value.Signed(); in MemberAttributes()
2569 if (byte_size.value_or(0) == 0 && bit_offset < 0) { in MemberAttributes()
2571 bit_offset = 0; in MemberAttributes()
2816 this_field_info.bit_offset = field_bit_offset; in ParseSingleMember()
2820 this_field_info.bit_offset = attrs.data_bit_offset; in ParseSingleMember()
2827 this_field_info.bit_offset += attrs.byte_size.value_or(0) * 8; in ParseSingleMember()
2828 this_field_info.bit_offset -= (attrs.bit_offset + attrs.bit_size); in ParseSingleMember()
2830 this_field_info.bit_offset += attrs.bit_offset; in ParseSingleMember()
2842 this_field_info.bit_offset == 0) && in ParseSingleMember()
[all …]
H A DDWARFASTParserClang.h213 uint64_t bit_offset = 0; member
224 return (bit_size + bit_offset) <= next_bit_offset; in NextBitfieldOffsetIsValid()
/openbsd-src/gnu/llvm/lldb/include/lldb/Symbol/
H A DType.h363 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset,
366 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), m_name(name), in m_type_impl_sp()
369 TypeMemberImpl(const lldb::TypeImplSP &type_impl_sp, uint64_t bit_offset) in TypeMemberImpl() argument
370 : m_type_impl_sp(type_impl_sp), m_bit_offset(bit_offset), in TypeMemberImpl()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp293 uint64_t bit_offset; in GetValueOffset() local
294 if (node_type.GetIndexOfFieldWithName("__value_", nullptr, &bit_offset) != in GetValueOffset()
296 m_skip_size = bit_offset / 8u; in GetValueOffset()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-tic54x.c1373 int bit_offset = 0; local
1409 bit_offset = frag_now->tc_frag_data;
1410 if (bit_offset != 0 && bit_offset < 16)
1412 int spare_bits = bits_per_byte - bit_offset;
1440 bit_offset = exp.X_add_number % bits_per_byte;
1459 frag_now->tc_frag_data = bit_offset;
1469 frag_now->tc_frag_data = bit_offset;
1910 int bit_offset = frag_bit_offset (frag_now, now_seg); local
1913 if (bit_offset == -1)
1931 else if (bit_offset == 0 || bit_offset + size > 16)
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-tic54x.c1368 int bit_offset = 0; local
1404 bit_offset = frag_now->tc_frag_data;
1405 if (bit_offset != 0 && bit_offset < 16)
1407 int spare_bits = bits_per_byte - bit_offset;
1435 bit_offset = exp.X_add_number % bits_per_byte;
1454 frag_now->tc_frag_data = bit_offset;
1464 frag_now->tc_frag_data = bit_offset;
1905 int bit_offset = frag_bit_offset (frag_now, now_seg); local
1908 if (bit_offset == -1)
1926 else if (bit_offset == 0 || bit_offset + size > 16)
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h443 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
444 return (buffer[index] >> bit_offset) & counter_mask; in Get()
450 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
451 buffer[index] += 1ULL << bit_offset; in Inc()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dstor-layout.c969 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); local
978 if ((((offset * BITS_PER_UNIT + bit_offset + field_size +
981 - (offset * BITS_PER_UNIT + bit_offset) / type_align)
1005 HOST_WIDE_INT bit_offset = tree_low_cst (rli->bitpos, 0); local
1023 if ((offset * BITS_PER_UNIT + bit_offset) / type_align
1024 != ((offset * BITS_PER_UNIT + bit_offset + field_size - 1)
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp798 bool Scalar::ExtractBitfield(uint32_t bit_size, uint32_t bit_offset) { in ExtractBitfield() argument
808 m_integer >>= bit_offset; in ExtractBitfield()
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DScalar.h77 bool ExtractBitfield(uint32_t bit_size, uint32_t bit_offset);
/openbsd-src/gnu/llvm/lldb/examples/synthetic/
H A Dgnu_libstdcpp.py450 bit_offset = index % element_bits
453 bit = element.GetValueAsUnsigned(0) & (1 << bit_offset)
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp293 int32_t &bit_offset) { in GetVBaseBitOffset() argument
309 bit_offset = base_offset * 8; in GetVBaseBitOffset()
6226 int32_t bit_offset; in GetChildCompilerTypeAtIndex() local
6287 base_class_decl, bit_offset); in GetChildCompilerTypeAtIndex()
6290 bit_offset = record_layout.getVBaseClassOffset(base_class_decl) in GetChildCompilerTypeAtIndex()
6294 bit_offset = record_layout.getBaseClassOffset(base_class_decl) in GetChildCompilerTypeAtIndex()
6299 child_byte_offset = bit_offset / 8; in GetChildCompilerTypeAtIndex()
6343 bit_offset = record_layout.getFieldOffset(field_idx); in GetChildCompilerTypeAtIndex()
6345 child_bitfield_bit_offset = bit_offset % child_bit_size; in GetChildCompilerTypeAtIndex()
6347 bit_offset - child_bitfield_bit_offset; in GetChildCompilerTypeAtIndex()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dada-lang.c1782 int bit_offset, int bit_size, in ada_value_primitive_packed_val() argument
1797 int len = (bit_size + bit_offset + HOST_CHAR_BIT - 1) / 8; in ada_value_primitive_packed_val()
1828 VALUE_BITPOS (v) = bit_offset + VALUE_BITPOS (obj); in ada_value_primitive_packed_val()
1853 && ((bytes[0] << bit_offset) & (1 << (HOST_CHAR_BIT - 1)))) in ada_value_primitive_packed_val()
1857 (HOST_CHAR_BIT - (bit_size + bit_offset) % HOST_CHAR_BIT) in ada_value_primitive_packed_val()
1880 int sign_bit_offset = (bit_size + bit_offset - 1) % 8; in ada_value_primitive_packed_val()
1883 unusedLS = bit_offset; in ada_value_primitive_packed_val()
5519 int bit_offset, bit_size, byte_offset; in ada_value_struct_elt() local
5530 &field_type, &byte_offset, &bit_offset, in ada_value_struct_elt()
5540 bit_offset, bit_size, in ada_value_struct_elt()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/i386/
H A Di386.c1716 classify_argument (mode, type, classes, bit_offset) in classify_argument() argument
1720 int bit_offset;
1724 int words = (bytes + (bit_offset % 64) / 8 + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
1774 (offset + bit_offset) % 256);
1779 int pos = (offset + (bit_offset % 64)) / 8 / 8;
1810 + bit_offset) % 256);
1816 (int_bit_position (field) + (bit_offset % 64)) / 8 / 8;
1829 TREE_TYPE (type), subclasses, bit_offset);
1862 (offset + (bit_offset % 64)) % 256);
1867 int pos = (offset + (bit_offset % 64)) / 8 / 8;
[all …]

12