Home
last modified time | relevance | path

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

12

/external/llvm/lib/Support/
DDataExtractor.cpp17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, in getU() argument
20 uint32_t offset = *offset_ptr; in getU()
27 *offset_ptr += sizeof(val); in getU()
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, in getUs() argument
35 uint32_t offset = *offset_ptr; in getUs()
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
42 *offset_ptr = offset; in getUs()
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { in getU8()
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDataExtractor.cpp17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, in getU() argument
20 uint32_t offset = *offset_ptr; in getU()
27 *offset_ptr += sizeof(val); in getU()
33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, in getUs() argument
35 uint32_t offset = *offset_ptr; in getUs()
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
42 *offset_ptr = offset; in getUs()
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { in getU8()
51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); in getU8()
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8() argument
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp68 uint32_t *offset_ptr) { in parse() argument
69 const uint64_t prologue_offset = *offset_ptr; in parse()
72 TotalLength = debug_line_data.getU32(offset_ptr); in parse()
75 TotalLength = debug_line_data.getU64(offset_ptr); in parse()
79 Version = debug_line_data.getU16(offset_ptr); in parse()
84 debug_line_data.getUnsigned(offset_ptr, sizeofPrologueLength()); in parse()
85 const uint64_t end_prologue_offset = PrologueLength + *offset_ptr; in parse()
86 MinInstLength = debug_line_data.getU8(offset_ptr); in parse()
88 MaxOpsPerInst = debug_line_data.getU8(offset_ptr); in parse()
89 DefaultIsStmt = debug_line_data.getU8(offset_ptr); in parse()
[all …]
DDWARFFormValue.cpp134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue() argument
152 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr); in extractValue()
155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second; in extractValue()
157 Value.uval = data.getUnsigned(offset_ptr, AddrSize); in extractValue()
162 Value.uval = data.getULEB128(offset_ptr); in extractValue()
166 Value.uval = data.getU8(offset_ptr); in extractValue()
170 Value.uval = data.getU16(offset_ptr); in extractValue()
174 Value.uval = data.getU32(offset_ptr); in extractValue()
180 Value.uval = data.getU8(offset_ptr); in extractValue()
184 Value.uval = data.getU16(offset_ptr); in extractValue()
[all …]
DDWARFDebugArangeSet.cpp24 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument
25 if (data.isValidOffset(*offset_ptr)) { in extract()
27 Offset = *offset_ptr; in extract()
43 HeaderData.Length = data.getU32(offset_ptr); in extract()
44 HeaderData.Version = data.getU16(offset_ptr); in extract()
45 HeaderData.CuOffset = data.getU32(offset_ptr); in extract()
46 HeaderData.AddrSize = data.getU8(offset_ptr); in extract()
47 HeaderData.SegSize = data.getU8(offset_ptr); in extract()
60 const uint32_t header_size = *offset_ptr - Offset; in extract()
66 *offset_ptr = Offset + first_tuple_offset; in extract()
[all …]
DDWARFDebugRangeList.cpp22 bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument
24 if (!data.isValidOffset(*offset_ptr)) in extract()
29 Offset = *offset_ptr; in extract()
32 uint32_t prev_offset = *offset_ptr; in extract()
33 entry.StartAddress = data.getAddress(offset_ptr); in extract()
34 entry.EndAddress = data.getAddress(offset_ptr); in extract()
36 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
DDWARFTypeUnit.cpp17 uint32_t *offset_ptr) { in extractImpl() argument
18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr)) in extractImpl()
20 TypeHash = debug_info.getU64(offset_ptr); in extractImpl()
21 TypeOffset = debug_info.getU32(offset_ptr); in extractImpl()
DDWARFUnit.cpp77 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { in extractImpl() argument
78 Length = debug_info.getU32(offset_ptr); in extractImpl()
79 Version = debug_info.getU16(offset_ptr); in extractImpl()
80 uint64_t AbbrOffset = debug_info.getU32(offset_ptr); in extractImpl()
92 AddrSize = debug_info.getU8(offset_ptr); in extractImpl()
105 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract() argument
108 Offset = *offset_ptr; in extract()
110 if (debug_info.isValidOffset(*offset_ptr)) { in extract()
111 if (extractImpl(debug_info, offset_ptr)) in extract()
115 *offset_ptr = Offset; in extract()
/external/llvm/include/llvm/Support/
DDataExtractor.h59 const char *getCStr(uint32_t *offset_ptr) const;
85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
110 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
129 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument
130 return getUnsigned(offset_ptr, AddressSize); in getAddress()
147 uint8_t getU8(uint32_t *offset_ptr) const;
172 uint8_t *getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const;
190 uint16_t getU16(uint32_t *offset_ptr) const;
215 uint16_t *getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const;
231 uint32_t getU32(uint32_t *offset_ptr) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DDataExtractor.h83 const char *getCStr(uint32_t *offset_ptr) const;
131 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const;
156 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
175 uint64_t getAddress(uint32_t *offset_ptr) const { in getAddress() argument
176 return getUnsigned(offset_ptr, AddressSize); in getAddress()
193 uint8_t getU8(uint32_t *offset_ptr) const;
218 uint8_t *getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const;
236 uint16_t getU16(uint32_t *offset_ptr) const;
261 uint16_t *getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const;
278 uint32_t getU24(uint32_t *offset_ptr) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugArangeSet.cpp34 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { in extract() argument
35 if (data.isValidOffset(*offset_ptr)) { in extract()
37 Offset = *offset_ptr; in extract()
53 HeaderData.Length = data.getU32(offset_ptr); in extract()
54 HeaderData.Version = data.getU16(offset_ptr); in extract()
55 HeaderData.CuOffset = data.getU32(offset_ptr); in extract()
56 HeaderData.AddrSize = data.getU8(offset_ptr); in extract()
57 HeaderData.SegSize = data.getU8(offset_ptr); in extract()
70 const uint32_t header_size = *offset_ptr - Offset; in extract()
76 *offset_ptr = Offset + first_tuple_offset; in extract()
[all …]
DDWARFDebugRangeList.cpp35 uint32_t *offset_ptr) { in extract() argument
37 if (!data.isValidOffset(*offset_ptr)) in extract()
38 return createError("invalid range list offset 0x%" PRIx32, *offset_ptr); in extract()
43 Offset = *offset_ptr; in extract()
48 uint32_t prev_offset = *offset_ptr; in extract()
49 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); in extract()
51 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
54 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
DDWARFUnit.cpp98 uint32_t *offset_ptr, in extract() argument
101 Offset = *offset_ptr; in extract()
102 IndexEntry = Index ? Index->getFromOffset(*offset_ptr) : nullptr; in extract()
103 Length = debug_info.getU32(offset_ptr); in extract()
107 FormParams.Version = debug_info.getU16(offset_ptr); in extract()
109 UnitType = debug_info.getU8(offset_ptr); in extract()
110 FormParams.AddrSize = debug_info.getU8(offset_ptr); in extract()
111 AbbrOffset = debug_info.getU32(offset_ptr); in extract()
113 AbbrOffset = debug_info.getRelocatedValue(4, offset_ptr); in extract()
114 FormParams.AddrSize = debug_info.getU8(offset_ptr); in extract()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h67 bool extractValue(DataExtractor data, uint32_t *offset_ptr,
83 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
86 uint32_t *offset_ptr, const DWARFUnit *u);
88 uint32_t *offset_ptr, uint16_t Version,
DDWARFDebugLine.h89 bool parse(DataExtractor debug_line_data, uint32_t *offset_ptr);
208 uint32_t *offset_ptr);
DDWARFDebugRangeList.h68 bool extract(DataExtractor data, uint32_t *offset_ptr);
DDWARFDebugArangeSet.h57 bool extract(DataExtractor data, uint32_t *offset_ptr);
DDWARFTypeUnit.h36 bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;
DDWARFUnit.h142 virtual bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr);
182 bool extract(DataExtractor debug_info, uint32_t* offset_ptr);
DDWARFDebugInfoEntry.h43 void dumpAttribute(raw_ostream &OS, DWARFUnit *u, uint32_t *offset_ptr,
/external/v8/src/profiler/
Dtick-sample.cc63 for (int* offset_ptr = pattern->offsets; *offset_ptr != -1; ++offset_ptr) { in IsNoFrameRegion() local
64 int offset = *offset_ptr; in IsNoFrameRegion()
/external/webp/src/enc/
Dbackward_references_enc.h154 int* const offset_ptr, in VP8LHashChainFindCopy() argument
156 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugRangeList.h74 Error extract(const DWARFDataExtractor &data, uint32_t *offset_ptr);
DDWARFDebugArangeSet.h61 bool extract(DataExtractor data, uint32_t *offset_ptr);
/external/llvm/test/Transforms/InstCombine/
Dvector-casts.ll136 %offset_ptr = getelementptr <4 x float>, <4 x float>* null, i32 1
137 %offset_int = ptrtoint <4 x float>* %offset_ptr to i64

12