Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAddressRange.h24 uint64_t HighPC; member
30 DWARFAddressRange(uint64_t LowPC, uint64_t HighPC, uint64_t SectionIndex = 0)
31 : LowPC(LowPC), HighPC(HighPC), SectionIndex(SectionIndex) {} in LowPC()
35 bool valid() const { return LowPC <= HighPC; } in valid()
41 if (LowPC == HighPC || RHS.LowPC == RHS.HighPC) in intersects()
43 return LowPC < RHS.HighPC && RHS.LowPC < HighPC; in intersects()
49 return LowPC <= RHS.LowPC && RHS.HighPC <= HighPC; in contains()
58 return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
DDWARFDebugAranges.h32 void appendRange(uint32_t CUOffset, uint64_t LowPC, uint64_t HighPC);
36 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
38 : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {} in LowPC()
40 void setHighPC(uint64_t HighPC) { in setHighPC()
41 if (HighPC == -1ULL || HighPC <= LowPC) in setHighPC()
44 Length = HighPC - LowPC; in setHighPC()
47 uint64_t HighPC() const { in HighPC() function
54 return LowPC <= Address && Address < HighPC(); in containsAddress()
DDWARFDebugLine.h195 uint64_t HighPC; member
207 return !Empty && (LowPC < HighPC) && (FirstRowIndex < LastRowIndex); in isValid()
210 bool containsPC(uint64_t PC) const { return (LowPC <= PC && PC < HighPC); } in containsPC()
DDWARFDie.h206 bool getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC,
/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()
DDWARFDebugInfoEntry.h114 uint64_t &HighPC) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAranges.cpp33 uint64_t HighPC = Desc.getEndAddress(); in extract() local
34 appendRange(CUOffset, LowPC, HighPC); in extract()
59 appendRange(CUOffset, R.LowPC, R.HighPC); in generate()
73 uint64_t HighPC) { in appendRange() argument
74 if (LowPC >= HighPC) in appendRange()
77 Endpoints.emplace_back(HighPC, CUOffset, false); in appendRange()
90 if (!Aranges.empty() && Aranges.back().HighPC() == PrevAddress && in construct()
DDWARFDie.cpp234 uint64_t LowPC, HighPC, Index; in dumpAttribute() local
235 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
236 OS << format("0x%016" PRIx64, HighPC); in dumpAttribute()
377 bool DWARFDie::getLowAndHighPC(uint64_t &LowPC, uint64_t &HighPC, in getLowAndHighPC() argument
385 HighPC = *HighPcAddr; in getLowAndHighPC()
396 uint64_t LowPC, HighPC, Index; in getAddressRanges() local
397 if (getLowAndHighPC(LowPC, HighPC, Index)) in getAddressRanges()
398 return DWARFAddressRangesVector{{LowPC, HighPC, Index}}; in getAddressRanges()
433 if (R.LowPC <= Address && Address < R.HighPC) in addressRangeContainsAddress()
DDWARFDebugRnglists.cpp129 E.HighPC = RLE.Value1; in getAbsoluteRanges()
132 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
137 E.HighPC = RLE.Value1; in getAbsoluteRanges()
141 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
DDWARFDebugRangeList.cpp87 E.HighPC = RLE.EndAddress; in getAbsoluteRanges()
94 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
DDWARFAddressRange.cpp22 << format("0x%*.*" PRIx64, AddressSize * 2, AddressSize * 2, HighPC); in dump()
DDWARFUnit.cpp481 if (R.LowPC == R.HighPC) in updateAddressDieMap()
487 if (R.HighPC < B->second.first) in updateAddressDieMap()
488 AddrDieMap[R.HighPC] = B->second; in updateAddressDieMap()
492 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
DDWARFDebugLine.cpp404 HighPC = 0; in reset()
452 Sequence.HighPC = Row.Address; in appendRowToMatrix()
DDWARFVerifier.cpp98 if (R.HighPC <= Iter->LowPC) in intersects()
/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()
DDWARFDebugLine.cpp167 HighPC = 0; in reset()
216 Sequence.HighPC = Row.Address; in appendRowToMatrix()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.h29 uint64_t HighPC; member
34 : HighPC(EndPC), Offset(Offset) {} in DebugMapObjectRange()
36 DebugMapObjectRange() : HighPC(0), Offset(0) {} in DebugMapObjectRange()
DCompileUnit.h175 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);
DDwarfLinker.cpp1753 Range->second.HighPC >= Row.Address) { in patchLineTableForUnit()
1917 Range->second.HighPC <= Loc) { in patchFrameInfoForObject()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp155 BytesInThisScope += Range.HighPC - Range.LowPC; in collectStatsRecursive()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp889 uint64_t LowPC, HighPC, SectionIndex; in TestAddresses() local
900 EXPECT_FALSE(SubprogramDieNoPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
907 EXPECT_FALSE(SubprogramDieNoPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
924 EXPECT_FALSE(SubprogramDieLowPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
958 EXPECT_TRUE(SubprogramDieLowHighPC.getLowAndHighPC(LowPC, HighPC, SectionIndex)); in TestAddresses()
960 EXPECT_EQ(HighPC, ActualHighPC); in TestAddresses()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp283 void addFunctionRange(uint64_t LowPC, uint64_t HighPC, int64_t PCOffset);