Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/ELF/Arch/
H A DMips.cpp255 write16(loc, data); in writeMicroRelocation16()
270 write16(buf + 14, 0xfffe); in writePltHeader()
273 write16(buf + 18, 0x0f83); // move $28, $3 in writePltHeader()
274 write16(buf + 20, 0x472b); // jalrc $25 in writePltHeader()
275 write16(buf + 22, 0x0c00); // nop in writePltHeader()
278 write16(buf + 18, 0x45f9); // jalrc $25 in writePltHeader()
280 write16(buf + 22, 0x0c00); // nop in writePltHeader()
329 write16(buf + 4, 0xff22); // lw $25, 0($2) in writePlt()
330 write16(buf + 8, 0x0f02); // move $24, $2 in writePlt()
335 write16(buf + 4, 0xff22); // lw $25, 0($2) in writePlt()
[all …]
H A DPPC64.cpp1221 write16(loc, val); in relocate()
1234 write16(loc, (read16(loc) & mask) | lo(val)); in relocate()
1243 write16(loc, ha(val)); in relocate()
1250 write16(loc, hi(val)); in relocate()
1253 write16(loc, hi(val)); in relocate()
1257 write16(loc, higher(val)); in relocate()
1261 write16(loc, highera(val)); in relocate()
1265 write16(loc, highest(val)); in relocate()
1269 write16(loc, highesta(val)); in relocate()
1285 write16(loc, lo(val)); in relocate()
[all …]
H A DPPC.cpp317 write16(loc, val); in relocate()
325 write16(loc, val); in relocate()
334 write16(loc, ha(val)); in relocate()
343 write16(loc, val >> 16); in relocate()
352 write16(loc, val); in relocate()
H A DAArch64.cpp344 write16(loc, val); in relocate()
/llvm-project-15.0.7/llvm/test/CodeGen/AVR/
H A Dio.ll49 define void @write16() {
50 ; CHECK-LABEL: write16
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DEndian.h395 inline void write16(void *P, uint16_t V, endianness E) { in write16() function
405 template <endianness E> inline void write16(void *P, uint16_t V) { in write16() function
415 inline void write16le(void *P, uint16_t V) { write16<little>(P, V); } in write16le()
418 inline void write16be(void *P, uint16_t V) { write16<big>(P, V); } in write16be()
/llvm-project-15.0.7/lld/ELF/
H A DThunks.cpp750 write16(buf, 0x41b9); // lui $25, %hi(func) in writeTo()
751 write16(buf + 4, 0xd400); // j func in writeTo()
752 write16(buf + 8, 0x3339); // addiu $25, $25, %lo(func) in writeTo()
753 write16(buf + 12, 0x0c00); // nop in writeTo()
776 write16(buf, 0x1320); // lui $25, %hi(func) in writeTo()
777 write16(buf + 4, 0x3339); // addiu $25, $25, %lo(func) in writeTo()
778 write16(buf + 8, 0x9400); // bc func in writeTo()
H A DTarget.h294 inline void write16(void *p, uint16_t v) { in write16() function
295 llvm::support::endian::write16(p, v, config->endianness); in write16()
H A DOutputSections.cpp380 write16(buf, data); in writeInt()
H A DSyntheticSections.cpp3097 write16(buf, 1); // vd_version in writeOne()
3098 write16(buf + 2, flags); // vd_flags in writeOne()
3099 write16(buf + 4, index); // vd_ndx in writeOne()
3100 write16(buf + 6, 1); // vd_cnt in writeOne()
3150 write16(buf, s.sym->versionId); in writeTo()