| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | PPC.cpp | 73 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16() 120 write32(buf + 36, in writePPC32GlinkSection() 152 write32(buf, 0x60000000); in writePPC32GlinkSection() 177 write32(trapInstr.data(), 0x7fe00008); in PPC() 191 write32(buf, mainPart->dynamic->getVA()); in writeGotHeader() 356 write32(loc, val); in relocate() 362 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 372 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 414 write32(loc, 0x7c631214); in relaxTlsGdToIe() 430 write32(loc, 0x38630000 | lo(val)); in relaxTlsGdToLe() [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() 291 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader() 292 write32(buf + 20, 0x0018c082); // srl $24, $24, 2 in writePltHeader() 298 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader() 299 write32(buf + 20, 0x0018c0c2); // srl $24, $24, 3 in writePltHeader() 305 write32(buf + 16, 0x03e07825); // move $15, $31 in writePltHeader() 311 write32(buf + 28, 0x2718fffe); // subu $24, $24, 2 in writePltHeader() 350 write32(buf + 8, jrInst); // jr $25 / jr.hb $25 in writePlt() [all …]
|
| H A D | PPC64.cpp | 224 write32(ptr++, insn); in writeSequence() 751 write32(loc - 1, NOP); in relaxTlsGdToLe() 804 write32(loc, NOP); in relaxTlsLdToLe() 807 write32(loc - 1, NOP); in relaxTlsLdToLe() 876 write32(loc - offset, NOP); in relaxTlsIeToLe() 921 write32(loc - 1, NOP); in relaxTlsIeToLe() 1225 write32(loc, val); in relocate() 1315 write32(loc, val); in relocate() 1497 write32(loc - 1, 0x7c636a14); in relaxTlsGdToIe() 1605 write32(loc + 8, secondInstr); in adjustPrologueForCrossSplitStack() [all …]
|
| H A D | AArch64.cpp | 349 write32(loc, val); in relocate() 353 write32(loc, val); in relocate()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Thunks.cpp | 728 write32(buf, 0x3c190000); // lui $25, %hi(func) in writeTo() 731 write32(buf + 12, 0x00000000); // nop in writeTo() 821 write32(buf + 4, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub() 822 write32(buf + 8, 0x4e800420); // bctr in writePPC32PltCallStub() 823 write32(buf + 12, 0x60000000); // nop in writePPC32PltCallStub() 827 write32(buf + 8, 0x7d6903a6); // mtctr r11 in writePPC32PltCallStub() 828 write32(buf + 12, 0x4e800420); // bctr in writePPC32PltCallStub() 889 write32(buf + 12, 0x4e800420); // bctr in writePPC64LoadAndBranch() 913 write32(buf + 0, 0xf8410018); // std r2,24(r1) in writeTo() 976 write32(buf + nextInstOffset + 4, BCTR); // bctr in writeTo() [all …]
|
| H A D | SyntheticSections.cpp | 66 write32(buf, val); in writeUint() 506 write32(buf, aligned - 4); in writeCieFde() 2401 write32(buf, nBuckets); in writeTo() 2403 write32(buf + 8, maskWords); in writeTo() 2404 write32(buf + 12, Shift2); in writeTo() 2431 write32(values++, hash); in writeTo() 2528 write32(buckets + hash, i); in writeTo() 3045 write32(buf + 4, in write() 3047 write32(buf + 8, fdes.size()); in write() 3051 write32(buf, fde.pcRel); in write() [all …]
|
| H A D | Target.h | 298 inline void write32(void *p, uint32_t v) { in write32() function 299 llvm::support::endian::write32(p, v, config->endianness); in write32()
|
| H A D | OutputSections.cpp | 382 write32(buf, data); in writeInt()
|
| H A D | InputSection.cpp | 1078 write32(bufLoc + 4, 0xe8410018); // ld %r2, 24(%r1) in relocateAlloc()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AVR/ |
| H A D | io.ll | 57 define void @write32() { 58 ; CHECK-LABEL: write32
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Serialization.cpp | 131 void write32(uint32_t I, llvm::raw_ostream &OS) { in write32() function 197 write32(RawTable.size(), OS); in finalize() 200 write32(0, OS); // No compression. in finalize() 566 write32(Version, MetaOS); in writeRIFF()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 1142 support::endian::write32<ELFT::TargetEndianness>(Buf++, Sec.FlagWord); in visit() 1144 support::endian::write32<ELFT::TargetEndianness>(Buf++, S->Index); in visit()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 104 endian::write32(Bytes, i, Endian); in write()
|