Home
last modified time | relevance | path

Searched refs:BaseAddr (Results 1 – 25 of 72) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DRange.cpp70 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
71 assert(Start >= BaseAddr); in encode()
72 O.writeULEB(Start - BaseAddr); in encode()
76 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
80 const uint64_t StartAddr = BaseAddr + AddrOffset; in decode()
85 void AddressRanges::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
90 Range.encode(O, BaseAddr); in encode()
93 void AddressRanges::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
101 Range.decode(Data, BaseAddr, Offset); in decode()
DInlineInfo.cpp109 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() argument
112 Inline.Ranges.decode(Data, BaseAddr, Offset); in lookup()
156 uint64_t BaseAddr, uint64_t Addr, in lookup() argument
161 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup()
176 uint64_t BaseAddr) { in decode() argument
181 Inline.Ranges.decode(Data, BaseAddr, Offset); in decode()
219 uint64_t BaseAddr) { in decode() argument
221 return ::decode(Data, Offset, BaseAddr); in decode()
224 llvm::Error InlineInfo::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
231 Ranges.encode(O, BaseAddr); in encode()
DLineTable.cpp54 static llvm::Error parse(DataExtractor &Data, uint64_t BaseAddr, in parse() argument
70 LineEntry Row(BaseAddr, 1, FirstLine); in parse()
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
202 if (Curr.Addr < BaseAddr) in encode()
206 PRIx64, Curr.Addr, BaseAddr); in encode()
252 uint64_t BaseAddr) { in decode() argument
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) -> bool { in decode()
266 Expected<LineEntry> LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) { in lookup() argument
268 llvm::Error Err = parse(Data, BaseAddr, in lookup()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp71 llvm::Optional<object::SectionedAddress> BaseAddr) const { in getAbsoluteRanges()
78 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
91 if (BaseAddr) { in getAbsoluteRanges()
92 if (BaseAddr->Address == Tombstone) in getAbsoluteRanges()
94 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
95 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
97 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDebugRnglists.cpp89 llvm::Optional<object::SectionedAddress> BaseAddr, DWARFUnit &U) const { in getAbsoluteRanges() argument
91 BaseAddr, U.getAddressByteSize(), in getAbsoluteRanges()
96 Optional<object::SectionedAddress> BaseAddr, uint8_t AddressByteSize, in getAbsoluteRanges() argument
105 BaseAddr = LookupPooledAddress(RLE.Value0); in getAbsoluteRanges()
106 if (!BaseAddr) in getAbsoluteRanges()
107 BaseAddr = {RLE.Value0, -1ULL}; in getAbsoluteRanges()
111 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
117 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
118 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
126 if (BaseAddr) { in getAbsoluteRanges()
[all …]
DDWARFDebugLoc.cpp122 Optional<SectionedAddress> BaseAddr, in dumpLocationList() argument
128 BaseAddr, [U](uint32_t Index) -> Optional<SectionedAddress> { in dumpLocationList()
171 uint64_t Offset, Optional<SectionedAddress> BaseAddr, in visitAbsoluteLocationList() argument
174 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList()
188 auto BaseAddr = None; in dump() local
191 dumpLocationList(&*DumpOffset, OS, BaseAddr, MRI, Obj, nullptr, DumpOpts, in dump()
201 CanContinue = dumpLocationList(&Offset, OS, BaseAddr, MRI, Obj, nullptr, in dump()
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp167 const uint64_t BaseAddr, in TestFunctionInfoDecodeError() argument
171 llvm::Expected<FunctionInfo> Decoded = FunctionInfo::decode(Data, BaseAddr); in TestFunctionInfoDecodeError()
185 const uint64_t BaseAddr = 0x100; in TEST() local
186 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
189 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
193 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
197 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
201 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
205 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
327 const uint64_t BaseAddr = Inline.Ranges[0].Start; in TestInlineInfoEncodeDecode() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRnglists.cpp116 llvm::Optional<object::SectionedAddress> BaseAddr, DWARFUnit &U) const { in getAbsoluteRanges() argument
117 return getAbsoluteRanges(BaseAddr, [&](uint32_t Index) { in getAbsoluteRanges()
123 Optional<object::SectionedAddress> BaseAddr, in getAbsoluteRanges() argument
131 BaseAddr = LookupPooledAddress(RLE.Value0); in getAbsoluteRanges()
132 if (!BaseAddr) in getAbsoluteRanges()
133 BaseAddr = {RLE.Value0, -1ULL}; in getAbsoluteRanges()
137 BaseAddr = {RLE.Value0, RLE.SectionIndex}; in getAbsoluteRanges()
143 if (BaseAddr && E.SectionIndex == -1ULL) in getAbsoluteRanges()
144 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
150 if (BaseAddr) { in getAbsoluteRanges()
[all …]
DDWARFDebugRangeList.cpp71 llvm::Optional<object::SectionedAddress> BaseAddr) const { in getAbsoluteRanges()
75 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
86 if (BaseAddr) { in getAbsoluteRanges()
87 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
88 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
90 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
DDWARFDebugLoc.cpp122 Optional<SectionedAddress> BaseAddr, in dumpLocationList() argument
128 BaseAddr, [U](uint32_t Index) -> Optional<SectionedAddress> { in dumpLocationList()
173 uint64_t Offset, Optional<SectionedAddress> BaseAddr, in visitAbsoluteLocationList() argument
176 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList()
190 auto BaseAddr = None; in dump() local
193 dumpLocationList(&*DumpOffset, OS, BaseAddr, MRI, Obj, nullptr, DumpOpts, in dump()
203 CanContinue = dumpLocationList(&Offset, OS, BaseAddr, MRI, Obj, nullptr, in dump()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DRange.cpp80 void AddressRange::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
81 assert(Start >= BaseAddr); in encode()
82 O.writeULEB(Start - BaseAddr); in encode()
86 void AddressRange::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
90 const uint64_t StartAddr = BaseAddr + AddrOffset; in decode()
95 void AddressRanges::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
100 Range.encode(O, BaseAddr); in encode()
103 void AddressRanges::decode(DataExtractor &Data, uint64_t BaseAddr, in decode() argument
111 Range.decode(Data, BaseAddr, Offset); in decode()
DInlineInfo.cpp109 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() argument
112 Inline.Ranges.decode(Data, BaseAddr, Offset); in lookup()
160 uint64_t BaseAddr, uint64_t Addr, in lookup() argument
165 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup()
180 uint64_t BaseAddr) { in decode() argument
185 Inline.Ranges.decode(Data, BaseAddr, Offset); in decode()
223 uint64_t BaseAddr) { in decode() argument
225 return ::decode(Data, Offset, BaseAddr); in decode()
228 llvm::Error InlineInfo::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
235 Ranges.encode(O, BaseAddr); in encode()
DLineTable.cpp54 static llvm::Error parse(DataExtractor &Data, uint64_t BaseAddr, in parse() argument
70 LineEntry Row(BaseAddr, 1, FirstLine); in parse()
122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
202 if (Curr.Addr < BaseAddr) in encode()
206 PRIx64, Curr.Addr, BaseAddr); in encode()
252 uint64_t BaseAddr) { in decode() argument
254 llvm::Error Err = parse(Data, BaseAddr, [&](const LineEntry &Row) -> bool { in decode()
266 Expected<LineEntry> LineTable::lookup(DataExtractor &Data, uint64_t BaseAddr, uint64_t Addr) { in lookup() argument
268 llvm::Error Err = parse(Data, BaseAddr, in lookup()
DFunctionInfo.cpp37 uint64_t BaseAddr) { in decode() argument
39 FI.Range.Start = BaseAddr; in decode()
76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
83 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DRange.h61 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
62 void encode(FileWriter &O, uint64_t BaseAddr) const;
108 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
109 void encode(FileWriter &O, uint64_t BaseAddr) const;
DInlineInfo.h123 uint64_t BaseAddr, uint64_t Addr,
153 uint64_t BaseAddr);
168 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
DLineTable.h139 static Expected<LineEntry> lookup(DataExtractor &Data, uint64_t BaseAddr,
155 uint64_t BaseAddr);
166 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
DRange.h62 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
63 void encode(FileWriter &O, uint64_t BaseAddr) const;
110 void decode(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset);
111 void encode(FileWriter &O, uint64_t BaseAddr) const;
DInlineInfo.h123 uint64_t BaseAddr, uint64_t Addr,
153 uint64_t BaseAddr);
168 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
DLineTable.h139 static Expected<LineEntry> lookup(DataExtractor &Data, uint64_t BaseAddr,
155 uint64_t BaseAddr);
166 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugRnglists.h50 getAbsoluteRanges(Optional<object::SectionedAddress> BaseAddr,
57 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugRnglists.h50 getAbsoluteRanges(Optional<object::SectionedAddress> BaseAddr,
56 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr,
/external/llvm-project/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp363 Register BaseAddr = MI.getOperand(1).getReg(); in legalizeCustom() local
364 LLT PtrTy = MRI.getType(BaseAddr); in legalizeCustom()
378 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
381 MIRBuilder.buildStore(Val, BaseAddr, *P2HalfMemOp); in legalizeCustom()
387 MIRBuilder.buildStore(Unmerge.getReg(0), BaseAddr, *P2HalfMemOp); in legalizeCustom()
399 MIRBuilder.buildLoad(Val, BaseAddr, *Load4MMO); in legalizeCustom()
401 auto Load = MIRBuilder.buildLoad(s32, BaseAddr, *Load4MMO); in legalizeCustom()
407 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
409 auto Load_P2Half = MIRBuilder.buildLoad(s32, BaseAddr, *P2HalfMemOp); in legalizeCustom()
DMipsInstructionSelector.cpp53 MachineOperand &BaseAddr, unsigned Offset,
56 MachineOperand &BaseAddr, unsigned Offset,
258 MachineInstr &I, unsigned Opc, MachineOperand &BaseAddr, unsigned Offset, in buildUnalignedStore() argument
263 .add(BaseAddr) in buildUnalignedStore()
272 MachineInstr &I, unsigned Opc, Register Dest, MachineOperand &BaseAddr, in buildUnalignedLoad() argument
277 .add(BaseAddr) in buildUnalignedLoad()
443 MachineOperand BaseAddr = I.getOperand(1); in select() local
458 BaseAddr = Addr->getOperand(1); in select()
471 if (!buildUnalignedStore(I, Mips::SWL, BaseAddr, SignedOffset + 3, MMO)) in select()
473 if (!buildUnalignedStore(I, Mips::SWR, BaseAddr, SignedOffset, MMO)) in select()
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp136 BaseAddr = 0; in clear()
252 uint64_t BaseAddr = in extractDIEsIfNeeded() local
254 if (BaseAddr == -1ULL) in extractDIEsIfNeeded()
255 BaseAddr = DieArray[0].getAttributeValueAsAddress(this, DW_AT_entry_pc, 0); in extractDIEsIfNeeded()
256 setBaseAddress(BaseAddr); in extractDIEsIfNeeded()

123