Home
last modified time | relevance | path

Searched refs:writeBytesUnaligned (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp629 void RuntimeDyldImpl::writeBytesUnaligned(uint64_t Value, uint8_t *Dst, in writeBytesUnaligned() function in llvm::RuntimeDyldImpl
864 writeBytesUnaligned(0xd2e00010, Addr, 4); // movz ip0, #:abs_g3:<addr> in createStubFunction()
865 writeBytesUnaligned(0xf2c00010, Addr+4, 4); // movk ip0, #:abs_g2_nc:<addr> in createStubFunction()
866 writeBytesUnaligned(0xf2a00010, Addr+8, 4); // movk ip0, #:abs_g1_nc:<addr> in createStubFunction()
867 writeBytesUnaligned(0xf2800010, Addr+12, 4); // movk ip0, #:abs_g0_nc:<addr> in createStubFunction()
868 writeBytesUnaligned(0xd61f0200, Addr+16, 4); // br ip0 in createStubFunction()
874 writeBytesUnaligned(0xe51ff004, Addr, 4); // ldr pc, [pc, #-4] in createStubFunction()
888 writeBytesUnaligned(LuiT9Instr, Addr, 4); in createStubFunction()
889 writeBytesUnaligned(AdduiT9Instr, Addr + 4, 4); in createStubFunction()
890 writeBytesUnaligned(JrT9Instr, Addr + 8, 4); in createStubFunction()
[all …]
DRuntimeDyldMachO.cpp290 writeBytesUnaligned(NewLocation, P, sizeof(TargetPtrT)); in processFDE()
302 writeBytesUnaligned(NewLSDA, P, sizeof(TargetPtrT)); in processFDE()
DRuntimeDyldImpl.h370 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldELFMips.cpp166 writeBytesUnaligned(Value, LocalGOTAddr, getGOTEntrySize()); in evaluateMIPS64Relocation()
235 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation()
239 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation()
243 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation()
247 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation()
252 writeBytesUnaligned(Insn, TargetPtr, 4); in applyMIPSRelocation()
257 writeBytesUnaligned(Value & 0xffffffff, TargetPtr, 4); in applyMIPSRelocation()
261 writeBytesUnaligned(Value, TargetPtr, 8); in applyMIPSRelocation()
DRuntimeDyldCOFFI386.h153 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
168 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
186 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
196 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
205 writeBytesUnaligned(RE.Addend, Target, 4); in resolveRelocation()
DRuntimeDyldMachOARM.h230 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()
254 writeBytesUnaligned((Temp & ~0xffffff) | FinalValue, LocalAddress, 4); in resolveRelocation()
279 writeBytesUnaligned(Insn, LocalAddress, 4); in resolveRelocation()
323 writeBytesUnaligned(StubOpcode, Addr, 4); in processBranchRelocation()
DRuntimeDyldCOFFThumb.h195 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
210 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
220 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
229 writeBytesUnaligned(RE.Addend, Target, 2); in resolveRelocation()
DRuntimeDyldCOFFX86_64.h48 writeBytesUnaligned(Result, Target, 4); in write32BitOffset()
101 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
121 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
DRuntimeDyldMachOI386.h112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
121 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
DRuntimeDyldMachOX86_64.h110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
118 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
DRuntimeDyldMachOAArch64.h424 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFI386.h155 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
172 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
189 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
201 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
212 writeBytesUnaligned(RE.Addend, Target, 2); in resolveRelocation()
DRuntimeDyldCOFFX86_64.h83 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
94 writeBytesUnaligned(0, Target, 4); in resolveRelocation()
99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
DRuntimeDyldCOFFThumb.h165 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
181 writeBytesUnaligned(Result, Target, 4); in resolveRelocation()
193 writeBytesUnaligned(RE.SectionID, Target, 2); in resolveRelocation()
204 writeBytesUnaligned(RE.Addend, Target, 2); in resolveRelocation()
DRuntimeDyldMachOARM.h133 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
149 writeBytesUnaligned((Temp & ~0xffffff) | FinalValue, LocalAddress, 4); in resolveRelocation()
165 writeBytesUnaligned(Insn, LocalAddress, 4); in resolveRelocation()
DRuntimeDyldMachOI386.h112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
121 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
DRuntimeDyldMachOX86_64.h110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
118 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
DRuntimeDyldMachOAArch64.h366 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp552 void RuntimeDyldImpl::writeBytesUnaligned(uint64_t Value, uint8_t *Dst, in writeBytesUnaligned() function in llvm::RuntimeDyldImpl
801 writeBytesUnaligned(0xd2e00010, Addr, 4); // movz ip0, #:abs_g3:<addr> in createStubFunction()
802 writeBytesUnaligned(0xf2c00010, Addr+4, 4); // movk ip0, #:abs_g2_nc:<addr> in createStubFunction()
803 writeBytesUnaligned(0xf2a00010, Addr+8, 4); // movk ip0, #:abs_g1_nc:<addr> in createStubFunction()
804 writeBytesUnaligned(0xf2800010, Addr+12, 4); // movk ip0, #:abs_g0_nc:<addr> in createStubFunction()
805 writeBytesUnaligned(0xd61f0200, Addr+16, 4); // br ip0 in createStubFunction()
811 writeBytesUnaligned(0xe51ff004, Addr, 4); // ldr pc,<label> in createStubFunction()
821 writeBytesUnaligned(LuiT9Instr, Addr, 4); in createStubFunction()
822 writeBytesUnaligned(AdduiT9Instr, Addr+4, 4); in createStubFunction()
823 writeBytesUnaligned(JrT9Instr, Addr+8, 4); in createStubFunction()
[all …]
DRuntimeDyldELF.cpp516 writeBytesUnaligned(Value, TargetPtr, 4); in resolveMIPSRelocation()
521 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
527 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
532 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
536 writeBytesUnaligned(Value - FinalAddress, (uint8_t *)TargetPtr, 4); in resolveMIPSRelocation()
543 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
550 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
557 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
564 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
571 writeBytesUnaligned(Insn, TargetPtr, 4); in resolveMIPSRelocation()
[all …]
DRuntimeDyldMachO.cpp287 writeBytesUnaligned(NewLocation, P, sizeof(TargetPtrT)); in processFDE()
299 writeBytesUnaligned(NewLSDA, P, sizeof(TargetPtrT)); in processFDE()
DRuntimeDyldImpl.h346 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;