/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | ExtractRanges.cpp | 17 void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr) { 18 assert(Range.start() >= BaseAddr); in encodeRange() argument 19 O.writeULEB(Range.start() - BaseAddr); in encodeRange() 23 AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr, 27 const uint64_t StartAddr = BaseAddr + AddrOffset; in decodeRange() 33 uint64_t BaseAddr) { in encodeRanges() 38 encodeRange(Range, O, BaseAddr); in encodeRanges() 41 void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr, 47 Ranges.insert(decodeRange(Data, BaseAddr, Offset)); in decodeRanges() 24 decodeRange(DataExtractor & Data,uint64_t BaseAddr,uint64_t & Offset) decodeRange() argument 34 encodeRanges(const AddressRanges & Ranges,FileWriter & O,uint64_t BaseAddr) encodeRanges() argument 42 decodeRanges(AddressRanges & Ranges,DataExtractor & Data,uint64_t BaseAddr,uint64_t & Offset) decodeRanges() argument
|
H A D | InlineInfo.cpp | 105 /// \param BaseAddr The address that the relative address range offsets are 109 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() 112 decodeRanges(Inline.Ranges, Data, BaseAddr, Offset); in lookup() 160 uint64_t BaseAddr, uint64_t Addr, in lookup() 165 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup() 176 /// \param BaseAddr The base address to use when decoding address ranges. 180 uint64_t BaseAddr) { in decode() 185 decodeRanges(Inline.Ranges, Data, BaseAddr, Offset); in decode() 223 uint64_t BaseAddr) { in decode() 225 return ::decode(Data, Offset, BaseAddr); in decode() 110 lookup(const GsymReader & GR,DataExtractor & Data,uint64_t & Offset,uint64_t BaseAddr,uint64_t Addr,SourceLocations & SrcLocs,llvm::Error & Err) lookup() argument 161 lookup(const GsymReader & GR,DataExtractor & Data,uint64_t BaseAddr,uint64_t Addr,SourceLocations & SrcLocs) lookup() argument 181 decode(DataExtractor & Data,uint64_t & Offset,uint64_t BaseAddr) decode() argument 224 decode(DataExtractor & Data,uint64_t BaseAddr) decode() argument [all...] |
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 | 42 uint64_t BaseAddr) { in decode() 48 FI.Range = {BaseAddr, BaseAddr + Data.getU32(&Offset)}; in decode() 80 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode() 87 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode() 95 MergedFunctionsInfo::decode(InfoData, BaseAddr)) in decode() 38 decode(DataExtractor & Data,uint64_t BaseAddr) decode() argument
|
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugRnglists.cpp | 89 std::optional<object::SectionedAddress> BaseAddr, DWARFUnit &U) const { in getAbsoluteRanges() argument 91 BaseAddr, U.getAddressByteSize(), in getAbsoluteRanges() 96 std::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 …]
|
H A D | DWARFDebugRangeList.cpp | 88 std::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 | 123 uint64_t *Offset, raw_ostream &OS, std::optional<SectionedAddress> BaseAddr, in dumpLocationList() 127 BaseAddr, [U](uint32_t Index) -> std::optional<SectionedAddress> { in dumpLocationList() 170 uint64_t Offset, std::optional<SectionedAddress> BaseAddr, in visitAbsoluteLocationList() 173 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList() 187 auto BaseAddr = std::nullopt; in dump() 190 dumpLocationList(&*DumpOffset, OS, BaseAddr, Obj, nullptr, DumpOpts, in dump() 200 CanContinue = dumpLocationList(&Offset, OS, BaseAddr, Obj, nullptr, in dump() 400 CanContinue = dumpLocationList(&Offset, OS, /*BaseAddr=*/std::nullopt, Obj, in dumpRange() 124 dumpLocationList(uint64_t * Offset,raw_ostream & OS,std::optional<SectionedAddress> BaseAddr,const DWARFObject & Obj,DWARFUnit * U,DIDumpOptions DumpOpts,unsigned Indent) const dumpLocationList() argument 171 visitAbsoluteLocationList(uint64_t Offset,std::optional<SectionedAddress> BaseAddr,std::function<std::optional<SectionedAddress> (uint32_t)> LookupAddr,function_ref<bool (Expected<DWARFLocationExpression>)> Callback) const visitAbsoluteLocationList() argument 188 auto BaseAddr = std::nullopt; dump() local
|
H A D | DWARFUnit.cpp | 389 BaseAddr.reset(); in clear() 1069 if (BaseAddr) in getBaseAddress() 1070 return BaseAddr; in getBaseAddress() 1075 BaseAddr = toSectionedAddress(PC); in getBaseAddress() 1076 return BaseAddr; in getBaseAddress()
|
/llvm-project/llvm/unittests/DebugInfo/GSYM/ |
H A D | GSYMTest.cpp | 181 const uint64_t BaseAddr, in TestFunctionInfoDecodeError() argument 185 llvm::Expected<FunctionInfo> Decoded = FunctionInfo::decode(Data, BaseAddr); in TestFunctionInfoDecodeError() 199 const uint64_t BaseAddr = 0x100; in TEST() local 200 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 203 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 207 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 211 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 215 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 219 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST() 342 const uint64_t BaseAddr in TestInlineInfoEncodeDecode() local 356 TestInlineInfoDecodeError(llvm::endianness ByteOrder,StringRef Bytes,const uint64_t BaseAddr,std::string ExpectedErrorMsg) TestInlineInfoDecodeError() argument 373 const uint64_t BaseAddr = TestInlineInfoEncodeError() local 516 const uint64_t BaseAddr = 0x100; TEST() local 633 const uint64_t BaseAddr = 0x1000; TEST() local 651 TestAddressRangeEncodeDecodeHelper(const AddressRanges & Ranges,const uint64_t BaseAddr) TestAddressRangeEncodeDecodeHelper() argument 673 const uint64_t BaseAddr = 0x1000; TEST() local 694 const uint64_t BaseAddr = LT[0].Addr; TestLineTableHelper() local 766 TestLineTableDecodeError(llvm::endianness ByteOrder,StringRef Bytes,const uint64_t BaseAddr,std::string ExpectedErrorMsg) TestLineTableDecodeError() argument 784 const uint64_t BaseAddr = 0x100; TEST() local 814 const uint64_t BaseAddr = 0x1000; TEST() local 1042 constexpr uint64_t BaseAddr = 0x1000; TEST() local 1065 constexpr uint64_t BaseAddr = 0x1000; TEST() local 1088 constexpr uint64_t BaseAddr = 0x1000; TEST() local 1111 constexpr uint64_t BaseAddr = 0x1000; TEST() local 1148 constexpr uint64_t BaseAddr = 0x1000; TEST() local 2443 constexpr uint64_t BaseAddr = 0x1000; TEST() local [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | ExtractRanges.h | 39 AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr, 41 void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr); 56 void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr, 59 uint64_t BaseAddr);
|
H A D | InlineInfo.h | 121 uint64_t BaseAddr, uint64_t Addr, 151 uint64_t BaseAddr); 166 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 | 135 /// \param BaseAddr The FunctionInfo's start address and will be used as the 142 uint64_t BaseAddr);
|
/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsLegalizerInfo.cpp | 366 Register BaseAddr = MI.getOperand(1).getReg(); in legalizeCustom() local 367 LLT PtrTy = MRI.getType(BaseAddr); in legalizeCustom() 381 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom() 384 MIRBuilder.buildStore(Val, BaseAddr, *P2HalfMemOp); in legalizeCustom() 390 MIRBuilder.buildStore(Unmerge.getReg(0), BaseAddr, *P2HalfMemOp); in legalizeCustom() 402 MIRBuilder.buildLoad(Val, BaseAddr, *Load4MMO); in legalizeCustom() 404 auto Load = MIRBuilder.buildLoad(s32, BaseAddr, *Load4MMO); in legalizeCustom() 410 auto Addr = MIRBuilder.buildPtrAdd(PtrTy, BaseAddr, C_P2HalfMemSize); in legalizeCustom() 412 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, 259 MachineInstr &I, unsigned Opc, MachineOperand &BaseAddr, unsigned Offset, in buildUnalignedStore() argument 264 .add(BaseAddr) in buildUnalignedStore() 273 MachineInstr &I, unsigned Opc, Register Dest, MachineOperand &BaseAddr, in buildUnalignedLoad() argument 278 .add(BaseAddr) in buildUnalignedLoad() 437 MachineOperand BaseAddr = I.getOperand(1); in select() local 441 // %Addr:(p0) = G_PTR_ADD %BaseAddr, %SignedOffset in select() 444 // %LoadResult/%StoreSrc = NewOpc %BaseAddr(p0), 16_bit_signed_immediate in select() 452 BaseAddr in select() [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugRnglists.h | 52 std::optional<object::SectionedAddress> BaseAddr, uint8_t AddressByteSize, 58 getAbsoluteRanges(std::optional<object::SectionedAddress> BaseAddr,
|
H A D | DWARFDebugLoc.h | 68 std::optional<object::SectionedAddress> BaseAddr, 73 uint64_t Offset, std::optional<object::SectionedAddress> BaseAddr,
|
H A D | DWARFDebugRangeList.h | 75 getAbsoluteRanges(std::optional<object::SectionedAddress> BaseAddr) const;
|
/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AArch64.cpp | 956 Address BaseAddr(CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, reg_top, reg_offs), in appendAttributeMangling() 991 CGF.Builder.CreateConstInBoundsByteGEP(BaseAddr, BaseOffset); 1005 CharUnits SlotSize = BaseAddr.getAlignment(); 1010 BaseAddr = CGF.Builder.CreateConstInBoundsByteGEP(BaseAddr, Offset); 1013 RegAddr = BaseAddr.withElementType(MemTy); 676 Address BaseAddr(CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, reg_top, reg_offs), EmitAAPCSVAArg() local
|
/llvm-project/lldb/tools/lldb-test/ |
H A D | FormatUtil.h | 55 uint64_t BaseAddr, uint32_t StartOffset);
|
/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVDWARFReader.cpp | 1030 uint64_t BaseAddr = 0; in processLocationList() 1032 BaseAddr = BA->Address; in processLocationList() 1038 BaseAddr = Entry.Value0; in processLocationList() 1042 LowPC = BaseAddr + Entry.Value0; in processLocationList() 1043 HighPC = BaseAddr + Entry.Value1; in processLocationList() 1024 uint64_t BaseAddr = 0; processLocationList() local
|
/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchInstrInfo.td | 522 def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">; 1354 def : Pat<(AddLike (i32 BaseAddr:$rj), simm12:$imm12), 1355 (ADDI_W (i32 BaseAddr:$rj), simm12:$imm12)>; 1358 def : Pat<(AddLike (i64 BaseAddr:$rj), simm12:$imm12), 1359 (ADDI_D (i64 BaseAddr:$rj), simm12:$imm12)>; 1780 def : Pat<(vt (LoadOp BaseAddr:$rj)), (Inst BaseAddr:$rj, 0)>; 1783 def : Pat<(vt (LoadOp (AddLike BaseAddr:$rj, simm12:$imm12))), 1784 (Inst BaseAddr:$rj, simm12:$imm12)>; 1823 def : Pat<(StoreOp (vt StTy:$rd), BaseAddr [all...] |
/llvm-project/compiler-rt/lib/orc/ |
H A D | coff_platform.cpp | 698 auto BaseAddr = COFFPlatformRuntimeState::get().findJITDylibBaseByPC( in __orc_rt_coff_cxx_throw_exception() local 700 if (!BaseAddr) { in __orc_rt_coff_cxx_throw_exception() 713 reinterpret_cast<ULONG_PTR>(BaseAddr), in __orc_rt_coff_cxx_throw_exception()
|
/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPConstants.h | 270 enum class RTLDependInfoFields { BaseAddr, Len, Flags }; enumerator
|
/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | LinePrinter.h | 72 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
|