/external/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, argument 20 uint32_t offset = *offset_ptr; 27 *offset_ptr += sizeof(val); 33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, argument 35 uint32_t offset = *offset_ptr; 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); 42 *offset_ptr = offset; 50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); 55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_ argument 65 getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const argument 75 getU32(uint32_t *offset_ptr, uint32_t *dst, uint32_t count) const argument 85 getU64(uint32_t *offset_ptr, uint64_t *dst, uint32_t count) const argument 92 getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const argument 107 getSigned(uint32_t *offset_ptr, uint32_t byte_size) const argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | DataExtractor.cpp | 17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, argument 20 uint32_t offset = *offset_ptr; 27 *offset_ptr += sizeof(val); 33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, argument 35 uint32_t offset = *offset_ptr; 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); 42 *offset_ptr = offset; 50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); 55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_ argument 65 getU16(uint32_t *offset_ptr, uint16_t *dst, uint32_t count) const argument 75 getU32(uint32_t *offset_ptr, uint32_t *dst, uint32_t count) const argument 85 getU64(uint32_t *offset_ptr, uint64_t *dst, uint32_t count) const argument 92 getUnsigned(uint32_t *offset_ptr, uint32_t byte_size) const argument 107 getSigned(uint32_t *offset_ptr, uint32_t byte_size) const argument [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | DataExtractor.h | 37 /// Extract a C string from \a *offset_ptr. 40 /// pointed to by \a offset_ptr. A variable length NULL terminated C 41 /// string will be extracted and the \a offset_ptr will be 45 /// @param[in,out] offset_ptr 54 /// pointed to by \a offset_ptr is out of bounds, or if the 57 const char *getCStr(uint32_t *offset_ptr) const; 60 /// *offset_ptr. 63 /// pointed to by \a offset_ptr. The size of the extracted integer 70 /// @param[in,out] offset_ptr 83 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_ [all...] |
/external/llvm/include/llvm/Support/ |
H A D | DataExtractor.h | 39 /// Extract a C string from \a *offset_ptr. 42 /// pointed to by \a offset_ptr. A variable length NULL terminated C 43 /// string will be extracted and the \a offset_ptr will be 47 /// @param[in,out] offset_ptr 56 /// pointed to by \a offset_ptr is out of bounds, or if the 59 const char *getCStr(uint32_t *offset_ptr) const; 62 /// *offset_ptr. 65 /// pointed to by \a offset_ptr. The size of the extracted integer 72 /// @param[in,out] offset_ptr 85 uint64_t getUnsigned(uint32_t *offset_ptr, uint32_ [all...] |
/external/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugArangeSet.cpp | 24 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { argument 25 if (data.isValidOffset(*offset_ptr)) { 27 Offset = *offset_ptr; 43 HeaderData.Length = data.getU32(offset_ptr); 44 HeaderData.Version = data.getU16(offset_ptr); 45 HeaderData.CuOffset = data.getU32(offset_ptr); 46 HeaderData.AddrSize = data.getU8(offset_ptr); 47 HeaderData.SegSize = data.getU8(offset_ptr); 60 const uint32_t header_size = *offset_ptr - Offset; 66 *offset_ptr [all...] |
H A D | DWARFTypeUnit.cpp | 17 uint32_t *offset_ptr) { 18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr)) 20 TypeHash = debug_info.getU64(offset_ptr); 21 TypeOffset = debug_info.getU32(offset_ptr); 16 extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) argument
|
H A D | DWARFDebugRangeList.cpp | 22 bool DWARFDebugRangeList::extract(DataExtractor data, uint32_t *offset_ptr) { argument 24 if (!data.isValidOffset(*offset_ptr)) 29 Offset = *offset_ptr; 32 uint32_t prev_offset = *offset_ptr; 33 entry.StartAddress = data.getAddress(offset_ptr); 34 entry.EndAddress = data.getAddress(offset_ptr); 36 if (*offset_ptr != prev_offset + 2 * AddressSize) {
|
H A D | DWARFFormValue.cpp | 134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, argument 152 RelocAddrMap::const_iterator AI = cu->getRelocMap()->find(*offset_ptr); 155 Value.uval = data.getUnsigned(offset_ptr, AddrSize) + R.second; 157 Value.uval = data.getUnsigned(offset_ptr, AddrSize); 162 Value.uval = data.getULEB128(offset_ptr); 166 Value.uval = data.getU8(offset_ptr); 170 Value.uval = data.getU16(offset_ptr); 174 Value.uval = data.getU32(offset_ptr); 180 Value.uval = data.getU8(offset_ptr); 184 Value.uval = data.getU16(offset_ptr); 256 skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr, const DWARFUnit *cu) const argument 262 skipValue(uint16_t form, DataExtractor debug_info_data, uint32_t *offset_ptr, const DWARFUnit *cu) argument 267 skipValue(uint16_t form, DataExtractor debug_info_data, uint32_t *offset_ptr, uint16_t Version, uint8_t AddrSize) argument [all...] |
H A D | DWARFDebugLine.cpp | 68 uint32_t *offset_ptr) { 69 const uint64_t prologue_offset = *offset_ptr; 72 TotalLength = debug_line_data.getU32(offset_ptr); 75 TotalLength = debug_line_data.getU64(offset_ptr); 79 Version = debug_line_data.getU16(offset_ptr); 84 debug_line_data.getUnsigned(offset_ptr, sizeofPrologueLength()); 85 const uint64_t end_prologue_offset = PrologueLength + *offset_ptr; 86 MinInstLength = debug_line_data.getU8(offset_ptr); 88 MaxOpsPerInst = debug_line_data.getU8(offset_ptr); 89 DefaultIsStmt = debug_line_data.getU8(offset_ptr); 67 parse(DataExtractor debug_line_data, uint32_t *offset_ptr) argument 246 parse(DataExtractor debug_line_data, const RelocAddrMap *RMap, uint32_t *offset_ptr) argument [all...] |
H A D | DWARFUnit.cpp | 77 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { argument 78 Length = debug_info.getU32(offset_ptr); 79 Version = debug_info.getU16(offset_ptr); 80 uint64_t AbbrOffset = debug_info.getU32(offset_ptr); 92 AddrSize = debug_info.getU8(offset_ptr); 105 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { argument 108 Offset = *offset_ptr; 110 if (debug_info.isValidOffset(*offset_ptr)) { 111 if (extractImpl(debug_info, offset_ptr)) 115 *offset_ptr [all...] |
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
H A D | DWARFDebugLine.cpp | 133 uint32_t *offset_ptr, Prologue *prologue) { 134 const uint32_t prologue_offset = *offset_ptr; 137 prologue->TotalLength = debug_line_data.getU32(offset_ptr); 138 prologue->Version = debug_line_data.getU16(offset_ptr); 142 prologue->PrologueLength = debug_line_data.getU32(offset_ptr); 143 const uint32_t end_prologue_offset = prologue->PrologueLength + *offset_ptr; 144 prologue->MinInstLength = debug_line_data.getU8(offset_ptr); 145 prologue->DefaultIsStmt = debug_line_data.getU8(offset_ptr); 146 prologue->LineBase = debug_line_data.getU8(offset_ptr); 147 prologue->LineRange = debug_line_data.getU8(offset_ptr); 132 parsePrologue(DataExtractor debug_line_data, uint32_t *offset_ptr, Prologue *prologue) argument 187 parseStatementTable(DataExtractor debug_line_data, uint32_t *offset_ptr, State &state) argument [all...] |
H A D | DWARFFormValue.cpp | 82 DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, argument 94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); 97 Value.uval = data.getULEB128(offset_ptr); 101 Value.uval = data.getU8(offset_ptr); 105 Value.uval = data.getU16(offset_ptr); 109 Value.uval = data.getU32(offset_ptr); 115 Value.uval = data.getU8(offset_ptr); 119 Value.uval = data.getU16(offset_ptr); 123 Value.uval = data.getU32(offset_ptr); 127 Value.uval = data.getU64(offset_ptr); 168 skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr, const DWARFCompileUnit *cu) const argument 174 skipValue(uint16_t form, DataExtractor debug_info_data, uint32_t *offset_ptr, const DWARFCompileUnit *cu) argument [all...] |
H A D | DWARFAbbreviationDeclaration.cpp | 18 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr){ argument 19 return extract(data, offset_ptr, data.getULEB128(offset_ptr)); 23 DWARFAbbreviationDeclaration::extract(DataExtractor data, uint32_t* offset_ptr, argument 28 Tag = data.getULEB128(offset_ptr); 29 HasChildren = data.getU8(offset_ptr); 31 while (data.isValidOffset(*offset_ptr)) { 32 uint16_t attr = data.getULEB128(offset_ptr); 33 uint16_t form = data.getULEB128(offset_ptr);
|
H A D | DWARFDebugArangeSet.cpp | 50 DWARFDebugArangeSet::extract(DataExtractor data, uint32_t *offset_ptr) { argument 51 if (data.isValidOffset(*offset_ptr)) { 53 Offset = *offset_ptr; 69 Header.Length = data.getU32(offset_ptr); 70 Header.Version = data.getU16(offset_ptr); 71 Header.CuOffset = data.getU32(offset_ptr); 72 Header.AddrSize = data.getU8(offset_ptr); 73 Header.SegSize = data.getU8(offset_ptr); 86 const uint32_t header_size = *offset_ptr - Offset; 92 *offset_ptr [all...] |
H A D | DWARFAbbreviationDeclaration.h | 43 bool extract(DataExtractor data, uint32_t* offset_ptr); 44 bool extract(DataExtractor data, uint32_t* offset_ptr, uint32_t code);
|
H A D | DWARFCompileUnit.cpp | 24 bool DWARFCompileUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { argument 27 Offset = *offset_ptr; 29 if (debug_info.isValidOffset(*offset_ptr)) { 32 Length = debug_info.getU32(offset_ptr); 33 Version = debug_info.getU16(offset_ptr); 34 abbrOffset = debug_info.getU32(offset_ptr); 35 AddrSize = debug_info.getU8(offset_ptr); 48 *offset_ptr = Offset;
|
H A D | DWARFFormValue.h | 52 bool extractValue(DataExtractor data, uint32_t *offset_ptr, 67 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr, 70 uint32_t *offset_ptr, const DWARFCompileUnit *cu);
|
H A D | DWARFDebugInfoEntry.cpp | 69 uint32_t* offset_ptr, 73 OS << format("0x%8.8x: ", *offset_ptr); 88 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu)) 98 uint32_t *offset_ptr) { 99 Offset = *offset_ptr; 102 uint64_t abbrCode = debug_info_data.getULEB128(offset_ptr); 107 uint32_t offset = *offset_ptr; 192 *offset_ptr = Offset; 200 *offset_ptr = offset; 212 uint32_t *offset_ptr) { 67 dumpAttribute(raw_ostream &OS, const DWARFCompileUnit *cu, uint32_t* offset_ptr, uint16_t attr, uint16_t form, unsigned indent) const argument 96 extractFast(const DWARFCompileUnit *cu, const uint8_t *fixed_form_sizes, uint32_t *offset_ptr) argument 211 extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr) argument [all...] |
H A D | DWARFDebugAbbrev.cpp | 16 uint32_t* offset_ptr) { 17 const uint32_t beginOffset = *offset_ptr; 22 while (abbrevDeclaration.extract(data, offset_ptr)) { 32 return beginOffset != *offset_ptr; 15 extract(DataExtractor data, uint32_t* offset_ptr) argument
|
H A D | DWARFDebugInfoEntry.h | 43 uint32_t *offset_ptr, uint16_t attr, uint16_t form, 47 uint32_t *offset_ptr); 51 bool extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr);
|
H A D | DWARFDebugAbbrev.h | 44 bool extract(DataExtractor data, uint32_t* offset_ptr);
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFFormValue.h | 61 /// \brief extracts a value in data at offset *offset_ptr. 67 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,
|
H A D | DWARFDebugArangeSet.h | 57 bool extract(DataExtractor data, uint32_t *offset_ptr);
|
H A D | DWARFDebugRangeList.h | 68 bool extract(DataExtractor data, uint32_t *offset_ptr);
|
H A D | DWARFTypeUnit.h | 36 bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;
|