Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/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.cpp106 /// \param BaseAddr The address that the relative address range offsets are
110 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()
177 /// \param BaseAddr The base address to use when decoding address ranges.
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()
[all...]
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()
[all...]
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()
/freebsd/contrib/llvm-project/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.cpp389 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DExtractRanges.h39 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 DInlineInfo.h103 /// \param BaseAddr The base address to use when decoding the line table.
121 uint64_t BaseAddr, uint64_t Addr,
143 /// \param BaseAddr The base address to use when decoding all address ranges.
151 uint64_t BaseAddr);
158 /// \param BaseAddr The base address to use when encoding all address ranges.
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.h129 /// \param BaseAddr The FunctionInfo's start address and will be used as the
136 uint64_t BaseAddr);
/freebsd/sys/dev/hptmv/
H A Daccess601.h33 void HPTLIBAPI BeepOn(MV_BUS_ADDR_T BaseAddr);
34 void HPTLIBAPI BeepOff(MV_BUS_ADDR_T BaseAddr);
35 UCHAR HPTLIBAPI check_protect_circuit(MV_BUS_ADDR_T BaseAddr);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp366 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 DMipsInstructionSelector.cpp53 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
452 BaseAddr = Addr->getOperand(1); in select()
466 if (!buildUnalignedStore(I, Mips::SWL, BaseAddr, SignedOffset + 3, MMO)) in select()
468 if (!buildUnalignedStore(I, Mips::SWR, BaseAddr, SignedOffset, MMO)) in select()
[all …]
/freebsd/contrib/llvm-project/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;
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp659 Address BaseAddr(CGF.Builder.CreateInBoundsGEP(CGF.Int8Ty, reg_top, reg_offs), in EmitAAPCSVAArg() local
694 CGF.Builder.CreateConstInBoundsByteGEP(BaseAddr, BaseOffset); in EmitAAPCSVAArg()
708 CharUnits SlotSize = BaseAddr.getAlignment(); in EmitAAPCSVAArg()
713 BaseAddr = CGF.Builder.CreateConstInBoundsByteGEP(BaseAddr, Offset); in EmitAAPCSVAArg()
716 RegAddr = BaseAddr.withElementType(MemTy); in EmitAAPCSVAArg()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp1024 uint64_t BaseAddr = 0; in processLocationList() local
1026 BaseAddr = BA->Address; in processLocationList()
1032 BaseAddr = Entry.Value0; in processLocationList()
1036 LowPC = BaseAddr + Entry.Value0; in processLocationList()
1037 HighPC = BaseAddr + Entry.Value1; in processLocationList()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td519 def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">;
1336 def : Pat<(AddLike (i32 BaseAddr:$rj), simm12:$imm12),
1337 (ADDI_W (i32 BaseAddr:$rj), simm12:$imm12)>;
1340 def : Pat<(AddLike (i64 BaseAddr:$rj), simm12:$imm12),
1341 (ADDI_D (i64 BaseAddr:$rj), simm12:$imm12)>;
1776 def : Pat<(vt (LoadOp BaseAddr:$rj)), (Inst BaseAddr:$rj, 0)>;
1779 def : Pat<(vt (LoadOp (AddLike BaseAddr:$rj, simm12:$imm12))),
1780 (Inst BaseAddr:$rj, simm12:$imm12)>;
1819 def : Pat<(StoreOp (vt StTy:$rd), BaseAddr:$rj),
1820 (Inst StTy:$rd, BaseAddr:$rj, 0)>;
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcoff_platform.cpp698 auto BaseAddr = COFFPlatformRuntimeState::get().findJITDylibBaseByPC( in __orc_rt_coff_cxx_throw_exception()
700 if (!BaseAddr) { in __orc_rt_coff_cxx_throw_exception()
713 reinterpret_cast<ULONG_PTR>(BaseAddr),
692 auto BaseAddr = COFFPlatformRuntimeState::get().findJITDylibBaseByPC( __orc_rt_coff_cxx_throw_exception() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPConstants.h270 enum class RTLDependInfoFields { BaseAddr, Len, Flags }; enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h72 void formatBinary(StringRef Label, ArrayRef<uint8_t> Data, uint64_t BaseAddr,
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h549 inline Error create(StringRef D, uint64_t BaseAddr);
656 Error InstrProfSymtab::create(StringRef D, uint64_t BaseAddr) { in create() argument
658 Address = BaseAddr; in create()

12