Searched refs:write32 (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/lld/ELF/Arch/
H A DPPC.cpp70 write32(config->isLE ? loc : loc - 2, insn);
96 write32(buf + 4 * i, 0x48000000 | 4 * (numEntries - i));
107 write32(buf + 0, 0x3d6b0000 | ha(afterBcl)); // addis r11,r11,1f-glink@ha
108 write32(buf + 4, 0x7c0802a6); // mflr r0
109 write32(buf + 8, 0x429f0005); // bcl 20,30,.+4
110 write32(buf + 12, 0x396b0000 | lo(afterBcl)); // 1: addi r11,r11,1b-glink@l
111 write32(buf + 16, 0x7d8802a6); // mflr r12
112 write32(buf + 20, 0x7c0803a6); // mtlr r0
113 write32(buf + 24, 0x7d6c5850); // sub r11,r11,r12
114 write32(bu
[all...]
H A DPPC64.cpp135 write32(ptr++, firstInsn + 0x200008 * (r - from));
138 write32(ptr++, insn);
372 write32(config->isLE ? loc : loc - 2, insn);
430 write32(trapInstr.data(), 0x7fe00008);
514 write32(loc, 0x60000000); // nop
515 write32(loc + 4, 0x38630000); // addi r3, r3
552 write32(loc, 0x60000000); // nop
553 write32(loc + 4, 0x38631000); // addi r3, r3, 4096
617 write32(loc - offset, 0x60000000); // nop
622 write32(lo
[all...]
H A DMips.cpp58 write32(trapInstr.data(), 0x04170001);
213 write32(buf, va);
234 write32(loc, data);
289 write32(buf, 0x3c0e0000); // lui $14, %hi(&GOTPLT[0])
290 write32(buf + 4, 0x8dd90000); // lw $25, %lo(&GOTPLT[0])($14)
291 write32(buf + 8, 0x25ce0000); // addiu $14, $14, %lo(&GOTPLT[0])
292 write32(buf + 12, 0x030ec023); // subu $24, $24, $14
293 write32(buf + 16, 0x03e07825); // move $15, $31
294 write32(buf + 20, 0x0018c082); // srl $24, $24, 2
296 write32(bu
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DCompactUnwindPass.cpp108 using normalized::write32;
115 write32(headerEntries, 1, _isBig);
117 write32(headerEntries + sizeof(uint32_t), _commonEncodingsOffset, _isBig);
119 write32(headerEntries + 2 * sizeof(uint32_t), numCommon, _isBig);
121 write32(headerEntries + 3 * sizeof(uint32_t), _personalityArrayOffset,
124 write32(headerEntries + 4 * sizeof(uint32_t), numPersonalities, _isBig);
126 write32(headerEntries + 5 * sizeof(uint32_t), _topLevelIndexOffset, _isBig);
128 write32(headerEntries + 6 * sizeof(uint32_t), numPages + 1, _isBig);
134 using normalized::write32;
142 write32(commonEncodingsAre
[all...]
H A DObjCPass.cpp58 normalized::write32(Data.bytes + 4, Data.info.flags, isBig);
H A DMachONormalizedFileBinaryUtils.h96 inline void write32(uint8_t *loc, uint32_t value, bool isBig) { function in namespace:lld::mach_o::normalized
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
H A DThunks.cpp664 write32(buf, 0x3c190000); // lui $25, %hi(func)
665 write32(buf + 4, 0x08000000 | (s >> 2)); // j func
666 write32(buf + 8, 0x27390000); // addiu $25, $25, %lo(func)
667 write32(buf + 12, 0x00000000); // nop
733 write32(buf + 0, 0x3d600000 | (gotPltVA + 0x8000) >> 16); // lis r11,ha
734 write32(buf + 4, 0x816b0000 | (uint16_t)gotPltVA); // lwz r11,l(r11)
735 write32(buf + 8, 0x7d6903a6); // mtctr r11
736 write32(buf + 12, 0x4e800420); // bctr
753 write32(buf + 0, 0x817e0000 | l); // lwz r11,l(r30)
754 write32(bu
[all...]
H A DSyntheticSections.cpp67 write32(buf, val);
312 write32(buf, 4); // Name size
313 write32(buf + 4, config->is64 ? 16 : 12); // Content size
314 write32(buf + 8, NT_GNU_PROPERTY_TYPE_0); // Type
316 write32(buf + 16, featureAndType); // Feature type
317 write32(buf + 20, 4); // Feature size
318 write32(buf + 24, config->andFeatures); // Feature flags
320 write32(buf + 28, 0); // Padding
330 write32(buf, 4); // Name size
331 write32(bu
[all...]
H A DTarget.h275 inline void write32(void *p, uint32_t v) { function in namespace:lld::elf
276 llvm::support::endian::write32(p, v, config->endianness);
H A DOutputSections.cpp316 write32(buf, data);
H A DInputSection.cpp1069 write32(bufLoc + 4, 0xe8410018); // ld %r2, 24(%r1)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h398 inline void write32(void *P, uint32_t V, endianness E) {
408 template <endianness E> inline void write32(void *P, uint32_t V) {
416 inline void write32le(void *P, uint32_t V) { write32<little>(P, V); }
419 inline void write32be(void *P, uint32_t V) { write32<big>(P, V); }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp98 endian::write32(Bytes, i, Endian);
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1076 support::endian::write32<ELFT::TargetEndianness>(Buf++, S->Index);

Completed in 110 milliseconds