| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | AVR.cpp | 92 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI() 105 write16le(loc, val & 0xffff); in relocate() 110 write16le(loc, val >> 1); in relocate() 175 write16le(loc, (read16le(loc) & 0xff07) | (val << 3)); in relocate() 179 write16le(loc, (read16le(loc) & 0xf9f0) | (val & 0x30) << 5 | (val & 0x0f)); in relocate() 187 write16le(loc, (read16le(loc) & 0xfc07) | ((target & 0x7f) << 3)); in relocate() 193 write16le(loc, (read16le(loc) & 0xf000) | (target & 0xfff)); in relocate() 199 write16le(loc, (read16le(loc) & 0xd3f8) | (val & 0x20) << 8 | in relocate() 204 write16le(loc, (read16le(loc) & 0xff30) | (val & 0x30) << 2 | (val & 0x0F)); in relocate() 210 write16le(loc, read16le(loc) | ((hi >> 1) << 4) | (hi & 1)); in relocate() [all …]
|
| H A D | ARM.cpp | 573 write16le(loc, in relocate() 577 write16le(loc + 2, in relocate() 609 write16le(loc, in relocate() 612 write16le(loc + 2, in relocate() 624 write16le(loc, in relocate() 628 write16le(loc + 2, in relocate() 650 write16le(loc, in relocate() 654 write16le(loc + 2, in relocate() 663 write16le(loc, in relocate() 667 write16le(loc + 2, in relocate() [all …]
|
| H A D | MSP430.cpp | 73 write16le(loc, val); in relocate() 82 write16le(loc, (read16le(loc) & 0xFC00) | (offset & 0x3FF)); in relocate()
|
| H A D | RISCV.cpp | 321 write16le(loc, insn); in relocate() 339 write16le(loc, insn); in relocate() 347 write16le(loc, (read16le(loc) & 0x0F83) | 0x4000); in relocate() 351 write16le(loc, (read16le(loc) & 0xEF83) | imm17 | imm16_12); in relocate() 432 write16le(loc, read16le(loc) + val); in relocate() 447 write16le(loc, read16le(loc) - val); in relocate() 462 write16le(loc, val); in relocate() 766 write16le(p + j, 0x0001); // c.nop in riscvFinalizeRelax() 776 write16le(p, aux.writes[writesIdx++]); in riscvFinalizeRelax()
|
| H A D | AMDGPU.cpp | 149 write16le(loc, simm); in relocate()
|
| H A D | X86.cpp | 307 write16le(loc, val); in relocate() 321 write16le(loc, val); in relocate()
|
| H A D | X86_64.cpp | 756 write16le(loc, val); in relocate() 760 write16le(loc, val); in relocate()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | Chunks.cpp | 67 static void add16(uint8_t *p, int16_t v) { write16le(p, read16le(p) + v); } in add16() 70 static void or16(uint8_t *p, uint16_t v) { write16le(p, read16le(p) | v); } in or16() 143 write16le(off, (read16le(off) & 0xfbf0) | ((v & 0x800) >> 1) | ((v >> 12) & 0xf)); in applyMOV() 144 write16le(off + 2, (read16le(off + 2) & 0x8f00) | ((v & 0x700) << 4) | (v & 0xff)); in applyMOV() 187 write16le(off + 2, (read16le(off + 2) & 0xd000) | (j1 << 13) | (j2 << 11) | ((v >> 1) & 0x7ff)); in applyBranch24T() 921 write16le(p, (i->type << 12) | (i->rva - page)); in BaserelChunk()
|
| H A D | DLL.cpp | 53 write16le(buf, hint); in writeTo() 564 write16le(buf, e.ordinal); in writeTo()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | ARMErrataFix.cpp | 156 write16le(buf, instr >> 16); in getThumbDestAddr() 157 write16le(buf + 2, instr & 0x0000ffff); in getThumbDestAddr()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | DataEncoder.cpp | 63 write16le(m_data_sp->GetBytes() + offset, value); in PutU16()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFAArch64.h | 34 static void add16(uint8_t *p, int16_t v) { write16le(p, read16le(p) + v); } in add16()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 377 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Endian.h | 415 inline void write16le(void *P, uint16_t V) { write16<little>(P, V); } in write16le() function
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 959 support::endian::write16le(BufferStart + CurrentOffset, Length); in writeDirectoryStringTable()
|