Home
last modified time | relevance | path

Searched refs:LocalAddress (Results 1 – 15 of 15) sorted by relevance

/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
71 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in decodeAddend()
83 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend()
85 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend()
89 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
104 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
117 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
126 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument
171 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in encodeAddend()
[all …]
H A DRuntimeDyldMachOARM.h64 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
70 uint32_t Temp = readBytesUnaligned(LocalAddress, 4); in decodeAddend()
81 uint16_t HighInsn = readBytesUnaligned(LocalAddress, 2); in decodeAddend()
87 uint16_t LowInsn = readBytesUnaligned(LocalAddress + 2, 2); in decodeAddend()
205 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
220 uint16_t HighInsn = readBytesUnaligned(LocalAddress, 2); in resolveRelocation()
225 uint16_t LowInsn = readBytesUnaligned(LocalAddress + 2, 2); in resolveRelocation()
230 writeBytesUnaligned(HighInsn, LocalAddress, 2); in resolveRelocation()
231 writeBytesUnaligned(LowInsn, LocalAddress + 2, 2); in resolveRelocation()
238 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
[all …]
H A DRuntimeDyldMachOX86_64.h88 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
108 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
116 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
167 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation() local
170 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
H A DRuntimeDyldMachOI386.h101 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
119 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
158 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processSECTDIFFRelocation() local
160 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processSECTDIFFRelocation()
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp413 LLVM_DEBUG(dbgs() << "resolveAArch64Relocation, LocalAddress: 0x" in resolveAArch64Relocation()
599 LLVM_DEBUG(dbgs() << "resolveARMRelocation, LocalAddress: " in resolveARMRelocation()
737 LLVM_DEBUG(dbgs() << "resolveLoongArch64Relocation, LocalAddress: 0x" in findOPDEntrySection()
1017 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset);
1023 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
1026 writeInt16BE(LocalAddress, applyPPChi(Value + Addend));
1029 writeInt16BE(LocalAddress, applyPPCha(Value + Addend));
1037 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in resolveRelocation()
1043 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolveRelocation()
1046 writeInt16BE(LocalAddress, applyPPCl in resolveRelocation()
819 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); resolvePPC32Relocation() local
839 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); resolvePPC64Relocation() local
933 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); resolveSystemZRelocation() local
[all...]
H A DRuntimeDyldMachO.cpp68 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processScatteredVANILLA()
70 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processScatteredVANILLA()
150 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve()
154 << " LocalAddress: " << format("%p", LocalAddress) in dumpRelocationToResolve()
69 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); processScatteredVANILLA() local
151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; dumpRelocationToResolve() local
H A DRuntimeDyld.cpp160 void RuntimeDyldImpl::mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
164 if (Sections[i].getAddress() == LocalAddress) { in mapSectionAddress()
1417 void RuntimeDyld::mapSectionAddress(const void *LocalAddress, in finalizeWithMemoryManagerLocking()
1419 Dyld->mapSectionAddress(LocalAddress, TargetAddress); in finalizeWithMemoryManagerLocking()
1403 mapSectionAddress(const void * LocalAddress,uint64_t TargetAddress) mapSectionAddress() argument
H A DRuntimeDyldImpl.h576 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
H A DRuntimeDyldChecker.cpp1058 bool LocalAddress) { in getSectionAddr()
1059 return Impl->getSectionAddr(FileName, SectionName, LocalAddress); in getSectionAddr() argument
/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyldChecker.h183 /// if 'LocalAddress' is true, this returns the address of the section
184 /// within the linker's memory. If 'LocalAddress' is false it returns the
188 bool LocalAddress);
192 std::optional<uint64_t> getSectionLoadAddress(void *LocalAddress) const;
H A DRuntimeDyld.h227 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
H A DExecutionEngine.h244 virtual void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h272 void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
274 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h275 RawAddress LocalAddress; variable
H A DCGBlocks.cpp38 LocalAddress(RawAddress::invalid()), StructureType(nullptr), in CGBlockInfo()
779 blockInfo.LocalAddress = CreateTempAlloca(blockInfo.StructureType, in EmitBlockLiteral()
805 RawAddress blockAddr = blockInfo.LocalAddress; in EmitBlockLiteral()