Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOAArch64.h37 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
53 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in decodeAddend()
64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend()
66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend()
70 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
83 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
96 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
104 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
133 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument
148 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in encodeAddend()
[all …]
DRuntimeDyldMachOARM.h39 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
45 uint32_t Temp = readBytesUnaligned(LocalAddress, 4); in decodeAddend()
118 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
133 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
148 uint32_t Temp = readBytesUnaligned(LocalAddress, 4); in resolveRelocation()
149 writeBytesUnaligned((Temp & ~0xffffff) | FinalValue, LocalAddress, 4); in resolveRelocation()
163 uint32_t Insn = readBytesUnaligned(LocalAddress, 4); in resolveRelocation()
165 writeBytesUnaligned(Insn, LocalAddress, 4); in resolveRelocation()
239 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processHALFSECTDIFFRelocation() local
240 int64_t Immediate = readBytesUnaligned(LocalAddress, 4); // Copy the whole instruction out. in processHALFSECTDIFFRelocation()
DRuntimeDyldMachOX86_64.h90 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
118 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
169 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation() local
172 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
DRuntimeDyldMachOI386.h103 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
121 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
157 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processSECTDIFFRelocation() local
159 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processSECTDIFFRelocation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp930 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in resolvePPC32Relocation() local
936 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC32Relocation()
939 writeInt16BE(LocalAddress, applyPPChi(Value + Addend)); in resolvePPC32Relocation()
942 writeInt16BE(LocalAddress, applyPPCha(Value + Addend)); in resolvePPC32Relocation()
950 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in resolvePPC64Relocation() local
956 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC64Relocation()
959 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3); in resolvePPC64Relocation()
962 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC64Relocation()
965 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3); in resolvePPC64Relocation()
968 writeInt16BE(LocalAddress, applyPPChi(Value + Addend)); in resolvePPC64Relocation()
[all …]
DRuntimeDyldMachO.cpp68 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processScatteredVANILLA() local
70 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processScatteredVANILLA()
149 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve() local
153 << " LocalAddress: " << format("%p", LocalAddress) in dumpRelocationToResolve()
DRuntimeDyld.cpp152 void RuntimeDyldImpl::mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
156 if (Sections[i].getAddress() == LocalAddress) { in mapSectionAddress()
1068 void RuntimeDyld::mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
1070 Dyld->mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
DRuntimeDyldImpl.h472 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
DRuntimeDyldChecker.cpp935 bool LocalAddress) { in getSectionAddr() argument
936 return Impl->getSectionAddr(FileName, SectionName, LocalAddress); in getSectionAddr()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h48 virtual void mapSectionAddress(const void *LocalAddress,
146 void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
150 PFC->RTDyld->mapSectionAddress(LocalAddress, TargetAddr); in mapSectionAddress()
324 void mapSectionAddress(ObjSetHandleT H, const void *LocalAddress, in mapSectionAddress() argument
326 (*H)->mapSectionAddress(LocalAddress, TargetAddr); in mapSectionAddress()
DObjectTransformLayer.h85 void mapSectionAddress(ObjSetHandleT H, const void *LocalAddress, in mapSectionAddress() argument
87 BaseLayer.mapSectionAddress(H, LocalAddress, TargetAddr); in mapSectionAddress()
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp148 void mapSectionAddress(ObjSetHandleT H, const void *LocalAddress, in mapSectionAddress() argument
151 EXPECT_EQ(MockLocalAddress, LocalAddress); in mapSectionAddress()
155 void expectMapSectionAddress(ObjSetHandleT H, const void *LocalAddress, in expectMapSectionAddress() argument
158 MockLocalAddress = LocalAddress; in expectMapSectionAddress()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h205 void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
208 if (P.second.count(LocalAddress)) in mapSectionAddress()
209 ObjectLayer.mapSectionAddress(P.first, LocalAddress, TargetAddress); in mapSectionAddress()
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyldChecker.h98 bool LocalAddress);
DRuntimeDyld.h247 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
DExecutionEngine.h236 virtual void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h281 void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
283 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/external/clang/lib/CodeGen/
DCGBlocks.h228 Address LocalAddress; variable
DCGBlocks.cpp33 LocalAddress(Address::invalid()), StructureType(nullptr), Block(block), in CGBlockInfo()
579 blockInfo.LocalAddress = CGF.CreateTempAlloca(blockInfo.StructureType, in enterBlockScope()
613 Address addr = CGF.Builder.CreateStructGEP(blockInfo.LocalAddress, in enterBlockScope()
714 Address blockAddr = blockInfo.LocalAddress; in EmitBlockLiteral()