Home
last modified time | relevance | path

Searched refs:offset_ptr (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DDataExtractor.cpp41 T DataExtractor::getU(uint64_t *offset_ptr, Error *Err) const { in getU() argument
47 uint64_t offset = *offset_ptr; in getU()
55 *offset_ptr += sizeof(val); in getU()
60 T *DataExtractor::getUs(uint64_t *offset_ptr, T *dst, uint32_t count, in getUs() argument
66 uint64_t offset = *offset_ptr; in getUs()
72 *value_ptr = getU<T>(offset_ptr, Err); in getUs()
74 *offset_ptr = offset; in getUs()
80 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const { in getU8() argument
81 return getU<uint8_t>(offset_ptr, Err); in getU8()
84 uint8_t *DataExtractor::getU8(uint64_t *offset_ptr, uint8_t *dst, in getU8() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugArangeSet.cpp38 uint64_t *offset_ptr, in extract() argument
40 assert(data.isValidOffset(*offset_ptr)); in extract()
42 Offset = *offset_ptr; in extract()
69 data.getInitialLength(offset_ptr, &Err); in extract()
70 HeaderData.Version = data.getU16(offset_ptr, &Err); in extract()
72 offset_ptr, dwarf::getDwarfOffsetByteSize(HeaderData.Format), &Err); in extract()
73 HeaderData.AddrSize = data.getU8(offset_ptr, &Err); in extract()
74 HeaderData.SegSize = data.getU8(offset_ptr, &Err); in extract()
115 const uint32_t header_size = *offset_ptr - Offset; in extract()
128 *offset_ptr = Offset + first_tuple_offset; in extract()
[all …]
H A DDWARFDebugRangeList.cpp26 uint64_t *offset_ptr) { in extract() argument
28 if (!data.isValidOffset(*offset_ptr)) in extract()
30 "invalid range list offset 0x%" PRIx64, *offset_ptr); in extract()
36 Offset = *offset_ptr; in extract()
41 uint64_t prev_offset = *offset_ptr; in extract()
42 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); in extract()
44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
47 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
H A DDWARFUnit.cpp231 uint64_t *offset_ptr, in extract() argument
233 Offset = *offset_ptr; in extract()
237 debug_info.getInitialLength(offset_ptr, &Err); in extract()
238 FormParams.Version = debug_info.getU16(offset_ptr, &Err); in extract()
240 UnitType = debug_info.getU8(offset_ptr, &Err); in extract()
241 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract()
243 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
246 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
247 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract()
256 TypeHash = debug_info.getU64(offset_ptr, &Err); in extract()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DDataExtractor.h270 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
303 int64_t getSigned(uint64_t *offset_ptr, uint32_t size) const;
322 uint64_t getAddress(uint64_t *offset_ptr) const { in getAddress() argument
323 return getUnsigned(offset_ptr, AddressSize); in getAddress()
351 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const;
381 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const;
425 uint16_t getU16(uint64_t *offset_ptr, Error *Err = nullptr) const;
455 uint16_t *getU16(uint64_t *offset_ptr, uint16_t *dst, uint32_t count) const;
505 uint32_t getU32(uint64_t *offset_ptr, Error *Err = nullptr) const;
535 uint32_t *getU32(uint64_t *offset_ptr, uint32_t *dst, uint32_t count) const;
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dsymtab-thunks.cc267 tree offset_ptr, offset_tree; in thunk_adjust() local
270 offset_ptr in thunk_adjust()
274 stmt = gimple_build_assign (offset_ptr, in thunk_adjust()
275 build1 (NOP_EXPR, TREE_TYPE (offset_ptr), in thunk_adjust()
280 (offset_ptr, in thunk_adjust()
281 fold_build_pointer_plus_hwi_loc (input_location, offset_ptr, in thunk_adjust()
286 offset_tree = create_tmp_reg (TREE_TYPE (TREE_TYPE (offset_ptr)), in thunk_adjust()
289 build_simple_mem_ref (offset_ptr)); in thunk_adjust()
H A DChangeLog-200324270 (locate_and_pad_parm): Add "partial" to params. Replace offset_ptr
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugRangeList.h71 Error extract(const DWARFDataExtractor &data, uint64_t *offset_ptr);
H A DDWARFDebugArangeSet.h63 Error extract(DWARFDataExtractor data, uint64_t *offset_ptr,
H A DDWARFUnit.h77 uint64_t *offset_ptr, DWARFSectionKind SectionKind);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcgraphunit.c1814 tree offset_ptr, offset_tree; in thunk_adjust() local
1817 offset_ptr in thunk_adjust()
1821 stmt = gimple_build_assign (offset_ptr, in thunk_adjust()
1822 build1 (NOP_EXPR, TREE_TYPE (offset_ptr), in thunk_adjust()
1827 (offset_ptr, in thunk_adjust()
1828 fold_build_pointer_plus_hwi_loc (input_location, offset_ptr, in thunk_adjust()
1833 offset_tree = create_tmp_reg (TREE_TYPE (TREE_TYPE (offset_ptr)), in thunk_adjust()
1836 build_simple_mem_ref (offset_ptr)); in thunk_adjust()
H A Dfunction.c4173 pad_to_arg_alignment (struct args_size *offset_ptr, int boundary, in pad_to_arg_alignment() argument
4191 save_var = offset_ptr->var; in pad_to_arg_alignment()
4192 save_constant = offset_ptr->constant; in pad_to_arg_alignment()
4201 if (offset_ptr->var in pad_to_arg_alignment()
4202 || !known_misalignment (offset_ptr->constant + sp_offset, in pad_to_arg_alignment()
4207 ARGS_SIZE_TREE (*offset_ptr), in pad_to_arg_alignment()
4215 offset_ptr->var = size_binop (MINUS_EXPR, rounded, sp_offset_tree); in pad_to_arg_alignment()
4217 offset_ptr->constant = 0; in pad_to_arg_alignment()
4219 alignment_pad->var = size_binop (MINUS_EXPR, offset_ptr->var, in pad_to_arg_alignment()
4225 offset_ptr->constant -= misalign; in pad_to_arg_alignment()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/loongarch/
H A Dloongarch.cc2395 loongarch_split_plus (rtx x, rtx *base_ptr, HOST_WIDE_INT *offset_ptr) in loongarch_split_plus() argument
2400 *offset_ptr = INTVAL (XEXP (x, 1)); in loongarch_split_plus()
2405 *offset_ptr = 0; in loongarch_split_plus()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/mips/
H A Dmips.cc1588 mips_split_plus (rtx x, rtx *base_ptr, HOST_WIDE_INT *offset_ptr) in mips_split_plus() argument
1593 *offset_ptr = INTVAL (XEXP (x, 1)); in mips_split_plus()
1598 *offset_ptr = 0; in mips_split_plus()
10400 HOST_WIDE_INT *offset_ptr, unsigned int nargs, in mips16e_build_save_restore() argument
10456 *offset_ptr = size + (offset - top_offset); in mips16e_build_save_restore()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/mips/
H A Dmips.c1586 mips_split_plus (rtx x, rtx *base_ptr, HOST_WIDE_INT *offset_ptr) in mips_split_plus() argument
1591 *offset_ptr = INTVAL (XEXP (x, 1)); in mips_split_plus()
1596 *offset_ptr = 0; in mips_split_plus()
10259 HOST_WIDE_INT *offset_ptr, unsigned int nargs, in mips16e_build_save_restore() argument
10315 *offset_ptr = size + (offset - top_offset); in mips16e_build_save_restore()