Searched refs:FixupPtr (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | loongarch.h | 338 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 345 *(ulittle64_t *)FixupPtr = TargetAddress + Addend; in applyFixup() 351 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 363 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 366 *(little32_t *)FixupPtr = RawInstr | Imm15_0; in applyFixup() 378 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 382 *(little32_t *)FixupPtr = RawInstr | Imm15_0 | Imm20_16; in applyFixup() 394 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 398 *(little32_t *)FixupPtr = RawInstr | Imm15_0 | Imm25_16; in applyFixup() 406 *(little32_t *)FixupPtr = Value; in applyFixup() [all …]
|
| H A D | ppc64.h | 300 inline Error relocateHalf16(char *FixupPtr, int64_t Value, Edge::Kind K) { in relocateHalf16() argument 305 support::endian::write16<Endianness>(FixupPtr, Value); in relocateHalf16() 309 support::endian::write16<Endianness>(FixupPtr, Value & ~3); in relocateHalf16() 314 support::endian::write16<Endianness>(FixupPtr, ha(Value)); in relocateHalf16() 319 support::endian::write16<Endianness>(FixupPtr, hi(Value)); in relocateHalf16() 322 support::endian::write16<Endianness>(FixupPtr, high(Value)); in relocateHalf16() 325 support::endian::write16<Endianness>(FixupPtr, higha(Value)); in relocateHalf16() 328 support::endian::write16<Endianness>(FixupPtr, higher(Value)); in relocateHalf16() 331 support::endian::write16<Endianness>(FixupPtr, highera(Value)); in relocateHalf16() 334 support::endian::write16<Endianness>(FixupPtr, highest(Value)); in relocateHalf16() [all …]
|
| H A D | aarch64.h | 501 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 507 *(ulittle64_t *)FixupPtr = Value; in applyFixup() 514 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 531 *(little32_t *)FixupPtr = Value; in applyFixup() 533 *(little64_t *)FixupPtr = Value; in applyFixup() 549 uint32_t RawInstr = *(little32_t *)FixupPtr; in applyFixup() 554 *(little32_t *)FixupPtr = FixedInstr; in applyFixup() 561 uint32_t RawInstr = *(ulittle32_t *)FixupPtr; in applyFixup() 568 *(ulittle32_t *)FixupPtr = FixedInstr; in applyFixup() 573 uint32_t RawInstr = *(ulittle32_t *)FixupPtr; in applyFixup() [all …]
|
| H A D | x86_64.h | 444 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 451 *(ulittle64_t *)FixupPtr = Value; in applyFixup() 458 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 466 *(little32_t *)FixupPtr = Value; in applyFixup() 475 *(ulittle16_t *)FixupPtr = Value; in applyFixup() 484 *(uint8_t *)FixupPtr = Value; in applyFixup() 500 *(little32_t *)FixupPtr = Value; in applyFixup() 508 *(little64_t *)FixupPtr = Value; in applyFixup() 515 *(little32_t *)FixupPtr = Value; in applyFixup() 524 *(little16_t *)FixupPtr = Value; in applyFixup() [all …]
|
| H A D | x86.h | 189 char *FixupPtr = BlockWorkingMem + E.getOffset(); in applyFixup() local 195 *(ulittle32_t *)FixupPtr = Value; in applyFixup() 201 *(little32_t *)FixupPtr = Value; in applyFixup() 208 *(ulittle16_t *)FixupPtr = Value; in applyFixup() 217 *(little16_t *)FixupPtr = Value; in applyFixup() 225 *(little32_t *)FixupPtr = Value; in applyFixup() 233 *(little32_t *)FixupPtr = Value; in applyFixup() 241 *(little32_t *)FixupPtr = Value; in applyFixup()
|
| /freebsd/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 103 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 108 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 113 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 119 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 125 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 131 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 137 Addend = *reinterpret_cast<const support::little32_t *>(FixupPtr); in addSingleRelocation() 143 Addend = *reinterpret_cast<const support::little64_t *>(FixupPtr); in addSingleRelocation() 148 Addend = *reinterpret_cast<const support::little16_t *>(FixupPtr); in addSingleRelocation() [all …]
|
| H A D | aarch32.cpp | 200 WritableThumbRelocation(char *FixupPtr) in WritableThumbRelocation() 201 : Hi{*reinterpret_cast<support::ulittle16_t *>(FixupPtr)}, in WritableThumbRelocation() 202 Lo{*reinterpret_cast<support::ulittle16_t *>(FixupPtr + 2)} {} 210 ThumbRelocation(const char *FixupPtr) in ThumbRelocation() 211 : Hi{*reinterpret_cast<const support::ulittle16_t *>(FixupPtr)}, in ThumbRelocation() 212 Lo{*reinterpret_cast<const support::ulittle16_t *>(FixupPtr + 2)} {} 223 WritableArmRelocation(char *FixupPtr) in WritableArmRelocation() 224 : Wd{*reinterpret_cast<support::ulittle32_t *>(FixupPtr)} {} in WritableArmRelocation() 230 ArmRelocation(const char *FixupPtr) in ArmRelocation() 231 : Wd{*reinterpret_cast<const support::ulittle32_t *>(FixupPtr)} {} in ArmRelocation() [all …]
|