Home
last modified time | relevance | path

Searched refs:getAddress (Results 1 – 25 of 166) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h413 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
418 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
424 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
432 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
441 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
450 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
466 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
475 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
481 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
490 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
[all …]
H A Di386.h204 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
212 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
219 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
225 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
235 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
244 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
252 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
261 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
362 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
395 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
H A Daarch64.h438 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
442 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
447 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
459 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
461 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
476 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
495 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
511 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
526 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
542 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
[all …]
H A DJITLink.h130 orc::ExecutorAddr getAddress() const { return Address; } in getAddress() function
236 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
346 return getAddress() + E.getOffset(); in getFixupAddress()
576 orc::ExecutorAddr getAddress() const { return Base->getAddress() + Offset; } in getAddress() function
593 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
814 if (B->getAddress() < First->getAddress()) in SectionRange()
816 if (B->getAddress() > Last->getAddress()) in SectionRange()
833 return First ? First->getAddress() : orc::ExecutorAddr(); in getStart()
836 return Last ? Last->getAddress() + Last->getSize() : orc::ExecutorAddr(); in getEnd()
1569 static bool includeNonNull(const Block &B) { return !!B.getAddress(); } in includeNonNull()
[all …]
H A Dloongarch.h178 uint64_t FixupAddress = (B.getAddress() + E.getOffset()).getValue(); in applyFixup()
179 uint64_t TargetAddress = E.getTarget().getAddress().getValue(); in applyFixup()
335 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
369 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp112 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<()
122 OS << Sym.getAddress() << " (" << (Sym.isDefined() ? "block" : "addressable") in operator <<()
134 OS << "edge@" << B.getAddress() + E.getOffset() << ": " << B.getAddress() in printEdge()
146 if (B->getAddress() < SecAddress) in printEdge()
147 SecAddress = B->getAddress(); in printEdge()
149 orc::ExecutorAddrDiff SecDelta = TargetSym.getAddress() - SecAddress; in printEdge()
150 OS << TargetSym.getAddress() << " (section " << TargetSec.getName(); in printEdge()
153 OS << " / block " << TargetBlock.getAddress(); in printEdge()
184 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock()
188 B.getAddress(), B.getAlignment(), B.getAlignmentOffset()); in splitBlock()
[all …]
H A DEHFrameSupport.cpp59 auto &CurSym = PC.AddrToSym[Sym->getAddress()]; in operator ()()
77 return LHS->getAddress() < RHS->getAddress(); in operator ()()
106 formatv("{0:x}", B.getAddress() + R.getOffset() - 12) + in readCFIRecordLength()
116 LLVM_DEBUG(dbgs() << " Processing block at " << B.getAddress() << "\n"); in processBlock()
161 formatv("{0:x16}", B.getAddress())); in processBlock()
270 formatv("{0:x}", B.getAddress().getValue())); in processCIE()
285 assert(!PC.CIEInfos.count(CIESymbol.getAddress()) && in processCIE()
287 PC.CIEInfos[CIESymbol.getAddress()] = std::move(CIEInfo); in processCIE()
298 orc::ExecutorAddr RecordAddress = B.getAddress(); in processCIE()
[all...]
H A DELF_riscv.cpp198 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
201 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
206 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
211 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
226 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
244 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
261 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
277 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
278 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
292 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
[all …]
H A DMachO_x86_64.cpp177 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
189 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation()
191 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation()
194 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation()
211 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
217 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
231 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
283 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
289 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
291 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations()
[all …]
H A DMachO_arm64.cpp186 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
198 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation()
200 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation()
203 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation()
220 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
226 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
240 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
296 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
304 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
386 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
[all …]
H A DMachOLinkGraphBuilder.cpp340 assert(!NSec.CanonicalSymbols.count(Sym.getAddress()) && in addSectionStartSymAndBlock()
342 NSec.CanonicalSymbols[Sym.getAddress()] = &Sym; in addSectionStartSymAndBlock()
564 if (LastCanonicalAddr != Sym.getAddress()) { in graphifyRegularSymbols()
567 LastCanonicalAddr = Sym.getAddress(); in graphifyRegularSymbols()
598 auto SymOffset = orc::ExecutorAddr(NSym.Value) - B.getAddress(); in createStandardGraphSymbol()
696 orc::ExecutorAddr(NSyms.back()->Value) != B.getAddress()) { in graphifyCStringSection()
706 auto LastCanonicalAddr = B.getAddress() + BlockSize; in graphifyCStringSection()
708 B.getAddress() + BlockSize) { in graphifyCStringSection()
710 size_t SymSize = (B.getAddress() + BlockSize) - in graphifyCStringSection()
794 << formatv("{0:x16}", B->getAddress()) << "\ in operator ()()
[all...]
H A Dx86_64.cpp106 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
176 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
177 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
H A Di386.cpp72 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
73 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
H A DJITLinkGeneric.cpp215 assert(!Sym->getAddress() && in applyLookupResult()
231 assert(!Sym->getAddress() && "Symbol already resolved"); in applyLookupResult()
235 Sym->getAddressable().setAddress(ResultI->second.getAddress()); in applyLookupResult()
249 << formatv("{0:x16}", Sym->getAddress().getValue()); in applyLookupResult()
H A DCOFF_x86_64.cpp91 orc::ExecutorAddr(FixupSect.getAddress()) + Rel.getOffset(); in addSingleRelocation()
92 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
249 this->ImageBase = S->getAddress(); in getImageBaseAddress()
264 ImageBase = LR->begin()->second.getAddress(); in getImageBaseAddress()
H A DDWARFRecordSectionSplitter.cpp65 LLVM_DEBUG(dbgs() << " Processing block at " << B.getAddress() << "\n"); in processBlock()
86 << formatv("{0:x16}", B.getAddress()) << "\n"; in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp93 LVAddress LVSymbolTable::getAddress(StringRef Name) { in getAddress() function in LVSymbolTable
138 return SymbolTable.getAddress(Name); in getSymbolTableAddress()
157 << "Address: " << hexValue(Section.getAddress()) << ", " in mapVirtualAddress()
193 WasmCodeSectionOffset = Section.getAddress(); in mapVirtualAddress()
212 << "SectionAddress: " << hexValue(Section.getAddress()) << "\n"; in mapVirtualAddress()
263 << "SectionAddress: " << hexValue(Section.getAddress()) << "\n" in mapVirtualAddress()
352 return std::make_pair(Section.getAddress(), Section); in getSection()
445 << hexValue((uint64_t)Section.getAddress()) << ":" in createInstructions()
446 << hexValue((uint64_t)Section.getAddress() + Section.getSize(), 10) in createInstructions()
615 uint64_t DebugAddress = (*Iter)->getAddress(); in processLines()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp135 Result, Dest.getAddress(), in VisitConstantExpr()
220 CGF.pushDestroy(QualType::DK_nontrivial_c_struct, Slot.getAddress(), in VisitPseudoObjectExpr()
301 RetAddr = Dest.getAddress(); in withReturnValueSlot()
360 Dest.getAddress(), Dest.isVolatile() ? type.withVolatile() : type); in EmitFinalDestCopy()
396 dest.getAddress(), in EmitCopy()
397 src.getAddress(), in EmitCopy()
405 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy()
406 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy()
420 Address ArrayPtr = Array.getAddress(); in VisitCXXStdInitializerListExpr()
435 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddress(), E->getType()); in VisitCXXStdInitializerListExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorSymbolDef.h30 const ExecutorAddr &getAddress() const { return Addr; }
38 return LHS.getAddress() == RHS.getAddress() &&
91 return DefArgList::size(ESD.getAddress(), ESD.getFlags());
95 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags());
29 const ExecutorAddr &getAddress() const { return Addr; } getAddress() function
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
76 uint64_t SectionBaseAddr = TargetSI->getAddress(); in processScatteredVANILLA()
133 uint64_t Addr = Sec.getAddress(); in getRelocationValueRef()
145 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress(); in makeValueAddendPCRel()
151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve()
169 uint64_t SAddr = SI->getAddress(); in getSectionByAddress()
336 uint8_t *P = EHFrame->getAddress(); in registerEHFrames()
342 MemMgr.registerEHFrames(EHFrame->getAddress(), EHFrame->getLoadAddress(), in registerEHFrames()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DVTuneSupportPlugin.cpp57 Method.LoadAddr = Sym->getAddress(); in getMethodBatch()
67 auto Addr = Sym->getAddress(); in getMethodBatch()
180 Res->find(RegisterImplName)->second.getAddress()); in Create()
182 Res->find(UnregisterImplName)->second.getAddress()); in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.h73 return SPSArgList<SPSExecutorAddr>::size(ExecutorAddr(FA.getAddress())); in size()
80 OB, ExecutorAddr(FA.getAddress())); in serialize()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp53 OpdAddress = Section->getAddress(); in create()
192 Expected<uint64_t> SymbolAddressOrErr = Symbol.getAddress(); in addSymbol()
210 SymbolAddress = OpdExtractor->getAddress(&OpdOffset); in addSymbol()
377 if (Address >= Sec.getAddress() && in getModuleSectionIndexForAddress()
378 Address < Sec.getAddress() + Sec.getSize()) in getModuleSectionIndexForAddress()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymReader.cpp208 std::optional<uint64_t> GsymReader::getAddress(size_t Index) const {
313 std::optional<uint64_t> OptFuncStartAddr = getAddress(AddrIdx); in dump()
372 OS << " (" << HEX64(*getAddress(I)) << ")\n"; in dump()
209 std::optional<uint64_t> GsymReader::getAddress(size_t Index) const { getAddress() function in GsymReader
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h62 LVAddress getAddress(StringRef Name);
92 if (SectionAddresses.find(Section.getAddress()) == SectionAddresses.end()) in addSectionAddress()
93 SectionAddresses.emplace(Section.getAddress(), Section); in addSectionAddress()

1234567