Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp113 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<()
123 OS << Sym.getAddress() << " (" << (Sym.isDefined() ? "block" : "addressable") in operator <<()
135 OS << "edge@" << B.getAddress() + E.getOffset() << ": " << B.getAddress() in printEdge()
147 if (B->getAddress() < SecAddress) in printEdge()
148 SecAddress = B->getAddress(); in printEdge()
150 orc::ExecutorAddrDiff SecDelta = TargetSym.getAddress() - SecAddress; in printEdge()
151 OS << TargetSym.getAddress() << " (section " << TargetSec.getName(); in printEdge()
154 OS << " / block " << TargetBlock.getAddress(); in printEdge()
189 Content.slice(Blocks[I]->getAddress() - Blocks[0]->getAddress(), in splitBlockImpl()
190 Blocks[I + 1]->getAddress() - Blocks[I]->getAddress())); in splitBlockImpl()
[all …]
H A DCompactUnwindSupport.h127 formatv("{0:x}", B->getAddress()) + " has no pc-begin edge"); in prepareForPrune()
132 formatv("{0:x}", B->getAddress()) + " points at external symbol " + in prepareForPrune()
154 dbgs() << "<anon @ " << Fn.getAddress() << '>'; in prepareForPrune()
185 << FDE.getAddress() << "\n"; in prepareForPrune()
193 formatv("{0:x}", B->getAddress()) + in prepareForPrune()
200 formatv("{0:x}", B->getAddress()) + " needs DWARF, but no " + in prepareForPrune()
425 formatv("{0:x}", B->getAddress()) + in processCompactUnwind()
436 return LHS.Fn->getAddress() < RHS.Fn->getAddress(); in processCompactUnwind()
503 auto Delta = PSym->getAddress() - CompactUnwindBase->getAddress(); in writePersonalities()
523 auto FnDelta = R.Fn->getAddress() - CompactUnwindBase->getAddress(); in writeIndexes()
[all …]
H A DCompactUnwindSupport.cpp40 << formatv("{0:x16}", B->getAddress()) << "\n"; in splitCompactUnwindBlocks()
48 dbgs() << " Splitting block at " << formatv("{0:x16}", B->getAddress()) in splitCompactUnwindBlocks()
55 ": block at " + formatv("{0:x}", B->getAddress()) + " has size " + in splitCompactUnwindBlocks()
72 << CURec->getAddress() << " to point to " in splitCompactUnwindBlocks()
75 << " (at " << E.getTarget().getAddress() << ")\n"; in splitCompactUnwindBlocks()
81 formatv("{0:x}", CURec->getAddress()) + ": target " + in splitCompactUnwindBlocks()
94 formatv("{0:x}", CURec->getAddress()) + in splitCompactUnwindBlocks()
H A DEHFrameSupport.cpp58 auto &CurSym = PC.AddrToSym[Sym->getAddress()]; in operator ()()
75 return LHS->getAddress() < RHS->getAddress(); in operator ()()
104 formatv("{0:x}", B.getAddress() + R.getOffset() - 12) + in readCFIRecordLength()
114 LLVM_DEBUG(dbgs() << " Processing block at " << B.getAddress() << "\n"); in processBlock()
157 formatv("{0:x16}", B.getAddress())); in processBlock()
266 formatv("{0:x}", B.getAddress().getValue())); in processCIE()
281 assert(!PC.CIEInfos.count(CIESymbol.getAddress()) && in processCIE()
283 PC.CIEInfos[CIESymbol.getAddress()] = std::move(CIEInfo); in processCIE()
294 orc::ExecutorAddr RecordAddress = B.getAddress(); in processFDE()
343 if (auto CIEInfoOrErr = PC.findCIEInfo(EI.Target->getAddress())) in processFDE()
[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.cpp181 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
193 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation()
195 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation()
198 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation()
215 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
221 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
235 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
287 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
293 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
295 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations()
[all …]
H A DXCOFFLinkGraphBuilder.cpp165 << ", vma = " << format_hex(Section.getAddress(), 16) << "\n"; in processSections()
213 OS << " " << format_hex(cantFail(Sym.getAddress()), 16); in printSymbolEntry()
295 auto CsectSymbolAddr = CsectSymbol.getAddress(); in processCsectsAndSymbols()
300 auto Offset = *CsectSymbolAddr - SectionRef.getAddress(); in processCsectsAndSymbols()
326 auto SymbolAddr = Symbol.getAddress(); in processCsectsAndSymbols()
333 auto BlockOffset = *SymbolAddr - B->getAddress().getValue(); in processCsectsAndSymbols()
337 << format_hex(B->getAddress().getValue(), 16) << "\n"); in processCsectsAndSymbols()
377 [Target = orc::ExecutorAddr(Section.getAddress() + in processRelocations()
386 auto TargetBlockOffset = Section.getAddress() + Relocation.getOffset() - in processRelocations()
387 B->getAddress().getValue(); in processRelocations()
H A DMachO_arm64.cpp206 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
218 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation()
220 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation()
223 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation()
240 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
246 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
260 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
316 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
324 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
409 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
[all …]
H A Dx86_64.cpp136 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
206 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
207 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
H A Dx86.cpp70 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
71 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
H A DMachOLinkGraphBuilder.cpp331 assert(!NSec.CanonicalSymbols.count(Sym.getAddress()) && in addSectionStartSymAndBlock()
333 NSec.CanonicalSymbols[Sym.getAddress()] = &Sym; in addSectionStartSymAndBlock()
555 if (LastCanonicalAddr != Sym.getAddress()) { in graphifyRegularSymbols()
558 LastCanonicalAddr = Sym.getAddress(); in graphifyRegularSymbols()
589 auto SymOffset = orc::ExecutorAddr(NSym.Value) - B.getAddress(); in createStandardGraphSymbol()
687 orc::ExecutorAddr(NSyms.back()->Value) != B.getAddress()) { in graphifyCStringSection()
697 auto LastCanonicalAddr = B.getAddress() + BlockSize; in graphifyCStringSection()
699 B.getAddress() + BlockSize) { in graphifyCStringSection()
701 size_t SymSize = (B.getAddress() + BlockSize) - in graphifyCStringSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h445 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
450 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
456 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
464 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
473 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
482 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
498 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
507 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
513 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
522 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
[all …]
H A Dx86.h190 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
194 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
200 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
206 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
215 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
224 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
232 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
240 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
341 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
374 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
H A Daarch64.h502 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
506 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
511 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
523 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
525 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
540 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
559 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
575 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
590 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
606 int64_t Delta = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
[all …]
H A DJITLink.h131 orc::ExecutorAddr getAddress() const { return Address; } in getAddress() function
243 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
365 return getAddress() + E.getOffset(); in getFixupAddress()
603 orc::ExecutorAddr getAddress() const { return Base->getAddress() + Offset; } in getAddress() function
620 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
844 if (B->getAddress() < First->getAddress()) in SectionRange()
846 if (B->getAddress() > Last->getAddress()) in SectionRange()
863 return First ? First->getAddress() : orc::ExecutorAddr(); in getStart()
866 return Last ? Last->getAddress() + Last->getSize() : orc::ExecutorAddr(); in getEnd()
1254 Offset - (Blocks.back()->getAddress() - B.getAddress()));
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DUnwindInfoRegistrationPlugin.cpp54 SecRange.Start = (*Sec.blocks().begin())->getAddress(); in addUnwindInfoRegistrationActions()
84 return LHS->getAddress() < RHS->getAddress(); in addUnwindInfoRegistrationActions()
89 if (CodeRanges.empty() || CodeRanges.back().End != B->getAddress()) in addUnwindInfoRegistrationActions()
97 DSOBase = DSOBaseSym->getAddress(); in addUnwindInfoRegistrationActions()
99 DSOBase = DSOBaseSym->getAddress(); in addUnwindInfoRegistrationActions()
101 DSOBase = DSOBaseSym->getAddress(); in addUnwindInfoRegistrationActions()
H A DJITLinkRedirectableSymbolManager.cpp39 if (Def.getAddress()) in emitRedirectableSymbols()
41 G->allocateName(*Name + "$__init_tgt"), Def.getAddress(), 0, in emitRedirectableSymbols()
86 PtrWrites.push_back({PtrSym.getAddress(), DestSym.getAddress()}); in redirect()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_symbol_def.h80 const ExecutorAddr &getAddress() const { return Addr; } in getAddress() function
86 return LHS.getAddress() == RHS.getAddress() &&
132 return DefArgList::size(ESD.getAddress(), ESD.getFlags()); in size()
136 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags()); in serialize()
/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()
430 << hexValue((uint64_t)Section.getAddress()) << ":" in createInstructions()
431 << hexValue((uint64_t)Section.getAddress() + Section.getSize(), 10) in createInstructions()
600 uint64_t DebugAddress = (*Iter)->getAddress(); in processLines()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorSymbolDef.h61 const ExecutorAddr &getAddress() const { return Addr; } in getAddress() function
69 return LHS.getAddress() == RHS.getAddress() &&
122 return DefArgList::size(ESD.getAddress(), ESD.getFlags()); in size()
126 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags()); in serialize()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp141 Result, Dest.getAddress(), in VisitConstantExpr()
226 CGF.pushDestroy(QualType::DK_nontrivial_c_struct, Slot.getAddress(), in VisitPseudoObjectExpr()
306 RetAddr = Dest.getAddress(); in withReturnValueSlot()
365 Dest.getAddress(), Dest.isVolatile() ? type.withVolatile() : type); in EmitFinalDestCopy()
401 dest.getAddress(), in EmitCopy()
402 src.getAddress(), in EmitCopy()
410 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy()
411 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy()
425 Address ArrayPtr = Array.getAddress(); in VisitCXXStdInitializerListExpr()
440 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddress(), E->getType()); in VisitCXXStdInitializerListExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp47 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
75 uint64_t SectionBaseAddr = TargetSI->getAddress(); in processScatteredVANILLA()
132 uint64_t Addr = Sec.getAddress(); in getRelocationValueRef()
144 Value.Offset += RI->getOffset() + OffsetToNextPC + SecI->getAddress(); in makeValueAddendPCRel()
150 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve()
168 uint64_t SAddr = SI->getAddress(); in getSectionByAddress()
335 uint8_t *P = EHFrame->getAddress(); in registerEHFrames()
341 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()
181 Res->find(RegisterImplName)->second.getAddress()); in Create()
183 Res->find(UnregisterImplName)->second.getAddress()); in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.h75 return SPSArgList<SPSExecutorAddr>::size(ExecutorAddr(FA.getAddress())); in size()
82 OB, ExecutorAddr(FA.getAddress())); in serialize()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp52 OpdAddress = Section->getAddress(); in create()
191 Expected<uint64_t> SymbolAddressOrErr = Symbol.getAddress(); in addSymbol()
209 SymbolAddress = OpdExtractor->getAddress(&OpdOffset); in addSymbol()
387 if (Address >= Sec.getAddress() && in getModuleSectionIndexForAddress()
388 Address < Sec.getAddress() + Sec.getSize()) in getModuleSectionIndexForAddress()

12345678