Searched refs:write16 (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DMips.cpp257 write16(loc, data);
267 write16(buf, isMipsR6() ? 0x7860 : 0x7980); // addiupc v1, (GOTPLT) - .
268 write16(buf + 4, 0xff23); // lw $25, 0($3)
269 write16(buf + 8, 0x0535); // subu16 $2, $2, $3
270 write16(buf + 10, 0x2525); // srl16 $2, $2, 2
271 write16(buf + 12, 0x3302); // addiu $24, $2, -2
272 write16(buf + 14, 0xfffe);
273 write16(buf + 16, 0x0dff); // move $15, $31
275 write16(buf + 18, 0x0f83); // move $28, $3
276 write16(bu
[all...]
H A DPPC64.cpp891 write16(loc + 2, (aalk & 3) | (val & 0xfffc));
896 write16(loc, val);
909 write16(loc, (read16(loc) & mask) | lo(val));
917 write16(loc, ha(val));
922 write16(loc, hi(val));
926 write16(loc, higher(val));
930 write16(loc, highera(val));
934 write16(loc, highest(val));
938 write16(loc, highesta(val));
954 write16(lo
[all...]
H A DPPC.cpp301 write16(loc, val);
309 write16(loc, val);
318 write16(loc, ha(val));
327 write16(loc, val >> 16);
336 write16(loc, val);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h395 inline void write16(void *P, uint16_t V, endianness E) {
405 template <endianness E> inline void write16(void *P, uint16_t V) {
415 inline void write16le(void *P, uint16_t V) { write16<little>(P, V); }
418 inline void write16be(void *P, uint16_t V) { write16<big>(P, V); }
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DTarget.h271 inline void write16(void *p, uint16_t v) { function in namespace:lld::elf
272 llvm::support::endian::write16(p, v, config->endianness);
H A DThunks.cpp686 write16(buf, 0x41b9); // lui $25, %hi(func)
687 write16(buf + 4, 0xd400); // j func
688 write16(buf + 8, 0x3339); // addiu $25, $25, %lo(func)
689 write16(buf + 12, 0x0c00); // nop
711 write16(buf, 0x1320); // lui $25, %hi(func)
712 write16(buf + 4, 0x3339); // addiu $25, $25, %lo(func)
713 write16(buf + 8, 0x9400); // bc func
H A DOutputSections.cpp314 write16(buf, data);
H A DSyntheticSections.cpp3000 write16(buf, 1); // vd_version
3001 write16(buf + 2, flags); // vd_flags
3002 write16(buf + 4, index); // vd_ndx
3003 write16(buf + 6, 1); // vd_cnt
3050 write16(buf, s.sym->versionId);
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DCompactUnwindPass.cpp222 using normalized::write16;
226 write16(&_contents[curPageOffset + 4], headerSize, _isBig);
227 write16(&_contents[curPageOffset + 6], page.entries.size(), _isBig);
H A DMachONormalizedFileBinaryUtils.h89 inline void write16(uint8_t *loc, uint16_t value, bool isBig) { function in namespace:lld::mach_o::normalized

Completed in 246 milliseconds