/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 629 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 …]
|
D | RuntimeDyldMachO.cpp | 290 writeBytesUnaligned(NewLocation, P, sizeof(TargetPtrT)); in processFDE() 302 writeBytesUnaligned(NewLSDA, P, sizeof(TargetPtrT)); in processFDE()
|
D | RuntimeDyldImpl.h | 370 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldELFMips.cpp | 166 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()
|
D | RuntimeDyldCOFFI386.h | 153 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()
|
D | RuntimeDyldMachOARM.h | 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() 254 writeBytesUnaligned((Temp & ~0xffffff) | FinalValue, LocalAddress, 4); in resolveRelocation() 279 writeBytesUnaligned(Insn, LocalAddress, 4); in resolveRelocation() 323 writeBytesUnaligned(StubOpcode, Addr, 4); in processBranchRelocation()
|
D | RuntimeDyldCOFFThumb.h | 195 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()
|
D | RuntimeDyldCOFFX86_64.h | 48 writeBytesUnaligned(Result, Target, 4); in write32BitOffset() 101 writeBytesUnaligned(Result, Target, 4); in resolveRelocation() 121 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
|
D | RuntimeDyldMachOI386.h | 112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 121 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
D | RuntimeDyldMachOX86_64.h | 110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 118 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
D | RuntimeDyldMachOAArch64.h | 424 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldCOFFI386.h | 155 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()
|
D | RuntimeDyldCOFFX86_64.h | 83 writeBytesUnaligned(Result, Target, 4); in resolveRelocation() 94 writeBytesUnaligned(0, Target, 4); in resolveRelocation() 99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
|
D | RuntimeDyldCOFFThumb.h | 165 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()
|
D | RuntimeDyldMachOARM.h | 133 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()
|
D | RuntimeDyldMachOI386.h | 112 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 121 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
D | RuntimeDyldMachOX86_64.h | 110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation() 118 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
D | RuntimeDyldMachOAArch64.h | 366 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 552 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 …]
|
D | RuntimeDyldELF.cpp | 516 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 …]
|
D | RuntimeDyldMachO.cpp | 287 writeBytesUnaligned(NewLocation, P, sizeof(TargetPtrT)); in processFDE() 299 writeBytesUnaligned(NewLSDA, P, sizeof(TargetPtrT)); in processFDE()
|
D | RuntimeDyldImpl.h | 346 void writeBytesUnaligned(uint64_t Value, uint8_t *Dst, unsigned Size) const;
|