/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | x86_64.h | 400 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 405 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 411 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 419 int64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 428 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 437 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 453 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 462 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 493 E.getTarget().getAddress() - GOTSymbol->getAddress() + E.getAddend(); in applyFixup() 602 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge() [all …]
|
H A D | i386.h | 204 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 D | aarch64.h | 426 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 430 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 435 uint64_t Value = E.getTarget().getAddress().getValue() + E.getAddend(); in applyFixup() 447 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 449 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 483 (E.getTarget().getAddress() + E.getAddend()).getValue(); in applyFixup() 500 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup() 563 (E.getTarget().getAddress().getValue() + E.getAddend()) & in applyFixup() 583 (E.getTarget().getAddress() + E.getAddend()).getValue() & 0xfff; in applyFixup() 705 << B->getFixupAddress(E) << " (" << B->getAddress() << " + " in visitEdge() [all …]
|
H A D | JITLink.h | 129 orc::ExecutorAddr getAddress() const { return Address; } in getAddress() function 235 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange() 345 return getAddress() + E.getOffset(); in getFixupAddress() 575 orc::ExecutorAddr getAddress() const { return Base->getAddress() + Offset; } in getAddress() function 813 if (B->getAddress() < First->getAddress()) in SectionRange() 815 if (B->getAddress() > Last->getAddress()) in SectionRange() 1569 auto I = AddrToBlock.upper_bound(B.getAddress()); 1574 if (B.getAddress() + B.getSize() > I->second->getAddress()) 1582 if (PrevBlock.getAddress() + PrevBlock.getSize() > B.getAddress()) 1636 if (Addr < B->getAddress() + B->getSize()) in getBlockCovering() [all …]
|
H A D | loongarch.h | 178 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 D | JITLink.cpp | 112 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) 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() 153 OS << " / block " << TargetBlock.getAddress(); in printEdge() 191 B.setAddress(B.getAddress() + SplitIndex); in splitBlock() 281 return LHS->getAddress() < RHS->getAddress(); in dump() 285 OS << " block " << B->getAddress() in dump() 334 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump() 341 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump() [all …]
|
H A D | ELF_riscv.cpp | 196 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() 275 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 290 int64_t Value = RelHI20->getTarget().getAddress() + in applyFixup() 333 (E.getTarget().getAddress() + in applyFixup() 340 int64_t Value = (E.getTarget().getAddress() + in applyFixup() 347 int64_t Value = (E.getTarget().getAddress() + in applyFixup() 354 int64_t Value = (E.getTarget().getAddress() + in applyFixup() 421 Value -= E.getTarget().getAddress().getValue() - E.getAddend(); in applyFixup() 597 const auto Dest = E.getTarget().getAddress() + E.getAddend(); in relaxCall() 621 const auto BlockAddr = Block.getAddress(); in relaxBlock() [all …]
|
H A D | EHFrameSupport.cpp | 59 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() 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 processFDE() 347 if (auto CIEInfoOrErr = PC.findCIEInfo(EI.Target->getAddress())) in processFDE() 579 Target = BlockToFix.getAddress() + PointerFieldOffset; in getOrCreateEncodedPointerEdge() 594 << FieldName << " at " << TargetSym->getAddress(); in getOrCreateEncodedPointerEdge() [all …]
|
H A D | MachO_x86_64.cpp | 176 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation() 188 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation() 190 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation() 193 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation() 210 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 216 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 230 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations() 290 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations() 376 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() 401 Addend = TargetAddress - TargetSymbol->getAddress() - 4; in addRelocations() [all …]
|
H A D | MachO_arm64.cpp | 185 FixupValue -= ToSymbol->getAddress().getValue(); in parsePairRelocation() 197 if (ToSymbol->getAddress() > FixupAddress) in parsePairRelocation() 199 else if (FromSymbol->getAddress() > FixupAddress) in parsePairRelocation() 202 FixingFromSymbol = FromSymbol->getAddress() >= ToSymbol->getAddress(); in parsePairRelocation() 219 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 225 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 239 orc::ExecutorAddr SectionAddress(S.getAddress()); in addRelocations() 295 BlockToFix->getAddress() + BlockToFix->getContent().size()) in addRelocations() 303 (FixupAddress - BlockToFix->getAddress()); in addRelocations() 385 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations() [all …]
|
H A D | MachOLinkGraphBuilder.cpp | 340 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() 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()) << "\n"; in operator ()() 834 formatv("{0:x}", CURec.getAddress()) + ": target " + in operator ()() [all …]
|
H A D | x86_64.cpp | 104 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses() 174 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses() 175 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
|
H A D | i386.cpp | 72 orc::ExecutorAddr EdgeAddr = B->getAddress() + E.getOffset(); in optimizeGOTAndStubAccesses() 73 orc::ExecutorAddr TargetAddr = GOTTarget.getAddress(); in optimizeGOTAndStubAccesses()
|
H A D | JITLinkGeneric.cpp | 215 assert(!Sym->getAddress() && in getExternalSymbolNames() 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 D | DWARFRecordSectionSplitter.cpp | 65 LLVM_DEBUG(dbgs() << " Processing block at " << B.getAddress() << "\n"); in processBlock() 86 << formatv("{0:x16}", B.getAddress()) << "\n"; in processBlock()
|
H A D | COFF_x86_64.cpp | 91 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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ExecutorSymbolDef.h | 30 const ExecutorAddr &getAddress() const { return Addr; } in getAddress() function 38 return LHS.getAddress() == RHS.getAddress() && 91 return DefArgList::size(ESD.getAddress(), ESD.getFlags()); in size() 95 return DefArgList::serialize(BOB, ESD.getAddress(), ESD.getFlags()); in serialize()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | executor_symbol_def.h | 80 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/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 132 Address StoreDest = Dest.getAddress(); in VisitConstantExpr() 299 RetAddr = Dest.getAddress(); in withReturnValueSlot() 401 LValue DestLV = CGF.MakeAddrLValue(dest.getAddress(), type); in EmitCopy() 402 LValue SrcLV = CGF.MakeAddrLValue(src.getAddress(), type); in EmitCopy() 416 Address ArrayPtr = Array.getAddress(CGF); in VisitCXXStdInitializerListExpr() 769 SourceLV.getAddress(CGF).withElementType(CGF.Int8Ty); in VisitCastExpr() 1704 Dest.getAddress(), CXXRD, BaseRD, in VisitCXXParenListOrInitListExpr() 1827 Address destPtr = EnsureSlot(E->getType()).getAddress(); in VisitArrayInitLoopExpr() 2042 assert((Slot.getAddress().isValid() || Slot.isIgnored()) && in EmitAggExpr() 2107 Address DestPtr = Dest.getAddress(*this); in EmitAggregateCopy() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.cpp | 93 LVAddress LVSymbolTable::getAddress(StringRef Name) { in getAddress() function in LVSymbolTable 138 return SymbolTable.getAddress(Name); in getSymbolTableAddress() 323 return std::make_pair(Section.getAddress(), Section); in getSection() 416 << hexValue((uint64_t)Section.getAddress()) << ":" in createInstructions() 586 uint64_t DebugAddress = (*Iter)->getAddress(); in processLines() 632 DebugAddress = (*Iter)->getAddress(); in processLines() 722 Scope = ScopesWithRanges->getEntry(Line->getAddress()); in processLines() 806 Address = (*DebugLines)[End]->getAddress(); in processLines() 814 Address = (*DebugLines)[End]->getAddress(); in processLines() 889 dbgs() << "[" << hexValue(Line->getAddress()) << "] " in includeInlineeLines() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldMachO.cpp | 48 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/include/llvm/ExecutionEngine/Orc/ |
H A D | EPCGenericJITLinkMemoryManager.h | 73 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 D | SymbolizableObjectFile.cpp | 53 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/ExecutionEngine/Orc/ |
H A D | LookupAndRecordAddrs.cpp | 35 I != Result->end() ? I->second.getAddress() : orc::ExecutorAddr(); in lookupAndRecordAddrs() 76 *Pairs[I].second = Result->front()[I].getAddress(); in lookupAndRecordAddrs()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.h | 62 LVAddress getAddress(StringRef Name); 92 if (SectionAddresses.find(Section.getAddress()) == SectionAddresses.end()) in addSectionAddress() 93 SectionAddresses.emplace(Section.getAddress(), Section); in addSectionAddress()
|