Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.cpp110 uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, in lookup() argument
113 decodeRanges(Inline.Ranges, Data, BaseAddr, Offset); in lookup()
161 uint64_t BaseAddr, uint64_t Addr, in lookup() argument
166 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err); in lookup()
181 uint64_t BaseAddr) { in decode() argument
186 decodeRanges(Inline.Ranges, Data, BaseAddr, Offset); in decode()
224 uint64_t BaseAddr) { in decode() argument
226 return ::decode(Data, Offset, BaseAddr); in decode()
229 llvm::Error InlineInfo::encode(FileWriter &O, uint64_t BaseAddr) const { in encode()
236 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.cpp38 uint64_t BaseAddr) { in decode() argument
44 FI.Range = {BaseAddr, BaseAddr + Data.getU32(&Offset)}; in decode()
76 if (Expected<LineTable> LT = LineTable::decode(InfoData, BaseAddr)) in decode()
83 if (Expected<InlineInfo> II = InlineInfo::decode(InfoData, BaseAddr)) in decode()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp89 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 DDWARFDebugRangeList.cpp88 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 DDWARFDebugLoc.cpp124 uint64_t *Offset, raw_ostream &OS, std::optional<SectionedAddress> BaseAddr, in dumpLocationList() argument
128 BaseAddr, [U](uint32_t Index) -> std::optional<SectionedAddress> { in dumpLocationList()
171 uint64_t Offset, std::optional<SectionedAddress> BaseAddr, in visitAbsoluteLocationList() argument
174 DWARFLocationInterpreter Interp(BaseAddr, std::move(LookupAddr)); in visitAbsoluteLocationList()
188 auto BaseAddr = std::nullopt; in dump() local
191 dumpLocationList(&*DumpOffset, OS, BaseAddr, Obj, nullptr, DumpOpts, in dump()
201 CanContinue = dumpLocationList(&Offset, OS, BaseAddr, Obj, nullptr, in dump()
H A DDWARFUnit.cpp377 BaseAddr.reset(); in clear()
1049 if (BaseAddr) in getBaseAddress()
1050 return BaseAddr; in getBaseAddress()
1055 BaseAddr = toSectionedAddress(PC); in getBaseAddress()
1056 return BaseAddr; in getBaseAddress()
/openbsd-src/gnu/llvm/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.h121 uint64_t BaseAddr, uint64_t Addr,
151 uint64_t BaseAddr);
166 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.h132 uint64_t BaseAddr);
/openbsd-src/gnu/llvm/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()
471 if (!buildUnalignedStore(I, Mips::SWL, BaseAddr, SignedOffset + 3, MMO)) in select()
473 if (!buildUnalignedStore(I, Mips::SWR, BaseAddr, SignedOffset, MMO)) in select()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugRnglists.h52 std::optional<object::SectionedAddress> BaseAddr, uint8_t AddressByteSize,
58 getAbsoluteRanges(std::optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugLoc.h68 std::optional<object::SectionedAddress> BaseAddr,
73 uint64_t Offset, std::optional<object::SectionedAddress> BaseAddr,
H A DDWARFDebugRangeList.h75 getAbsoluteRanges(std::optional<object::SectionedAddress> BaseAddr) const;
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td366 def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">;
903 def : Pat<(AddLike (i32 BaseAddr:$rj), simm12:$imm12),
904 (ADDI_W (i32 BaseAddr:$rj), simm12:$imm12)>;
907 def : Pat<(AddLike (i64 BaseAddr:$rj), simm12:$imm12),
908 (ADDI_D (i64 BaseAddr:$rj), simm12:$imm12)>;
1221 def : Pat<(vt (LoadOp BaseAddr:$rj)), (Inst BaseAddr:$rj, 0)>;
1222 def : Pat<(vt (LoadOp (AddLike BaseAddr:$rj, simm12:$imm12))),
1223 (Inst BaseAddr:$rj, simm12:$imm12)>;
1262 def : Pat<(StoreOp (vt StTy:$rd), BaseAddr:$rj),
1263 (Inst StTy:$rd, BaseAddr:$rj, 0)>;
[all …]
/openbsd-src/gnu/llvm/lldb/tools/lldb-test/
H A DFormatUtil.h55 uint64_t BaseAddr, uint32_t StartOffset);
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp1020 uint64_t BaseAddr = 0; in processLocationList() local
1022 BaseAddr = BA->Address; in processLocationList()
1028 BaseAddr = Entry.Value0; in processLocationList()
1032 LowPC = BaseAddr + Entry.Value0; in processLocationList()
1033 HighPC = BaseAddr + Entry.Value1; in processLocationList()
/openbsd-src/gnu/llvm/compiler-rt/lib/orc/
H A Dcoff_platform.cpp692 auto BaseAddr = COFFPlatformRuntimeState::get().findJITDylibBaseByPC( in __orc_rt_coff_cxx_throw_exception() local
694 if (!BaseAddr) { in __orc_rt_coff_cxx_throw_exception()
707 reinterpret_cast<ULONG_PTR>(BaseAddr), in __orc_rt_coff_cxx_throw_exception()
/openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/OpenMP/
H A DOMPConstants.h259 enum class RTLDependInfoFields { BaseAddr, Len, Flags }; enumerator
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h72 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProf.h488 inline Error create(StringRef D, uint64_t BaseAddr);
566 Error InstrProfSymtab::create(StringRef D, uint64_t BaseAddr) { in create() argument
568 Address = BaseAddr; in create()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp2313 uint64_t BaseAddr = Section.getAddress(); in printSectionContents() local
2326 BaseAddr, BaseAddr + Size); in printSectionContents()
2334 outs() << format(" %04" PRIx64 " ", BaseAddr + Addr); in printSectionContents()
2772 uint64_t BaseAddr = Section.getAddress(); in checkForInvalidStartStopAddress() local
2774 if ((Start < BaseAddr + Size) && Stop > BaseAddr) in checkForInvalidStartStopAddress()

12