| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | Mips.cpp | 255 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 D | PPC64.cpp | 1221 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 D | PPC.cpp | 317 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 D | AArch64.cpp | 344 write16(loc, val); in relocate()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AVR/ |
| H A D | io.ll | 49 define void @write16() { 50 ; CHECK-LABEL: write16
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Endian.h | 395 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 D | Thunks.cpp | 750 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 D | Target.h | 294 inline void write16(void *p, uint16_t v) { in write16() function 295 llvm::support::endian::write16(p, v, config->endianness); in write16()
|
| H A D | OutputSections.cpp | 380 write16(buf, data); in writeInt()
|
| H A D | SyntheticSections.cpp | 3097 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()
|