Searched refs:FixupPtr (Results 1 – 8 of 8) sorted by relevance
| /src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | ppc64.h | 299 inline Error relocateHalf16(char *FixupPtr, int64_t Value, Edge::Kind K) { in relocateHalf16() argument 304 support::endian::write16<Endianness>(FixupPtr, Value); in relocateHalf16() 308 support::endian::write16<Endianness>(FixupPtr, Value & ~3); in relocateHalf16() 313 support::endian::write16<Endianness>(FixupPtr, ha(Value)); in relocateHalf16() 318 support::endian::write16<Endianness>(FixupPtr, hi(Value)); in relocateHalf16() 321 support::endian::write16<Endianness>(FixupPtr, high(Value)); in relocateHalf16() 324 support::endian::write16<Endianness>(FixupPtr, higha(Value)); in relocateHalf16() 327 support::endian::write16<Endianness>(FixupPtr, higher(Value)); in relocateHalf16() 330 support::endian::write16<Endianness>(FixupPtr, highera(Value)); in relocateHalf16() 333 support::endian::write16<Endianness>(FixupPtr, highest(Value)); in relocateHalf16() [all …]
|
| H A D | aarch64.h | 437 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 443 *(ulittle64_t *)FixupPtr = Value; in applyFixup() 450 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 467 *(little32_t *)FixupPtr = Value; in applyFixup() 469 *(little64_t *)FixupPtr = Value; in applyFixup() 485 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 490 *(little32_t *)FixupPtr = FixedInstr; in applyFixup() 497 uint32_t RawInstr = *(ulittle32_t *)FixupPtr; in applyFixup() 504 *(ulittle32_t *)FixupPtr = FixedInstr; in applyFixup() 509 uint32_t RawInstr = *(ulittle32_t *)FixupPtr; in applyFixup() [all …]
|
| H A D | loongarch.h | 177 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 184 *(ulittle64_t *)FixupPtr = TargetAddress + Addend; in applyFixup() 190 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 202 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 206 *(little32_t *)FixupPtr = RawInstr | Imm15_0 | Imm25_16; in applyFixup() 214 *(little32_t *)FixupPtr = Value; in applyFixup() 221 *(little32_t *)FixupPtr = Value; in applyFixup() 225 *(little64_t *)FixupPtr = TargetAddress - FixupAddress + Addend; in applyFixup() 237 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 239 *(little32_t *)FixupPtr = RawInstr | Imm31_12; in applyFixup() [all …]
|
| H A D | x86_64.h | 412 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 419 *(ulittle64_t *)FixupPtr = Value; in applyFixup() 426 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 434 *(little32_t *)FixupPtr = Value; in applyFixup() 443 *(ulittle16_t *)FixupPtr = Value; in applyFixup() 452 *(uint8_t *)FixupPtr = Value; in applyFixup() 468 *(little32_t *)FixupPtr = Value; in applyFixup() 476 *(little64_t *)FixupPtr = Value; in applyFixup() 483 *(little32_t *)FixupPtr = Value; in applyFixup() 492 *FixupPtr = Value; in applyFixup() [all …]
|
| H A D | i386.h | 203 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 213 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 220 *(little32_t *)FixupPtr = Value; in applyFixup() 227 *(ulittle16_t *)FixupPtr = Value; in applyFixup() 237 *(little16_t *)FixupPtr = Value; in applyFixup() 245 *(little32_t *)FixupPtr = Value; in applyFixup() 253 *(little32_t *)FixupPtr = Value; in applyFixup() 262 *(little32_t *)FixupPtr = Value; in applyFixup()
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 197 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 202 *(little32_t *)FixupPtr = static_cast<uint32_t>(Value); in applyFixup() 207 *(little64_t *)FixupPtr = static_cast<uint64_t>(Value); in applyFixup() 220 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 221 *(little32_t *)FixupPtr = in applyFixup() 235 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 236 *(little32_t *)FixupPtr = in applyFixup() 249 uint32_t RawInstrAuipc = *(little32_t *)FixupPtr; in applyFixup() 250 uint32_t RawInstrJalr = *(little32_t *)(FixupPtr + 4); in applyFixup() 251 *(little32_t *)FixupPtr = in applyFixup() [all …]
|
| H A D | COFF_x86_64.cpp | 95 const char *FixupPtr = BlockToFix.getContent().data() + Offset; in addSingleRelocation() local 100 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 105 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 110 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 116 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 122 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 128 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 134 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 140 Addend = *reinterpret_cast<const support::little64_t *>(FixupPtr); in addSingleRelocation() 145 Addend = *reinterpret_cast<const support::little16_t *>(FixupPtr); in addSingleRelocation() [all …]
|
| H A D | aarch32.cpp | 201 WritableThumbRelocation(char *FixupPtr) in WritableThumbRelocation() 202 : Hi{*reinterpret_cast<support::ulittle16_t *>(FixupPtr)}, in WritableThumbRelocation() 203 Lo{*reinterpret_cast<support::ulittle16_t *>(FixupPtr + 2)} {} 211 ThumbRelocation(const char *FixupPtr) in ThumbRelocation() 212 : Hi{*reinterpret_cast<const support::ulittle16_t *>(FixupPtr)}, in ThumbRelocation() 213 Lo{*reinterpret_cast<const support::ulittle16_t *>(FixupPtr + 2)} {} 224 WritableArmRelocation(char *FixupPtr) in WritableArmRelocation() 225 : Wd{*reinterpret_cast<support::ulittle32_t *>(FixupPtr)} {} in WritableArmRelocation() 231 ArmRelocation(const char *FixupPtr) in ArmRelocation() 232 : Wd{*reinterpret_cast<const support::ulittle32_t *>(FixupPtr)} {} in ArmRelocation() [all …]
|