Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DExtractRanges.cpp18 void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr) { in encodeRange() argument
19 assert(Range.start() >= BaseAddr); in encodeRange()
20 O.writeULEB(Range.start() - BaseAddr); in encodeRange()
24 AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr, in decodeRange() argument
28 const uint64_t StartAddr = BaseAddr + AddrOffset; in decodeRange()
34 uint64_t BaseAddr) { in encodeRanges() argument
39 encodeRange(Range, O, BaseAddr); in encodeRanges()
42 void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr, in decodeRanges() argument
48 Ranges.insert(decodeRange(Data, BaseAddr, Offset)); in decodeRanges()
H A DInlineInfo.cpp109 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() argument
112 decodeRanges(Inline.Ranges, 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 decodeRanges(Inline.Ranges, 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 encodeRanges(Ranges, O, BaseAddr); in encode()
H A 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()
H A DFunctionInfo.cpp37 uint64_t BaseAddr) { in decode() argument
43 FI.Range = {BaseAddr, BaseAddr + Data.getU32(&Offset)}; in decode()
75 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
82 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/GSYM/
H A DGSYMTest.cpp357 const uint64_t BaseAddr = in TestInlineInfoEncodeError() local
505 Ranges.insert({BaseAddr, BaseAddr+0x100}); in TEST()
1038 BaseAddr, in TEST()
1044 BaseAddr, in TEST()
1064 BaseAddr, in TEST()
1070 BaseAddr, in TEST()
1090 BaseAddr, in TEST()
1096 BaseAddr, in TEST()
1116 BaseAddr, in TEST()
1122 BaseAddr, in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp91 BaseAddr, U.getAddressByteSize(), in getAbsoluteRanges()
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()
127 if (BaseAddr->Address == Tombstone) in getAbsoluteRanges()
129 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
[all …]
H A DDWARFDebugRangeList.cpp88 llvm::Optional<object::SectionedAddress> BaseAddr) const { in getAbsoluteRanges()
95 BaseAddr = {RLE.EndAddress, RLE.SectionIndex}; in getAbsoluteRanges()
108 if (BaseAddr) { in getAbsoluteRanges()
109 if (BaseAddr->Address == Tombstone) in getAbsoluteRanges()
111 E.LowPC += BaseAddr->Address; in getAbsoluteRanges()
112 E.HighPC += BaseAddr->Address; in getAbsoluteRanges()
114 E.SectionIndex = BaseAddr->SectionIndex; in getAbsoluteRanges()
H A DDWARFDebugLoc.cpp124 Optional<SectionedAddress> BaseAddr, in dumpLocationList() argument
130 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()
H A DDWARFUnit.cpp377 BaseAddr.reset(); in clear()
986 if (BaseAddr) in getBaseAddress()
987 return BaseAddr; in getBaseAddress()
991 BaseAddr = toSectionedAddress(PC); in getBaseAddress()
992 return BaseAddr; in getBaseAddress()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/
H A DExtractRanges.h40 AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr,
42 void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr);
57 void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr,
60 uint64_t BaseAddr);
H A DInlineInfo.h122 uint64_t BaseAddr, uint64_t Addr,
152 uint64_t BaseAddr);
167 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
H A 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;
H A DFunctionInfo.h133 uint64_t BaseAddr);
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp364 Register BaseAddr = MI.getOperand(1).getReg(); in legalizeCustom() local
365 LLT PtrTy = MRI.getType(BaseAddr); in legalizeCustom()
379 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
382 MIRBuilder.buildStore(Val, BaseAddr, *P2HalfMemOp); in legalizeCustom()
388 MIRBuilder.buildStore(Unmerge.getReg(0), BaseAddr, *P2HalfMemOp); in legalizeCustom()
400 MIRBuilder.buildLoad(Val, BaseAddr, *Load4MMO); in legalizeCustom()
402 auto Load = MIRBuilder.buildLoad(s32, BaseAddr, *Load4MMO); in legalizeCustom()
408 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom()
410 auto Load_P2Half = MIRBuilder.buildLoad(s32, BaseAddr, *P2HalfMemOp); in legalizeCustom()
H A 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()
473 if (!buildUnalignedStore(I, Mips::SWR, BaseAddr, SignedOffset, MMO)) in select()
488 BaseAddr, SignedOffset, Tmp, MMO)) in select()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugRnglists.h52 getAbsoluteRanges(Optional<object::SectionedAddress> BaseAddr,
59 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugLoc.h69 Optional<object::SectionedAddress> BaseAddr,
75 uint64_t Offset, Optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugRangeList.h75 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr) const;
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A DFormatUtil.h55 uint64_t BaseAddr, uint32_t StartOffset);
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td190 def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">;
806 def : Pat<(vt (LoadOp BaseAddr:$rj)), (Inst BaseAddr:$rj, 0)>;
807 def : Pat<(vt (LoadOp (add BaseAddr:$rj, simm12:$imm12))),
808 (Inst BaseAddr:$rj, simm12:$imm12)>;
829 def : Pat<(StoreOp (vt StTy:$rd), BaseAddr:$rj),
830 (Inst StTy:$rd, BaseAddr:$rj, 0)>;
831 def : Pat<(StoreOp (vt StTy:$rd), (add BaseAddr:$rj, simm12:$imm12)),
832 (Inst StTy:$rd, BaseAddr:$rj, simm12:$imm12)>;
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DPerfReader.cpp819 uint64_t BaseAddr = 0; in readSampleCounters() local
821 BaseAddr = Binary->getFirstLoadableAddress(); in readSampleCounters()
823 Source = Binary->virtualAddrToOffset(Source + BaseAddr); in readSampleCounters()
824 Target = Binary->virtualAddrToOffset(Target + BaseAddr); in readSampleCounters()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h72 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProf.h483 inline Error create(StringRef D, uint64_t BaseAddr);
561 Error InstrProfSymtab::create(StringRef D, uint64_t BaseAddr) { in create() argument
563 Address = BaseAddr; in create()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp2079 uint64_t BaseAddr = Section.getAddress(); in printSectionContents() local
2092 BaseAddr, BaseAddr + Size); in printSectionContents()
2100 outs() << format(" %04" PRIx64 " ", BaseAddr + Addr); in printSectionContents()
2538 uint64_t BaseAddr = Section.getAddress(); in checkForInvalidStartStopAddress() local
2540 if ((Start < BaseAddr + Size) && Stop > BaseAddr) in checkForInvalidStartStopAddress()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp342 if (Addr > SegmentAddr + BaseAddr + 0xFFFFU) { in writeSection()
348 BaseAddr = writeBaseAddr(Addr); in writeSection()
354 uint64_t SegOffset = Addr - BaseAddr - SegmentAddr; in writeSection()
1286 uint64_t SegmentAddr = 0, BaseAddr = 0; in addDataSections() local
1296 RecAddr = R.Addr + SegmentAddr + BaseAddr; in addDataSections()
1322 BaseAddr = checkedGetHex<uint16_t>(R.HexData) << 16; in addDataSections()

12