| /openbsd-src/gnu/llvm/lld/ELF/Arch/ |
| H A D | PPC.cpp | 72 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16() 98 write32(buf + 4 * i, 0x48000000 | 4 * (numEntries - i)); in writePPC32GlinkSection() 109 write32(buf + 0, 0x3d6b0000 | ha(afterBcl)); // addis r11,r11,1f-glink@ha in writePPC32GlinkSection() 110 write32(buf + 4, 0x7c0802a6); // mflr r0 in writePPC32GlinkSection() 111 write32(buf + 8, 0x429f0005); // bcl 20,30,.+4 in writePPC32GlinkSection() 112 write32(buf + 12, 0x396b0000 | lo(afterBcl)); // 1: addi r11,r11,1b-glink@l in writePPC32GlinkSection() 113 write32(buf + 16, 0x7d8802a6); // mflr r12 in writePPC32GlinkSection() 114 write32(buf + 20, 0x7c0803a6); // mtlr r0 in writePPC32GlinkSection() 115 write32(buf + 24, 0x7d6c5850); // sub r11,r11,r12 in writePPC32GlinkSection() 116 write32(buf + 28, 0x3d8c0000 | ha(gotBcl)); // addis 12,12,GOT+4-1b@ha in writePPC32GlinkSection() [all …]
|
| H A D | PPC64.cpp | 262 write32(ptr++, firstInsn + 0x200008 * (r - from)); in writeSequence() 265 write32(ptr++, insn); in writeSequence() 553 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16() 604 write32(trapInstr.data(), 0x7fe00008); in PPC64() 696 write32(loc + rel.addend, NOP); // nop accessInsn. in relaxGot() 748 write32(loc, NOP); // nop in relaxTlsGdToLe() 749 write32(loc + 4, 0x38630000); // addi r3, r3 in relaxTlsGdToLe() 756 write32(loc - 1, NOP); in relaxTlsGdToLe() 809 write32(loc, NOP); in relaxTlsLdToLe() 810 write32(loc + 4, 0x38631000); // addi r3, r3, 4096 in relaxTlsLdToLe() [all …]
|
| H A D | Mips.cpp | 55 write32(trapInstr.data(), 0x04170001); in MIPS() 211 write32(buf, va); in writeGotPlt() 232 write32(loc, data); in writeValue() 287 write32(buf, 0x3c0e0000); // lui $14, %hi(&GOTPLT[0]) in writePltHeader() 288 write32(buf + 4, 0x8dd90000); // lw $25, %lo(&GOTPLT[0])($14) in writePltHeader() 289 write32(buf + 8, 0x25ce0000); // addiu $14, $14, %lo(&GOTPLT[0]) in writePltHeader() 290 write32(buf + 12, 0x030ec023); // subu $24, $24, $14 in writePltHeader() 291 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader() 292 write32(buf + 20, 0x0018c082); // srl $24, $24, 2 in writePltHeader() 294 write32(buf, 0x3c0e0000); // lui $14, %hi(&GOTPLT[0]) in writePltHeader() [all …]
|
| H A D | AArch64.cpp | 371 write32(loc, val); in relocate() 375 write32(loc, val); in relocate()
|
| H A D | RISCV.cpp | 971 write32(buf + 1, size - 1); in writeTo() 978 write32(buf + 1, end - buf); in writeTo()
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | Thunks.cpp | 907 write32(buf, 0x3c190000); // lui $25, %hi(func) in writeTo() 908 write32(buf + 4, 0x08000000 | (s >> 2)); // j func in writeTo() 909 write32(buf + 8, 0x27390000); // addiu $25, $25, %lo(func) in writeTo() 910 write32(buf + 12, 0x00000000); // nop in writeTo() 978 write32(buf + 0, 0x3d600000 | (gotPltVA + 0x8000) >> 16); // lis r11,ha in writePPC32PltCallStub() 979 write32(buf + 4, 0x816b0000 | (uint16_t)gotPltVA); // lwz r11,l(r11) in writePPC32PltCallStub() 980 write32(buf + 8, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub() 981 write32(buf + 12, 0x4e800420); // bctr in writePPC32PltCallStub() 999 write32(buf + 0, 0x817e0000 | l); // lwz r11,l(r30) in writePPC32PltCallStub() 1000 write32(buf + 4, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub() [all …]
|
| H A D | SyntheticSections.cpp | 66 write32(buf, val); in writeUint() 314 write32(buf, 4); // Name size in writeTo() 315 write32(buf + 4, config->is64 ? 16 : 12); // Content size in writeTo() 316 write32(buf + 8, NT_GNU_PROPERTY_TYPE_0); // Type in writeTo() 318 write32(buf + 16, featureAndType); // Feature type in writeTo() 319 write32(buf + 20, 4); // Feature size in writeTo() 320 write32(buf + 24, config->andFeatures); // Feature flags in writeTo() 322 write32(buf + 28, 0); // Padding in writeTo() 332 write32(buf, 4); // Name size in writeTo() 333 write32(buf + 4, hashSize); // Content size in writeTo() [all …]
|
| H A D | Target.h | 278 inline void write32(void *p, uint32_t v) { in write32() function 279 llvm::support::endian::write32(p, v, config->endianness); in write32()
|
| H A D | OutputSections.cpp | 436 write32(buf, data); in writeInt()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | Endian.h | 398 inline void write32(void *P, uint32_t V, endianness E) { in write32() function 408 template <endianness E> inline void write32(void *P, uint32_t V) { in write32() function 416 inline void write32le(void *P, uint32_t V) { write32<little>(P, V); } in write32le() 419 inline void write32be(void *P, uint32_t V) { write32<big>(P, V); } in write32be()
|
| /openbsd-src/sys/dev/ic/ |
| H A D | qwx.c | 1036 sc->ops.write32(sc, reo_base + HAL_REO1_GEN_ENABLE, val); in qwx_hw_ipq8074_reo_setup() 1038 sc->ops.write32(sc, reo_base + HAL_REO1_AGING_THRESH_IX_0(sc), in qwx_hw_ipq8074_reo_setup() 1040 sc->ops.write32(sc, reo_base + HAL_REO1_AGING_THRESH_IX_1(sc), in qwx_hw_ipq8074_reo_setup() 1042 sc->ops.write32(sc, reo_base + HAL_REO1_AGING_THRESH_IX_2(sc), in qwx_hw_ipq8074_reo_setup() 1044 sc->ops.write32(sc, reo_base + HAL_REO1_AGING_THRESH_IX_3(sc), in qwx_hw_ipq8074_reo_setup() 1047 sc->ops.write32(sc, reo_base + HAL_REO1_DEST_RING_CTRL_IX_0, in qwx_hw_ipq8074_reo_setup() 1049 sc->ops.write32(sc, reo_base + HAL_REO1_DEST_RING_CTRL_IX_1, in qwx_hw_ipq8074_reo_setup() 1051 sc->ops.write32(sc, reo_base + HAL_REO1_DEST_RING_CTRL_IX_2, in qwx_hw_ipq8074_reo_setup() 1053 sc->ops.write32(sc, reo_base + HAL_REO1_DEST_RING_CTRL_IX_3, 1135 sc->ops.write32(s in qwx_hw_wcn6855_reo_setup() [all...] |
| H A D | qwxvar.h | 453 void (*write32)(struct qwx_softc *, uint32_t, uint32_t); member
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 1163 support::endian::write32<ELFT::TargetEndianness>(Buf++, Sec.FlagWord); in visit() 1165 support::endian::write32<ELFT::TargetEndianness>(Buf++, S->Index); in visit()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 104 endian::write32(Bytes, i, Endian); in write()
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_qwx_pci.c | 773 sc->ops.write32 = qwx_pcic_write32; in qwx_pci_attach()
|