Home
last modified time | relevance | path

Searched refs:HighPC (Results 1 – 25 of 46) sorted by relevance

12

/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h24 uint64_t HighPC; member
31 uint64_t LowPC, uint64_t HighPC,
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
37 bool valid() const { return LowPC <= HighPC; } in valid()
43 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
45 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
62 HighPC = std::max<uint64_t>(HighPC, RHS.HighPC); in merge()
72 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
77 return std::tie(LHS.LowPC, LHS.HighPC) == std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h32 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
36 explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset) in Range()
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in Range()
39 void setHighPC(uint64_t HighPC) { in setHighPC()
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
46 uint64_t HighPC() const { in HighPC() function
DDWARFDebugLine.h207 uint64_t HighPC; member
219 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
220 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
224 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
229 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h24 uint64_t HighPC; member
31 uint64_t LowPC, uint64_t HighPC,
33 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
37 bool valid() const { return LowPC <= HighPC; } in valid()
43 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
45 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
54 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
59 return std::tie(LHS.LowPC, LHS.HighPC) == std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h31 void appendRange(uint64_t CUOffset, uint64_t LowPC, uint64_t HighPC);
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC()
39 void setHighPC(uint64_t HighPC) { in setHighPC()
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
46 uint64_t HighPC() const { in HighPC() function
DDWARFDebugLine.h212 uint64_t HighPC; member
224 return std::tie(LHS.SectionIndex, LHS.HighPC) < in orderByHighPC()
225 std::tie(RHS.SectionIndex, RHS.HighPC); in orderByHighPC()
229 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
234 (LowPC <= PC.Address && PC.Address < HighPC); in containsPC()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugAranges.h31 void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
35 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
37 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC()
39 void setHighPC(uint64_t HighPC) { in setHighPC()
40 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
43 Length = HighPC - LowPC; in setHighPC()
45 uint64_t HighPC() const { in HighPC() function
52 return LowPC <= Address && Address < HighPC(); in containsAddress()
DDWARFDebugLine.h152 uint64_t HighPC; member
164 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
167 return (LowPC <= pc && pc < HighPC); in containsPC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp33 uint64_t HighPC = Desc.getEndAddress(); in extract() local
34 appendRange(CUOffset, LowPC, HighPC); in extract()
61 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
75 uint64_t HighPC) { in appendRange() argument
76 if (LowPC >= HighPC) in appendRange()
79 Endpoints.emplace_back(HighPC, CUOffset, false); in appendRange()
92 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress && in construct()
118 partition_point(Aranges, [=](Range R) { return R.HighPC() <= Address; }); in findAddress()
DDWARFDebugRnglists.cpp149 E.HighPC = RLE.Value1; in getAbsoluteRanges()
152 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
157 E.HighPC = RLE.Value1; in getAbsoluteRanges()
161 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
169 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
DDWARFDie.cpp276 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
277 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
278 OS << format("0x%016" PRIx64, HighPC); in dumpAttribute()
431 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
439 HighPC = *HighPcAddr; in getLowAndHighPC()
450 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
451 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
452 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
487 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
DDWARFDebugRangeList.cpp81 E.HighPC = RLE.EndAddress; in getAbsoluteRanges()
88 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFAddressRange.cpp22 << format("0x%*.*" PRIx64, AddressSize * 2, AddressSize * 2, HighPC); in dump()
DDWARFDebugLoc.cpp64 Optional<SectionedAddress> HighPC = LookupAddr(E.Value1); in Interpret() local
65 if (!HighPC) in Interpret()
68 DWARFAddressRange{LowPC->Address, HighPC->Address, LowPC->SectionIndex}, in Interpret()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp39 uint64_t HighPC = Desc.getEndAddress(); in extract() local
40 appendRange(CUOffset, LowPC, HighPC); in extract()
67 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
81 uint64_t HighPC) { in appendRange() argument
82 if (LowPC >= HighPC) in appendRange()
85 Endpoints.emplace_back(HighPC, CUOffset, false); in appendRange()
98 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress && in construct()
124 partition_point(Aranges, [=](Range R) { return R.HighPC() <= Address; }); in findAddress()
DDWARFDebugRnglists.cpp125 E.HighPC = RLE.Value1; in getAbsoluteRanges()
130 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
135 E.HighPC = RLE.Value1; in getAbsoluteRanges()
139 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
147 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
160 E.HighPC = End->Address; in getAbsoluteRanges()
DDWARFDie.cpp285 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
286 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
287 DWARFFormValue::dumpAddress(OS, U->getAddressByteSize(), HighPC); in dumpAttribute()
444 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
452 HighPC = *HighPcAddr; in getLowAndHighPC()
463 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
464 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
465 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
500 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
DDWARFDebugRangeList.cpp86 E.HighPC = RLE.EndAddress; in getAbsoluteRanges()
95 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFAddressRange.cpp23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); in dump()
/external/llvm-project/libunwind/src/
DFrameHeaderCache.hpp35 uintptr_t HighPC() { return Info.dso_base + Info.text_segment_length; }; in HighPC() function
98 Current->LowPC(), Current->HighPC()); in find()
100 CBData->targetAddr < Current->HighPC()) { in find()
103 Current->LowPC(), Current->HighPC()); in find()
137 Current->LowPC(), Current->HighPC()); in add()
145 MostRecentlyUsed->HighPC()); in add()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp31 uint64_t HighPC = Desc.getEndAddress(); in extract() local
32 appendRange(CUOffset, LowPC, HighPC); in extract()
71 uint64_t HighPC) { in appendRange() argument
72 if (LowPC >= HighPC) in appendRange()
75 Endpoints.emplace_back(HighPC, CUOffset, false); in appendRange()
88 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress && in construct()
DDWARFDebugInfoEntry.cpp316 uint64_t &HighPC) const { in getLowAndHighPC()
320 HighPC = getAttributeValueAsAddress(U, DW_AT_high_pc, -1ULL); in getLowAndHighPC()
321 if (HighPC == -1ULL) { in getLowAndHighPC()
324 HighPC = getAttributeValueAsUnsignedConstant(U, DW_AT_high_pc, -1ULL); in getLowAndHighPC()
325 if (HighPC != -1ULL) in getLowAndHighPC()
326 HighPC += LowPC; in getLowAndHighPC()
328 return (HighPC != -1ULL); in getLowAndHighPC()
336 uint64_t LowPC, HighPC; in getAddressRanges() local
337 if (getLowAndHighPC(U, LowPC, HighPC)) { in getAddressRanges()
338 return DWARFAddressRangesVector(1, std::make_pair(LowPC, HighPC)); in getAddressRanges()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h29 uint64_t HighPC; member
35 : HighPC(EndPC), Offset(Offset) {} in ObjFileAddressRange()
37 ObjFileAddressRange() : HighPC(0), Offset(0) {} in ObjFileAddressRange()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DDwarfTransformer.cpp224 if (FuncRange.LowPC <= Range.LowPC && Range.HighPC <= FuncRange.HighPC) in parseInlineInfo()
225 II.Ranges.insert(AddressRange(Range.LowPC, Range.HighPC)); in parseInlineInfo()
380 if (Range.LowPC >= Range.HighPC || CUI.isHighestAddress(Range.LowPC)) in handleDie()
404 FI.setEndAddress(Range.HighPC); in handleDie()
/external/llvm-project/llvm/tools/llvm-dwarfdump/
DStatistics.cpp206 uint64_t Upper = std::min(A.HighPC, B.HighPC); in calculateOverlap()
297 TotalBytesCovered += Entry.Range->HighPC - Entry.Range->LowPC; in collectStatsForDie()
433 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()

12