Home
last modified time | relevance | path

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

1234567

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp92 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<()
102 OS << Sym.getAddress() << " (" << (Sym.isDefined() ? "block" : "addressable") in operator <<()
114 OS << "edge@" << B.getAddress() + E.getOffset() << ": " << B.getAddress() in printEdge()
126 if (B->getAddress() < SecAddress) in printEdge()
127 SecAddress = B->getAddress(); in printEdge()
129 orc::ExecutorAddrDiff SecDelta = TargetSym.getAddress() - SecAddress; in printEdge()
130 OS << TargetSym.getAddress() << " (section " << TargetSec.getName(); in printEdge()
133 OS << " / block " << TargetBlock.getAddress(); in printEdge()
164 ? createZeroFillBlock(B.getSection(), SplitIndex, B.getAddress(), in splitBlock()
168 B.getAddress(), B.getAlignment(), B.getAlignmentOffset()); in splitBlock()
[all …]
H A DELF_riscv.cpp190 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
193 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
198 int64_t Value = (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
203 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
218 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
233 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
250 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup()
266 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
267 RelHI20->getAddend() - E.getTarget().getAddress(); in applyFixup()
281 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup()
[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()
136 " block at address " + formatv("{0:x16}", B.getAddress())); in processBlock()
150 << (B.getAddress() + RecordStartOffset) << "\n"; in processBlock()
161 formatv("{0:x16}", B.getAddress() + RecordStartOffset)); in processBlock()
282 formatv("{0:x}", (B.getAddress() + RecordOffset).getValue())); in processCIE()
297 assert(!PC.CIEInfos.count(CIESymbol.getAddress()) && in processCIE()
299 PC.CIEInfos[CIESymbol.getAddress()] = std::move(CIEInfo); in processCIE()
[all …]
H A DMachO_x86_64.cpp175 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
184 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
190 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
209 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
261 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
267 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
269 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations()
355 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
380 Addend = TargetAddress - TargetSymbol->getAddress() - 4; in addRelocations()
400 Addend = TargetAddress - TargetSymbol->getAddress() - Delta; in addRelocations()
[all …]
H A DMachOLinkGraphBuilder.cpp330 assert(!NSec.CanonicalSymbols.count(Sym.getAddress()) && in addSectionStartSymAndBlock()
332 NSec.CanonicalSymbols[Sym.getAddress()] = &Sym; in addSectionStartSymAndBlock()
554 if (LastCanonicalAddr != Sym.getAddress()) { in graphifyRegularSymbols()
557 LastCanonicalAddr = Sym.getAddress(); in graphifyRegularSymbols()
588 auto SymOffset = orc::ExecutorAddr(NSym.Value) - B.getAddress(); in createStandardGraphSymbol()
686 orc::ExecutorAddr(NSyms.back()->Value) != B.getAddress()) { in graphifyCStringSection()
696 auto LastCanonicalAddr = B.getAddress() + BlockSize; in graphifyCStringSection()
698 B.getAddress() + BlockSize) { in graphifyCStringSection()
700 size_t SymSize = (B.getAddress() + BlockSize) - in graphifyCStringSection()
779 << formatv("{0:x16}", B->getAddress()) << "\n"; in operator ()()
[all …]
H A DMachO_arm64.cpp184 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation()
193 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation()
199 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation()
218 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations()
274 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations()
282 (FixupAddress - BlockToFix->getAddress()); in addRelocations()
364 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
453 Edge GE(Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol, in addRelocations()
458 BlockToFix->addEdge(Kind, FixupAddress - BlockToFix->getAddress(), in addRelocations()
H A Dx86_64.cpp102 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
172 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses()
173 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
H A DJITLinkGeneric.cpp201 assert(!Sym->getAddress() && in getExternalSymbolNames()
217 assert(!Sym->getAddress() && "Symbol already resolved"); in applyLookupResult()
222 orc::ExecutorAddr(ResultI->second.getAddress())); in applyLookupResult()
236 << formatv("{0:x16}", Sym->getAddress().getValue()); in applyLookupResult()
H A DDWARFRecordSectionSplitter.cpp65 LLVM_DEBUG(dbgs() << " Processing block at " << B.getAddress() << "\n"); in processBlock()
86 << formatv("{0:x16}", B.getAddress()) << "\n"; in processBlock()
/openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-elf.cpp108 if (Sym->getAddress() < FirstSym->getAddress()) in registerELFGraphInfo()
110 if (Sym->getAddress() > LastSym->getAddress()) in registerELFGraphInfo()
123 Sym->getSymbolContent(), Sym->getAddress().getValue()}; in registerELFGraphInfo()
135 Sym->getAddress().getValue()}; in registerELFGraphInfo()
144 Sym->getAddress().getValue()}; in registerELFGraphInfo()
148 Sym->getAddress().getValue()}; in registerELFGraphInfo()
154 auto SecAddr = FirstSym->getAddress(); in registerELFGraphInfo()
156 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerELFGraphInfo()
H A Dllvm-jitlink-coff.cpp106 if (Sym->getAddress() < FirstSym->getAddress()) in registerCOFFGraphInfo()
108 if (Sym->getAddress() > LastSym->getAddress()) in registerCOFFGraphInfo()
121 Sym->getSymbolContent(), Sym->getAddress().getValue()}; in registerCOFFGraphInfo()
133 Sym->getAddress().getValue()}; in registerCOFFGraphInfo()
142 Sym->getAddress().getValue()}; in registerCOFFGraphInfo()
146 Sym->getAddress().getValue()}; in registerCOFFGraphInfo()
152 auto SecAddr = FirstSym->getAddress(); in registerCOFFGraphInfo()
154 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerCOFFGraphInfo()
H A Dllvm-jitlink-macho.cpp110 if (Sym->getAddress() < FirstSym->getAddress()) in registerMachOGraphInfo()
112 if (Sym->getAddress() > LastSym->getAddress()) in registerMachOGraphInfo()
121 Sym->getSymbolContent(), Sym->getAddress().getValue()}; in registerMachOGraphInfo()
132 Sym->getAddress().getValue()}; in registerMachOGraphInfo()
139 Sym->getAddress().getValue()}; in registerMachOGraphInfo()
143 Sym->getAddress().getValue()}; in registerMachOGraphInfo()
149 auto SecAddr = FirstSym->getAddress(); in registerMachOGraphInfo()
151 (LastSym->getBlock().getAddress() + LastSym->getBlock().getSize()) - in registerMachOGraphInfo()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dx86_64.h402 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
407 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
413 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
421 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
430 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
446 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
455 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
461 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
470 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
476 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
[all …]
H A Di386.h152 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
160 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
167 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
173 uint32_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
183 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
192 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
200 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup()
264 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge()
H A Daarch64.h348 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup()
352 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
357 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup()
369 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
371 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
386 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
405 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup()
422 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup()
436 (E.getTarget().getAddress().getValue() + E.getAddend()) & in applyFixup()
456 (E.getTarget().getAddress() + E.getAddend()).getValue() & 0xfff; in applyFixup()
[all …]
H A DJITLink.h124 orc::ExecutorAddr getAddress() const { return Address; } in getAddress() function
230 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
340 return getAddress() + E.getOffset(); in getFixupAddress()
557 orc::ExecutorAddr getAddress() const { return Base->getAddress() + Offset; } in getAddress() function
574 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange()
787 if (B->getAddress() < First->getAddress()) in SectionRange()
789 if (B->getAddress() > Last->getAddress()) in SectionRange()
806 return First ? First->getAddress() : orc::ExecutorAddr(); in getStart()
809 return Last ? Last->getAddress() + Last->getSize() : orc::ExecutorAddr(); in getEnd()
1464 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()
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
H A DLLJITWithObjectLinkingLayerPlugin.cpp98 outs() << " " << formatv("{0:x16}", B.getAddress()) << ": " in printBlockContent()
103 ExecutorAddr InitAddr(B.getAddress().getValue() & ~(LineWidth - 1)); in printBlockContent()
104 ExecutorAddr StartAddr = B.getAddress(); in printBlockContent()
105 ExecutorAddr EndAddr = B.getAddress() + B.getSize(); in printBlockContent()
136 outs() << " " << formatv("{0:x16}", Sym->getAddress()) << ": "; in printGraph()
149 outs() << " Block " << formatv("{0:x16}", B.getAddress()) in printGraph()
153 outs() << " Block " << formatv("{0:x16}", B.getAddress()) in printGraph()
164 << formatv("{0:x16}", B.getAddress() + E.getOffset()) in printGraph()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprAgg.cpp134 CGF.EmitAggregateStore(Result, Dest.getAddress(), in VisitConstantExpr()
216 CGF.pushDestroy(QualType::DK_nontrivial_c_struct, Slot.getAddress(), in VisitPseudoObjectExpr()
285 (RequiresDestruction && !Dest.getAddress().isValid()); in withReturnValueSlot()
294 RetAddr = Dest.getAddress(); in withReturnValueSlot()
351 Dest.getAddress(), Dest.isVolatile() ? type.withVolatile() : type); in EmitFinalDestCopy()
387 dest.getAddress(), in EmitCopy()
388 src.getAddress(), in EmitCopy()
396 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy()
397 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy()
411 Address ArrayPtr = Array.getAddress(CGF); in VisitCXXStdInitializerListExpr()
[all …]
/openbsd-src/gnu/llvm/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()
183 << "SectionAddress: " << hexValue(Section.getAddress()) << "\n"; in mapVirtualAddress()
268 return std::make_pair(Section.getAddress(), Section); in getSection()
374 << hexValue((uint64_t)Section.getAddress()) << ":" in createInstructions()
375 << hexValue((uint64_t)Section.getAddress() + Section.getSize(), 10) in createInstructions()
542 uint64_t DebugAddress = (*Iter)->getAddress(); in processLines()
581 uint64_t InstructionAddress = InstructionLine->getAddress(); in processLines()
588 DebugAddress = (*Iter)->getAddress(); in processLines()
678 Scope = ScopesWithRanges->getEntry(Line->getAddress()); in processLines()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h61 LVAddress getAddress(StringRef Name);
85 if (SectionAddresses.find(Section.getAddress()) == SectionAddresses.end()) in addSectionAddress()
86 SectionAddresses.emplace(Section.getAddress(), Section); in addSectionAddress()
/openbsd-src/gnu/llvm/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()
362 if (Address >= Sec.getAddress() && in getModuleSectionIndexForAddress()
363 Address < Sec.getAddress() + Sec.getSize()) in getModuleSectionIndexForAddress()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp197 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
204 IBr->getAddress(), CommonITy, in runOnFunction()
205 Twine(IBr->getAddress()->getName()) + ".switch_cast", IBr); in runOnFunction()

1234567