Home
last modified time | relevance | path

Searched refs:OffsetPtr (Results 1 – 25 of 31) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DRecordInitializer.cpp14 if (!E.isValidOffsetForDataOfSize(OffsetPtr, sizeof(uint64_t))) in visit()
17 "Invalid offset for a buffer extent (%" PRId64 ").", OffsetPtr); in visit()
19 auto PreReadOffset = OffsetPtr; in visit()
20 R.Size = E.getU64(&OffsetPtr); in visit()
21 if (PreReadOffset == OffsetPtr) in visit()
24 OffsetPtr); in visit()
26 OffsetPtr += MetadataRecord::kMetadataBodySize - (OffsetPtr - PreReadOffset); in visit()
31 if (!E.isValidOffsetForDataOfSize(OffsetPtr, in visit()
35 "Invalid offset for a wallclock record (%" PRId64 ").", OffsetPtr); in visit()
36 auto BeginOffset = OffsetPtr; in visit()
[all …]
DTrace.cpp50 uint64_t OffsetPtr = 0; in loadNaiveFormatLog() local
51 auto FileHeaderOrError = readBinaryFormatHeader(Reader, OffsetPtr); in loadNaiveFormatLog()
66 while (Reader.isValidOffset(OffsetPtr)) { in loadNaiveFormatLog()
67 if (!Reader.isValidOffsetForDataOfSize(OffsetPtr, 32)) in loadNaiveFormatLog()
71 OffsetPtr); in loadNaiveFormatLog()
72 auto PreReadOffset = OffsetPtr; in loadNaiveFormatLog()
73 auto RecordType = Reader.getU16(&OffsetPtr); in loadNaiveFormatLog()
74 if (OffsetPtr == PreReadOffset) in loadNaiveFormatLog()
77 "Failed reading record type at offset %" PRId64 ".", OffsetPtr); in loadNaiveFormatLog()
85 PreReadOffset = OffsetPtr; in loadNaiveFormatLog()
[all …]
DFileHeaderReader.cpp15 uint64_t &OffsetPtr) { in readBinaryFormatHeader() argument
28 auto PreReadOffset = OffsetPtr; in readBinaryFormatHeader()
29 FileHeader.Version = HeaderExtractor.getU16(&OffsetPtr); in readBinaryFormatHeader()
30 if (OffsetPtr == PreReadOffset) in readBinaryFormatHeader()
34 OffsetPtr); in readBinaryFormatHeader()
36 PreReadOffset = OffsetPtr; in readBinaryFormatHeader()
37 FileHeader.Type = HeaderExtractor.getU16(&OffsetPtr); in readBinaryFormatHeader()
38 if (OffsetPtr == PreReadOffset) in readBinaryFormatHeader()
42 OffsetPtr); in readBinaryFormatHeader()
44 PreReadOffset = OffsetPtr; in readBinaryFormatHeader()
[all …]
DFDRRecordProducer.cpp87 auto PreReadOffset = OffsetPtr; in findNextBufferExtent()
88 uint8_t FirstByte = E.getU8(&OffsetPtr); in findNextBufferExtent()
89 if (OffsetPtr == PreReadOffset) in findNextBufferExtent()
92 "Failed reading one byte from offset %" PRId64 ".", OffsetPtr); in findNextBufferExtent()
102 RecordInitializer RI(E, OffsetPtr); in findNextBufferExtent()
149 auto PreReadOffset = OffsetPtr; in produce()
150 uint8_t FirstByte = E.getU8(&OffsetPtr); in produce()
151 if (OffsetPtr == PreReadOffset) in produce()
154 "Failed reading one byte from offset %" PRId64 ".", OffsetPtr); in produce()
172 RecordInitializer RI(E, OffsetPtr); in produce()
[all …]
DInstrumentationMap.cpp152 uint64_t OffsetPtr = 0; in loadObj() local
153 uint64_t AddrOff = OffsetPtr; in loadObj()
154 Entry.Address = RelocateOrElse(AddrOff, Extractor.getU64(&OffsetPtr)); in loadObj()
155 uint64_t FuncOff = OffsetPtr; in loadObj()
156 Entry.Function = RelocateOrElse(FuncOff, Extractor.getU64(&OffsetPtr)); in loadObj()
157 auto Kind = Extractor.getU8(&OffsetPtr); in loadObj()
167 Entry.AlwaysInstrument = Extractor.getU8(&OffsetPtr) != 0; in loadObj()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRnglists.cpp20 uint64_t *OffsetPtr) { in extract() argument
21 Offset = *OffsetPtr; in extract()
25 assert(*OffsetPtr < End && in extract()
27 uint8_t Encoding = Data.getU8(OffsetPtr); in extract()
35 uint64_t PreviousOffset = *OffsetPtr - 1; in extract()
36 Value0 = Data.getULEB128(OffsetPtr); in extract()
37 if (End < *OffsetPtr) in extract()
49 *OffsetPtr - 1); in extract()
51 uint64_t PreviousOffset = *OffsetPtr - 1; in extract()
52 Value0 = Data.getULEB128(OffsetPtr); in extract()
[all …]
DDWARFDebugInfoEntry.cpp22 uint64_t *OffsetPtr) { in extractFast() argument
25 return extractFast(U, OffsetPtr, DebugInfoData, UEndOffset, 0); in extractFast()
28 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint64_t *OffsetPtr, in extractFast() argument
31 Offset = *OffsetPtr; in extractFast()
35 uint64_t AbbrCode = DebugInfoData.getULEB128(OffsetPtr); in extractFast()
44 *OffsetPtr = Offset; in extractFast()
50 *OffsetPtr += *FixedSize; in extractFast()
59 *OffsetPtr += *FixedSize; in extractFast()
61 OffsetPtr, U.getFormParams())) { in extractFast()
64 *OffsetPtr = Offset; in extractFast()
DDWARFDebugLine.cpp158 uint64_t *OffsetPtr, uint64_t EndPrologueOffset, in parseV2DirFileTables() argument
162 while (*OffsetPtr < EndPrologueOffset) { in parseV2DirFileTables()
163 StringRef S = DebugLineData.getCStrRef(OffsetPtr); in parseV2DirFileTables()
171 while (*OffsetPtr < EndPrologueOffset) { in parseV2DirFileTables()
172 StringRef Name = DebugLineData.getCStrRef(OffsetPtr); in parseV2DirFileTables()
178 FileEntry.DirIdx = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
179 FileEntry.ModTime = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
180 FileEntry.Length = DebugLineData.getULEB128(OffsetPtr); in parseV2DirFileTables()
192 parseV5EntryFormat(const DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr, in parseV5EntryFormat() argument
195 int FormatCount = DebugLineData.getU8(OffsetPtr); in parseV5EntryFormat()
[all …]
DDWARFFormValue.cpp101 uint64_t *OffsetPtr) { in createFromUnit() argument
103 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit()
109 uint64_t *OffsetPtr, in skipValue() argument
118 uint64_t size = DebugInfoData.getULEB128(OffsetPtr); in skipValue()
119 *OffsetPtr += size; in skipValue()
123 uint8_t size = DebugInfoData.getU8(OffsetPtr); in skipValue()
124 *OffsetPtr += size; in skipValue()
128 uint16_t size = DebugInfoData.getU16(OffsetPtr); in skipValue()
129 *OffsetPtr += size; in skipValue()
133 uint32_t size = DebugInfoData.getU32(OffsetPtr); in skipValue()
[all …]
DDWARFListTable.cpp19 uint64_t *OffsetPtr) { in extract() argument
20 HeaderOffset = *OffsetPtr; in extract()
22 if (!Data.isValidOffsetForDataOfSize(*OffsetPtr, sizeof(uint32_t))) in extract()
26 SectionName.data(), *OffsetPtr); in extract()
29 HeaderData.Length = Data.getRelocatedValue(4, OffsetPtr); in extract()
33 HeaderData.Length = Data.getU64(OffsetPtr); in extract()
56 HeaderData.Version = Data.getU16(OffsetPtr); in extract()
57 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract()
58 HeaderData.SegSize = Data.getU8(OffsetPtr); in extract()
59 HeaderData.OffsetEntryCount = Data.getU32(OffsetPtr); in extract()
[all …]
DDWARFDebugAddr.cpp22 uint64_t *OffsetPtr, in extract() argument
27 HeaderOffset = *OffsetPtr; in extract()
29 if (!Data.isValidOffsetForDataOfSize(*OffsetPtr, sizeof(uint32_t))) in extract()
33 PRIx64, *OffsetPtr); in extract()
46 HeaderData.Length = Data.getU32(OffsetPtr); in extract()
72 HeaderData.Version = Data.getU16(OffsetPtr); in extract()
73 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract()
74 HeaderData.SegSize = Data.getU8(OffsetPtr); in extract()
135 Addrs.push_back(Data.getU32(OffsetPtr)); in extract()
137 Addrs.push_back(Data.getU64(OffsetPtr)); in extract()
DDWARFAbbreviationDeclaration.cpp41 uint64_t* OffsetPtr) { in extract() argument
43 const uint64_t Offset = *OffsetPtr; in extract()
44 Code = Data.getULEB128(OffsetPtr); in extract()
48 CodeByteSize = *OffsetPtr - Offset; in extract()
49 Tag = static_cast<llvm::dwarf::Tag>(Data.getULEB128(OffsetPtr)); in extract()
54 uint8_t ChildrenByte = Data.getU8(OffsetPtr); in extract()
63 auto A = static_cast<Attribute>(Data.getULEB128(OffsetPtr)); in extract()
64 auto F = static_cast<Form>(Data.getULEB128(OffsetPtr)); in extract()
68 int64_t V = Data.getSLEB128(OffsetPtr); in extract()
DDWARFUnitIndex.cpp21 uint64_t *OffsetPtr) { in parse() argument
22 if (!IndexData.isValidOffsetForDataOfSize(*OffsetPtr, 16)) in parse()
24 Version = IndexData.getU32(OffsetPtr); in parse()
25 NumColumns = IndexData.getU32(OffsetPtr); in parse()
26 NumUnits = IndexData.getU32(OffsetPtr); in parse()
27 NumBuckets = IndexData.getU32(OffsetPtr); in parse()
DDWARFDebugAbbrev.cpp29 uint64_t *OffsetPtr) { in extract() argument
31 const uint64_t BeginOffset = *OffsetPtr; in extract()
35 while (AbbrDecl.extract(Data, OffsetPtr)) { in extract()
47 return BeginOffset != *OffsetPtr; in extract()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFListTable.h50 uint64_t *OffsetPtr, StringRef SectionName,
126 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr);
159 Error extractHeaderAndOffsets(DWARFDataExtractor Data, uint64_t *OffsetPtr) { in extractHeaderAndOffsets() argument
160 return Header.extract(Data, OffsetPtr); in extractHeaderAndOffsets()
163 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr);
193 uint64_t *OffsetPtr) { in extract() argument
195 if (Error E = extractHeaderAndOffsets(Data, OffsetPtr)) in extract()
200 while (*OffsetPtr < End) { in extract()
202 uint64_t Off = *OffsetPtr; in extract()
203 if (Error E = CurrentList.extract(Data, getHeaderOffset(), End, OffsetPtr, in extract()
[all …]
DDWARFFormValue.h73 uint64_t *OffsetPtr);
90 bool extractValue(const DWARFDataExtractor &Data, uint64_t *OffsetPtr,
95 bool extractValue(const DWARFDataExtractor &Data, uint64_t *OffsetPtr, in extractValue() argument
97 return extractValue(Data, OffsetPtr, FormParams, nullptr, U); in extractValue()
131 bool skipValue(DataExtractor DebugInfoData, uint64_t *OffsetPtr, in skipValue() argument
133 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue()
147 uint64_t *OffsetPtr,
DDWARFDebugInfoEntry.h39 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr);
42 bool extractFast(const DWARFUnit &U, uint64_t *OffsetPtr,
DDWARFDebugRnglists.h37 Error extract(DWARFDataExtractor Data, uint64_t End, uint64_t *OffsetPtr);
DDWARFDebugAddr.h57 Error extract(DWARFDataExtractor Data, uint64_t *OffsetPtr,
DDWARFDebugAbbrev.h37 bool extract(DataExtractor Data, uint64_t *OffsetPtr);
DDWARFUnitIndex.h40 bool parse(DataExtractor IndexData, uint64_t *OffsetPtr);
DDWARFDebugLine.h140 Error parse(const DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
283 Error parse(DWARFDataExtractor &DebugLineData, uint64_t *OffsetPtr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/
DFDRRecordProducer.h30 uint64_t &OffsetPtr; variable
40 : Header(FH), E(DE), OffsetPtr(OP) {} in FileBasedRecordProducer()
DFileHeaderReader.h27 uint64_t &OffsetPtr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp46 Value *OffsetPtr = in lowerLoadRelative() local
48 Value *OffsetPtrI32 = B.CreateBitCast(OffsetPtr, Int32PtrTy); in lowerLoadRelative()

12