| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | ExtractRanges.cpp | 18 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 D | InlineInfo.cpp | 109 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 D | LineTable.cpp | 54 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 D | FunctionInfo.cpp | 37 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 D | GSYMTest.cpp | 357 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 D | DWARFDebugRnglists.cpp | 91 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 D | DWARFDebugRangeList.cpp | 88 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 D | DWARFDebugLoc.cpp | 124 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 D | DWARFUnit.cpp | 377 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 D | ExtractRanges.h | 40 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 D | InlineInfo.h | 122 uint64_t BaseAddr, uint64_t Addr, 152 uint64_t BaseAddr); 167 llvm::Error encode(FileWriter &O, uint64_t BaseAddr) const;
|
| H A D | LineTable.h | 139 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 D | FunctionInfo.h | 133 uint64_t BaseAddr);
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsLegalizerInfo.cpp | 364 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 D | MipsInstructionSelector.cpp | 53 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 D | DWARFDebugRnglists.h | 52 getAbsoluteRanges(Optional<object::SectionedAddress> BaseAddr, 59 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr,
|
| H A D | DWARFDebugLoc.h | 69 Optional<object::SectionedAddress> BaseAddr, 75 uint64_t Offset, Optional<object::SectionedAddress> BaseAddr,
|
| H A D | DWARFDebugRangeList.h | 75 getAbsoluteRanges(llvm::Optional<object::SectionedAddress> BaseAddr) const;
|
| /llvm-project-15.0.7/lldb/tools/lldb-test/ |
| H A D | FormatUtil.h | 55 uint64_t BaseAddr, uint32_t StartOffset);
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchInstrInfo.td | 190 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 D | PerfReader.cpp | 819 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 D | LinePrinter.h | 72 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 483 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 D | llvm-objdump.cpp | 2079 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 D | ELFObject.cpp | 342 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()
|