| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AVR.cpp | 102 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI() 140 write16le(loc, val & 0xffff); in relocate() 145 write16le(loc, val >> 1); in relocate() 218 write16le(loc, (read16le(loc) & 0xf8f0) | ((hi << 8) | lo)); in relocate() 224 write16le(loc, (read16le(loc) & 0xff07) | (val << 3)); in relocate() 228 write16le(loc, (read16le(loc) & 0xf9f0) | (val & 0x30) << 5 | (val & 0x0f)); in relocate() 236 write16le(loc, (read16le(loc) & 0xfc07) | ((target & 0x7f) << 3)); in relocate() 242 write16le(loc, (read16le(loc) & 0xf000) | (target & 0xfff)); in relocate() 248 write16le(loc, (read16le(loc) & 0xd3f8) | (val & 0x20) << 8 | in relocate() 253 write16le(loc, (read16le(loc) & 0xff30) | (val & 0x30) << 2 | (val & 0x0F)); in relocate() [all …]
|
| H A D | MSP430.cpp | 72 write16le(loc, val); in relocate() 81 write16le(loc, (read16le(loc) & 0xFC00) | (offset & 0x3FF)); in relocate()
|
| H A D | RISCV.cpp | 356 write16le(loc, insn); in relocate() 374 write16le(loc, insn); in relocate() 483 write16le(loc, read16le(loc) + val); in relocate() 498 write16le(loc, read16le(loc) - val); in relocate() 513 write16le(loc, val); in relocate() 1013 write16le(p + j, 0x0001); // c.nop in finalizeRelax() 1028 write16le(p, aux.writes[writesIdx++]); in finalizeRelax()
|
| H A D | AMDGPU.cpp | 171 write16le(loc, simm); in relocate()
|
| H A D | X86.cpp | 302 write16le(loc, val); in relocate() 316 write16le(loc, val); in relocate()
|
| H A D | X86_64.cpp | 872 write16le(loc, val); in relocate() 876 write16le(loc, val); in relocate()
|
| H A D | LoongArch.cpp | 716 write16le(loc, read16le(loc) + val); in relocate() 734 write16le(loc, read16le(loc) - val); in relocate()
|
| H A D | ARM.cpp | 1103 write16le(buf + i, read16be(buf + i)); in toLittleEndianInstructions()
|
| /freebsd/contrib/xz/src/common/ |
| H A D | tuklib_integer.h | 458 #define write16le(buf, num) write16ne(buf, conv16le(num)) macro 475 # define write16ne write16le 559 write16le(uint8_t *buf, uint16_t num) in write16le() function
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.cpp | 79 static void add16(uint8_t *p, int16_t v) { write16le(p, read16le(p) + v); } in add16() 82 static void or16(uint8_t *p, uint16_t v) { write16le(p, read16le(p) | v); } in or16() 172 write16le(off, (read16le(off) & 0xfbf0) | ((v & 0x800) >> 1) | ((v >> 12) & 0xf)); in applyMOV() 173 write16le(off + 2, (read16le(off + 2) & 0x8f00) | ((v & 0x700) << 4) | (v & 0xff)); in applyMOV() 216 write16le(off + 2, (read16le(off + 2) & 0xd000) | (j1 << 13) | (j2 << 11) | ((v >> 1) & 0x7ff)); in applyBranch24T() 1024 write16le(p, (i->type << 12) | (i->rva - page)); in BaserelChunk()
|
| H A D | DLL.cpp | 52 write16le(buf, hint); in writeTo() 706 write16le(buf, e.ordinal - baseOrdinal); in writeTo()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | ARMErrataFix.cpp | 157 write16le(buf, instr >> 16); in getThumbDestAddr() 158 write16le(buf + 2, instr & 0x0000ffff); in getThumbDestAddr()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | DataEncoder.cpp | 63 write16le(m_data_sp->GetBytes() + offset, value); in PutU16()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFAArch64.h | 34 write16le(p, read16le(p) + v); in add16()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 720 support::endian::write16le(Dest + J, 0x0001); // c.nop in finalizeBlockRelax() 726 support::endian::write16le(Dest, *NextWrite++); in finalizeBlockRelax()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 373 support::endian::write16le(test_buf.c, test_val); in getConstantFieldValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Endian.h | 469 inline void write16le(void *P, uint16_t V) { in write16le() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | WindowsResource.cpp | 960 support::endian::write16le(BufferStart + CurrentOffset, Length); in writeDirectoryStringTable()
|