Home
last modified time | relevance | path

Searched refs:TargetAddress (Results 1 – 24 of 24) sorted by relevance

/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyldChecker.h87 MemoryRegionInfo(ArrayRef<char> Content, JITTargetAddress TargetAddress, in MemoryRegionInfo()
90 TargetAddress(TargetAddress), TargetFlags(TargetFlags) {}
93 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress) in MemoryRegionInfo()
94 : Size(Size), TargetAddress(TargetAddress) {}
128 void setTargetAddress(JITTargetAddress TargetAddress) { in setTargetAddress()
129 assert(!this->TargetAddress && "TargetAddress already set"); in setTargetAddress()
130 this->TargetAddress in setTargetAddress()
86 MemoryRegionInfo(ArrayRef<char> Content,JITTargetAddress TargetAddress,TargetFlagsType TargetFlags) MemoryRegionInfo() argument
92 MemoryRegionInfo(uint64_t Size,JITTargetAddress TargetAddress) MemoryRegionInfo() argument
127 setTargetAddress(JITTargetAddress TargetAddress) setTargetAddress() argument
147 JITTargetAddress TargetAddress = 0; global() variable
[all...]
H A DRuntimeDyld.h227 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
H A DExecutionEngine.h245 uint64_t TargetAddress) { in mapSectionAddress() argument
/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dloongarch.h339 uint64_t TargetAddress = E.getTarget().getAddress().getValue(); in visitEdge()
344 *(ulittle64_t *)FixupPtr = TargetAddress + Addend; in createEntry()
347 uint64_t Value = TargetAddress + Addend;
354 int64_t Value = TargetAddress - FixupAddress + Addend;
369 int64_t Value = TargetAddress - FixupAddress + Addend; in visitEdge()
385 int64_t Value = TargetAddress - FixupAddress + Addend; in getStubsSection()
401 int64_t Value = TargetAddress - FixupAddress + Addend;
409 int64_t Value = FixupAddress - TargetAddress + Addend;
416 *(little64_t *)FixupPtr = TargetAddress - FixupAddress + Addend;
419 uint64_t Target = TargetAddress
179 uint64_t TargetAddress = E.getTarget().getAddress().getValue(); applyFixup() local
[all...]
/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp370 orc::ExecutorAddr TargetAddress(*(const ulittle64_t *)FixupContent); in addRelocations()
375 findSymbolByAddress(*TargetNSec, TargetAddress)) in addRelocations()
379 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
394 orc::ExecutorAddr TargetAddress(FixupAddress + 4 + in addRelocations()
400 findSymbolByAddress(*TargetNSec, TargetAddress)) in addRelocations()
404 Addend = TargetAddress - TargetSymbol->getAddress() - 4; in addRelocations()
414 orc::ExecutorAddr TargetAddress = in addRelocations()
420 findSymbolByAddress(*TargetNSec, TargetAddress)) in addRelocations()
424 Addend = TargetAddress - TargetSymbol->getAddress() - Delta; in addRelocations()
368 orc::ExecutorAddr TargetAddress(*(const ulittle64_t *)FixupContent); addRelocations() local
392 orc::ExecutorAddr TargetAddress(FixupAddress + 4 + addRelocations() local
412 orc::ExecutorAddr TargetAddress = addRelocations() local
H A Daarch32.cpp473 uint64_t TargetAddress = TargetSymbol.getAddress().getValue(); in applyFixupData()
479 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixupData()
489 int64_t Value = TargetAddress + Addend; in applyFixupData()
499 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixupData()
530 uint64_t TargetAddress = TargetSymbol.getAddress().getValue(); in applyFixupArm()
539 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixupArm()
554 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixupArm()
578 uint16_t Value = (TargetAddress + Addend) & 0xffff; in applyFixupArm()
583 uint16_t Value = ((TargetAddress + Addend) >> 16) & 0xffff; in applyFixupArm()
606 uint64_t TargetAddress in applyFixupThumb()
475 uint64_t TargetAddress = TargetSymbol.getAddress().getValue(); applyFixupData() local
532 uint64_t TargetAddress = TargetSymbol.getAddress().getValue(); applyFixupArm() local
608 uint64_t TargetAddress = TargetSymbol.getAddress().getValue(); applyFixupThumb() local
[all...]
H A DMachO_arm64.cpp398 orc::ExecutorAddr TargetAddress(*(const ulittle64_t *)FixupContent); in addRelocations()
403 findSymbolByAddress(*TargetNSec, TargetAddress)) in addRelocations()
407 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
377 orc::ExecutorAddr TargetAddress(*(const ulittle64_t *)FixupContent); addRelocations() local
/llvm-project/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp460 uint64_t TargetAddress = Item.first.second; in collectFunctionsFromRawProfile() local
463 if (FuncRange *FRange = Binary->findFuncRange(TargetAddress)) in collectFunctionsFromRawProfile()
588 uint64_t TargetAddress = Entry.first.second; in populateBoundarySamplesWithProbesForAllFunctions() local
592 StringRef CalleeName = getCalleeNameForAddress(TargetAddress); in populateBoundarySamplesWithProbesForAllFunctions()
709 ProfileGeneratorBase::getCalleeNameForAddress(uint64_t TargetAddress) { in getCalleeNameForAddress() argument
711 auto *FRange = Binary->findFuncRangeForStartAddr(TargetAddress); in getCalleeNameForAddress()
725 uint64_t TargetAddress = Entry.first.second; in populateBoundarySamplesForAllFunctions() local
729 StringRef CalleeName = getCalleeNameForAddress(TargetAddress); in populateBoundarySamplesForAllFunctions()
995 uint64_t TargetAddress = Entry.first.second; in populateBoundarySamplesForFunction() local
999 StringRef CalleeName = getCalleeNameForAddress(TargetAddress); in populateBoundarySamplesForFunction()
1308 uint64_t TargetAddress = BI.first.second; populateBoundarySamplesWithProbes() local
[all...]
H A DPerfReader.cpp924 uint64_t TargetAddress = LBR.Target; in computeCounterFromLBR()
929 if (Binary->addressIsCode(TargetAddress)) { in parseSample()
930 Counter.recordBranchCount(SourceAddress, TargetAddress, Repeat); in parseSample()
935 uint64_t StartAddress = TargetAddress; in parseSample()
907 uint64_t TargetAddress = LBR.Target; computeCounterFromLBR() local
H A DProfileGenerator.h115 StringRef getCalleeNameForAddress(uint64_t TargetAddress);
/llvm-project/bolt/lib/Core/
H A DBinaryFunction.cpp772 uint64_t &TargetAddress) {
900 TargetAddress = ArrayStart + *Value; in processIndirectBranch()
950 TargetAddress = *Value; in processIndirectBranch()
1069 uint64_t TargetAddress = 0; in handleExternalReference()
1070 if (!MIB->evaluateMemOperandTarget(Instruction, TargetAddress, Address, in handleExternalReference() argument
1086 if (TargetAddress == 0 && opts::Verbosity >= 1) { in handleExternalReference()
1094 BC.handleAddressRef(TargetAddress, *this, /*IsPCRel*/ true); in handleExternalReference()
1106 uint64_t TargetAddress, in handleExternalReference()
1111 BC.addInterproceduralReference(this, TargetAddress);
1137 if (opts::Verbosity >= 2 && TargetAddress in handleIndirectBranch()
775 processIndirectBranch(MCInst & Instruction,unsigned Size,uint64_t Offset,uint64_t & TargetAddress) processIndirectBranch() argument
1033 uint64_t TargetAddress = 0; handlePCRelOperand() local
1158 uint64_t TargetAddress, Count; handleAArch64IndirectCall() local
1284 uint64_t TargetAddress = 0; disassemble() local
1571 uint64_t TargetAddress = 0; scanExternalRefs() local
[all...]
H A DBinaryContext.cpp1005 uint64_t TargetAddress = 0; in hasValidCodePadding()
1007 MIB->evaluateBranch(Instr, InstrAddress, InstrSize, TargetAddress)) { in hasValidCodePadding()
1008 if (TargetAddress >= InstrAddress + InstrSize && in hasValidCodePadding()
1009 TargetAddress <= BF.getAddress() + BF.getMaxSize()) { in hasValidCodePadding()
1272 uint64_t TargetAddress, Count; in handleAArch64Veneer()
1275 TargetLowBits, TargetAddress); in handleAArch64Veneer()
1288 TargetAddress); in handleAArch64Veneer()
1002 uint64_t TargetAddress = 0; hasValidCodePadding() local
1267 uint64_t TargetAddress, Count; handleAArch64Veneer() local
/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h273 uint64_t TargetAddress) override { in mapSectionAddress() argument
274 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/llvm-project/bolt/lib/Rewrite/
H A DLinuxKernelRewriter.cpp1731 const uint64_t TargetAddress = AE.getPCRelAddress32(Cursor); in readStaticKeysJumpTable()
1750 << "\n\tTargetAddress: 0x" << Twine::utohexstr(TargetAddress) in readStaticKeysJumpTable()
1773 if (!BF->containsAddress(TargetAddress)) in readStaticKeysJumpTable()
1777 JumpAddress, TargetAddress); in readStaticKeysJumpTable()
1793 MCSymbol *Target = BF->registerBranch(JumpAddress, TargetAddress); in rewriteStaticKeysJumpTable()
1936 const uint64_t TargetAddress = AE.getPCRelAddress32(Cursor); in updateStaticKeysJumpTablePostEmit()
1949 << "\n\tTargetAddress: 0x" << Twine::utohexstr(TargetAddress)
1952 (void)TargetAddress;
1665 const uint64_t TargetAddress = readStaticKeysJumpTable() local
1873 const uint64_t TargetAddress = updateStaticKeysJumpTablePostEmit() local
H A DRewriteInstance.cpp1552 void RewriteInstance::createPLTBinaryFunction(uint64_t TargetAddress, in disassemblePLTInstruction()
1555 if (!TargetAddress) in disassemblePLTInstruction()
1561 Name.str() + "@GOT", TargetAddress, PtrSize, PtrSize); in disassemblePLTInstruction()
1572 const Relocation *Rel = BC->getDynamicRelocationAt(TargetAddress); in disassemblePLTSectionAArch64()
1648 const uint64_t TargetAddress = BC->MIB->analyzePLTEntry( in disassemblePLTSectionRISCV()
1651 createPLTBinaryFunction(TargetAddress, EntryAddress, EntrySize); in disassemblePLTSectionRISCV()
1707 const uint64_t TargetAddress = BC->MIB->analyzePLTEntry( in disassemblePLT()
1710 createPLTBinaryFunction(TargetAddress, EntryAddress, EntrySize); in disassemblePLT()
1739 uint64_t TargetAddress; in adjustFunctionBoundaries()
1740 if (!BC->MIB->evaluateMemOperandTarget(Instruction, TargetAddress, in adjustFunctionBoundaries()
1499 createPLTBinaryFunction(uint64_t TargetAddress,uint64_t EntryAddress,uint64_t EntrySize) createPLTBinaryFunction() argument
1595 const uint64_t TargetAddress = BC->MIB->analyzePLTEntry( disassemblePLTSectionAArch64() local
1654 const uint64_t TargetAddress = BC->MIB->analyzePLTEntry( disassemblePLTSectionRISCV() local
1686 uint64_t TargetAddress; disassemblePLTSectionX86() local
[all...]
/llvm-project/bolt/lib/Passes/
H A DBinaryPasses.cpp1191 uint64_t TargetAddress; in simplifyRODataLoads()
1215 TargetAddress = BD->getAddress() + DisplOffset; in simplifyRODataLoads()
1216 } else if (!MIB->evaluateMemOperandTarget(Inst, TargetAddress)) { in simplifyRODataLoads()
1223 BC.getSectionForAddress(TargetAddress); in simplifyRODataLoads()
1227 if (BC.getRelocationAt(TargetAddress) || in simplifyRODataLoads()
1228 BC.getDynamicRelocationAt(TargetAddress)) in simplifyRODataLoads()
1231 uint32_t Offset = TargetAddress - DataSection->getAddress(); in simplifyRODataLoads()
1170 uint64_t TargetAddress; simplifyRODataLoads() local
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp161 uint64_t TargetAddress) { in mapSectionAddress() argument
165 reassignSectionAddress(i, TargetAddress); in mapSectionAddress()
1418 uint64_t TargetAddress) { in finalizeWithMemoryManagerLocking()
1419 Dyld->mapSectionAddress(LocalAddress, TargetAddress); in finalizeWithMemoryManagerLocking()
1404 mapSectionAddress(const void * LocalAddress,uint64_t TargetAddress) mapSectionAddress() argument
H A DRuntimeDyldImpl.h576 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
/llvm-project/bolt/include/bolt/Rewrite/
H A DRewriteInstance.h266 /// with the \p EntrySize size. \p TargetAddress is the .got entry
268 void createPLTBinaryFunction(uint64_t TargetAddress, uint64_t EntryAddress,
/llvm-project/bolt/runtime/
H A Dinstr.cpp516 uint64_t TargetAddress; member
1098 DEBUG(reportNumber(" Address: 0x", CallDesc.TargetAddress, 16)); in visitAllCallsIn()
1100 Ctx.CallFlowTable->get(CallDesc.TargetAddress).Calls += in visitAllCallsIn()
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.cpp360 int64_t TargetAddress; in printOperand()
361 if (!Constant->evaluateAsAbsolute(TargetAddress)) { in printOperand()
366 O.write_hex(static_cast<uint32_t>(TargetAddress)); in printOperand()
362 int64_t TargetAddress; printOperand() local
/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64InstPrinter.cpp1803 int64_t TargetAddress; in printAdrAdrpLabel()
1804 if (BranchTarget && BranchTarget->evaluateAsAbsolute(TargetAddress)) { in printAdrAdrpLabel()
1805 markup(O, Markup::Target) << formatHex((uint64_t)TargetAddress); in printAdrAdrpLabel()
1790 int64_t TargetAddress; printAlignedLabel() local
/llvm-project/bolt/include/bolt/Core/
H A DBinaryFunction.h666 uint64_t &TargetAddress);
2139 uint64_t Offset, uint64_t TargetAddress,
/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp2408 uint64_t TargetAddress = TargetSym->Addr; in disassembleObject()
2409 uint64_t Disp = Target - TargetAddress; in disassembleObject()
2404 uint64_t TargetAddress = TargetSym->Addr; disassembleObject() local