Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DPPC.cpp70 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16()
117 write32(buf + 36, in writePPC32GlinkSection()
149 write32(buf, 0x60000000); in writePPC32GlinkSection()
176 write32(trapInstr.data(), 0x7fe00008); in PPC()
190 write32(buf, mainPart->dynamic->getVA()); in writeGotHeader()
355 write32(loc, val); in relocate()
361 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
371 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
413 write32(loc, 0x7c631214); in relaxTlsGdToIe()
429 write32(loc, 0x38630000 | lo(val)); in relaxTlsGdToLe()
[all …]
H A DMips.cpp58 write32(trapInstr.data(), 0x04170001); in MIPS()
213 write32(buf, va); in writeGotPlt()
234 write32(loc, data); in writeValue()
293 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader()
294 write32(buf + 20, 0x0018c082); // srl $24, $24, 2 in writePltHeader()
300 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader()
301 write32(buf + 20, 0x0018c0c2); // srl $24, $24, 3 in writePltHeader()
307 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader()
313 write32(buf + 28, 0x2718fffe); // subu $24, $24, 2 in writePltHeader()
352 write32(buf + 8, jrInst); // jr $25 / jr.hb $25 in writePlt()
[all …]
H A DPPC64.cpp229 write32(ptr++, insn); in writeSequence()
758 write32(loc - 1, NOP); in relaxTlsGdToLe()
811 write32(loc, NOP); in relaxTlsLdToLe()
814 write32(loc - 1, NOP); in relaxTlsLdToLe()
883 write32(loc - offset, NOP); in relaxTlsIeToLe()
928 write32(loc - 1, NOP); in relaxTlsIeToLe()
1232 write32(loc, val); in relocate()
1322 write32(loc, val); in relocate()
1503 write32(loc - 1, 0x7c636a14); in relaxTlsGdToIe()
1611 write32(loc + 8, secondInstr); in adjustPrologueForCrossSplitStack()
[all …]
H A DAArch64.cpp350 write32(loc, val); in relocate()
354 write32(loc, val); in relocate()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DThunks.cpp747 write32(buf, 0x3c190000); // lui $25, %hi(func) in writeTo()
750 write32(buf + 12, 0x00000000); // nop in writeTo()
837 write32(buf + 4, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub()
838 write32(buf + 8, 0x4e800420); // bctr in writePPC32PltCallStub()
839 write32(buf + 12, 0x60000000); // nop in writePPC32PltCallStub()
843 write32(buf + 8, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub()
844 write32(buf + 12, 0x4e800420); // bctr in writePPC32PltCallStub()
905 write32(buf + 12, 0x4e800420); // bctr in writePPC64LoadAndBranch()
929 write32(buf + 0, 0xf8410018); // std r2,24(r1) in writeTo()
999 write32(buf + nextInstOffset + 4, BCTR); // bctr in writeTo()
[all …]
H A DSyntheticSections.cpp66 write32(buf, val); in writeUint()
319 write32(buf + 28, 0); // Padding in writeTo()
504 write32(buf, aligned - 4); in writeCieFde()
2409 write32(buf, nBuckets); in writeTo()
2411 write32(buf + 8, maskWords); in writeTo()
2412 write32(buf + 12, Shift2); in writeTo()
2452 write32(values++, hash); in writeHashTable()
2552 write32(buckets + hash, i); in writeTo()
3062 write32(buf + 4, in write()
3064 write32(buf + 8, fdes.size()); in write()
[all …]
H A DTarget.h284 inline void write32(void *p, uint32_t v) { in write32() function
285 llvm::support::endian::write32(p, v, config->endianness); in write32()
H A DOutputSections.cpp320 write32(buf, data); in writeInt()
H A DInputSection.cpp1108 write32(bufLoc + 4, 0xe8410018); // ld %r2, 24(%r1) in relocateAlloc()
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DCompactUnwindPass.cpp108 using normalized::write32; in addHeader()
115 write32(headerEntries, 1, _isBig); in addHeader()
119 write32(headerEntries + 2 * sizeof(uint32_t), numCommon, _isBig); in addHeader()
128 write32(headerEntries + 6 * sizeof(uint32_t), numPages + 1, _isBig); in addHeader()
134 using normalized::write32; in addCommonEncodings()
142 write32(commonEncodingsArea, encoding, _isBig); in addCommonEncodings()
157 using normalized::write32; in addTopLevelIndexes()
174 write32(indexData + (3 * i + 2) * sizeof(uint32_t), in addTopLevelIndexes()
188 write32(indexData + (3 * pages.size() + 2) * sizeof(uint32_t), in addTopLevelIndexes()
221 using normalized::write32; in addRegularSecondLevelPage()
[all …]
H A DObjCPass.cpp58 normalized::write32(Data.bytes + 4, Data.info.flags, isBig); in ObjCImageInfoAtom()
H A DMachONormalizedFileBinaryUtils.h96 inline void write32(uint8_t *loc, uint32_t value, bool isBig) { in write32() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h398 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()
/freebsd-13.1/sys/contrib/dev/iwlwifi/
H A Diwl-trans.h606 void (*write32)(struct iwl_trans *trans, u32 ofs, u32 val); member
1382 trans->ops->write32(trans, ofs, val); in iwl_trans_write32()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp1190 support::endian::write32<ELFT::TargetEndianness>(Buf++, Sec.FlagWord); in visit()
1192 support::endian::write32<ELFT::TargetEndianness>(Buf++, S->Index); in visit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp110 endian::write32(Bytes, i, Endian); in write()
/freebsd-13.1/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c3508 .write32 = iwl_trans_pcie_write32, \