Home
last modified time | relevance | path

Searched refs:write32 (Results 1 – 25 of 38) sorted by relevance

12

/src/contrib/llvm-project/lld/ELF/Arch/
H A DPPC.cpp72 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 DMips.cpp55 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 DPPC64.cpp278 write32(ptr++, firstInsn + 0x200008 * (r - from)); in writeSequence()
281 write32(ptr++, insn); in writeSequence()
569 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16()
616 write32(trapInstr.data(), 0x7fe00008); in PPC64()
708 write32(loc + rel.addend, NOP); // nop accessInsn. in relaxGot()
760 write32(loc, NOP); // nop in relaxTlsGdToLe()
761 write32(loc + 4, 0x38630000); // addi r3, r3 in relaxTlsGdToLe()
768 write32(loc - 1, NOP); in relaxTlsGdToLe()
821 write32(loc, NOP); in relaxTlsLdToLe()
822 write32(loc + 4, 0x38631000); // addi r3, r3, 4096 in relaxTlsLdToLe()
[all …]
H A DARM.cpp207 write32(buf, in.plt->getVA()); in writeGotPlt()
212 write32(buf, s.getVA()); in writeIgotPlt()
218 write32(buf + 0, 0xe52de004); // str lr, [sp,#-4]! in writePltHeaderLong()
219 write32(buf + 4, 0xe59fe004); // ldr lr, L2 in writePltHeaderLong()
220 write32(buf + 8, 0xe08fe00e); // L1: add lr, pc, lr in writePltHeaderLong()
221 write32(buf + 12, 0xe5bef008); // ldr pc, [lr, #8] in writePltHeaderLong()
222 write32(buf + 16, 0x00000000); // L2: .word &(.got.plt) - L1 - 8 in writePltHeaderLong()
223 write32(buf + 20, 0xd4d4d4d4); // Pad to 32-byte boundary in writePltHeaderLong()
224 write32(buf + 24, 0xd4d4d4d4); // Pad to 32-byte boundary in writePltHeaderLong()
225 write32(buf + 28, 0xd4d4d4d4); in writePltHeaderLong()
[all …]
H A DAArch64.cpp460 write32(loc, val); in relocate()
465 write32(loc, val); in relocate()
496 write32(loc, val); in relocate()
H A DRISCV.cpp1283 write32(buf + 1, size - 1); in writeTo()
1290 write32(buf + 1, end - buf); in writeTo()
/src/contrib/llvm-project/lld/ELF/
H A DThunks.cpp530 write32(buf, 0x14000000); // b S in writeTo()
611 write32(buf, 0xea000000); // b S in writeTo()
670 write32(buf + 0, 0xe300c000); // movw ip,:lower16:S in writeLong()
671 write32(buf + 4, 0xe340c000); // movt ip,:upper16:S in writeLong()
672 write32(buf + 8, 0xe12fff1c); // bx ip in writeLong()
702 write32(buf + 0, 0xe30fcff0); // P: movw ip,:lower16:S - (P + (L1-P) + 8) in writeLong()
703 write32(buf + 4, 0xe340c000); // movt ip,:upper16:S - (P + (L1-P) + 8) in writeLong()
704 write32(buf + 8, 0xe08cc00f); // L1: add ip, ip, pc in writeLong()
705 write32(buf + 12, 0xe12fff1c); // bx ip in writeLong()
748 write32(buf + 8, 0x00000000); // L1: .word S in writeLong()
[all …]
H A DSyntheticSections.cpp70 write32(buf, val); in writeUint()
321 write32(buf, 4); // Name size in writeTo()
322 write32(buf + 4, getSize() - 16); // Content size in writeTo()
323 write32(buf + 8, NT_GNU_PROPERTY_TYPE_0); // Type in writeTo()
332 write32(buf + offset + 0, featureAndType); // Feature type in writeTo()
333 write32(buf + offset + 4, 4); // Feature size in writeTo()
334 write32(buf + offset + 8, config->andFeatures); // Feature flags in writeTo()
336 write32(buf + offset + 12, 0); // Padding in writeTo()
341 write32(buf + offset + 0, GNU_PROPERTY_AARCH64_FEATURE_PAUTH); in writeTo()
342 write32(buf + offset + 4, ctx.aarch64PauthAbiCoreInfo.size()); in writeTo()
[all …]
H A DTarget.h301 inline void write32(void *p, uint32_t v) { in write32() function
302 llvm::support::endian::write32(p, v, config->endianness); in write32()
H A DOutputSections.cpp472 write32(buf, data); in writeInt()
/src/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dchip.c299 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatelow), in brcmf_chip_sb_coredisable()
316 ci->ops->write32(ci->ctx, in brcmf_chip_sb_coredisable()
329 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatelow), val); in brcmf_chip_sb_coredisable()
339 ci->ops->write32(ci->ctx, in brcmf_chip_sb_coredisable()
345 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatelow), in brcmf_chip_sb_coredisable()
364 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_coredisable()
369 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_RESET_CTL, in brcmf_chip_ai_coredisable()
379 ci->ops->write32(ci->ctx, core->wrapbase + BCMA_IOCTL, in brcmf_chip_ai_coredisable()
404 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatelow), in brcmf_chip_sb_resetcore()
413 ci->ops->write32(ci->ctx, CORE_SB(base, sbtmstatehigh), 0); in brcmf_chip_sb_resetcore()
[all …]
H A Dchip.h67 void (*write32)(void *ctx, u32 addr, u32 value); member
/src/sys/contrib/dev/athk/ath10k/
H A Dhif.h80 void (*write32)(struct ath10k *ar, u32 address, u32 value); member
223 if (!ar->hif.ops->write32) { in ath10k_hif_write32()
228 ar->hif.ops->write32(ar, address, data); in ath10k_hif_write32()
H A Dce.h138 void (*write32)(struct ath10k *ar, u32 offset, u32 value); member
H A Dahb.c717 .write32 = ath10k_ahb_write32,
722 .write32 = ath10k_ahb_write32,
H A Dsnoc.c1173 .write32 = ath10k_snoc_write32,
1194 .write32 = ath10k_snoc_write32,
H A Dpci.c727 ce->bus_ops->write32(ar, offset, value); in ath10k_pci_write32()
3190 .write32 = ath10k_pci_write32,
3631 .write32 = ath10k_bus_pci_write32,
/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dppc64.h420 support::endian::write32<Endianness>(FixupPtr, (Inst & ~Low14Mask) | in applyFixup()
443 support::endian::write32<Endianness>(FixupPtr, (Inst & 0xfc000003) | in applyFixup()
451 support::endian::write32<Endianness>(FixupPtr + 4, 0xe8410018); in applyFixup()
477 support::endian::write32<Endianness>(FixupPtr, Value); in applyFixup()
485 support::endian::write32<Endianness>(FixupPtr, Value); in applyFixup()
/src/sys/contrib/dev/athk/ath12k/
H A Dhif.h14 void (*write32)(struct ath12k_base *sc, u32 address, u32 data); member
131 ab->hif.ops->write32(ab, address, data); in ath12k_hif_write32()
/src/sys/contrib/dev/athk/ath11k/
H A Dhif.h14 void (*write32)(struct ath11k_base *ab, u32 address, u32 data); member
108 ab->hif.ops->write32(ab, address, data); in ath11k_hif_write32()
H A Dahb.c769 .write32 = ath11k_ahb_write32,
782 .write32 = ath11k_pcic_write32,
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h448 inline void write32(void *P, uint32_t V, endianness E) { in write32() function
458 template <endianness E> inline void write32(void *P, uint32_t V) { in write32() function
469 write32<llvm::endianness::little>(P, V); in write32le()
478 write32<llvm::endianness::big>(P, V); in write32be()
/src/sys/contrib/dev/rtw88/
H A Dhci.h33 void (*write32)(struct rtw_dev *rtwdev, u32 addr, u32 val); member
129 rtwdev->hci.ops->write32(rtwdev, addr, val); in rtw_write32()
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp59 void write32(uint32_t V) { LE.write<uint32_t>(V); } in write32() function in llvm::ProfOStream
577 OS.write32(I); in writeMemProfCallStackArray()
/src/sys/contrib/dev/rtw89/
H A Dusb.c842 .write32 = rtw89_usb_ops_write32,

12