Home
last modified time | relevance | path

Searched refs:write32be (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/lld/ELF/Arch/
H A DSPARCV9.cpp94 write32be(loc, val); in relocate()
99 write32be(loc, val); in relocate()
105 write32be(loc, (read32be(loc) & ~0x3fffffff) | ((val >> 2) & 0x3fffffff)); in relocate()
110 write32be(loc, (read32be(loc) & ~0x003fffff) | (val & 0x003fffff)); in relocate()
116 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
121 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
126 write32be(loc, (read32be(loc) & ~0x0007ffff) | ((val >> 2) & 0x0007ffff)); in relocate()
131 write32be(loc, (read32be(loc) & ~0x000003ff) | (val & 0x000003ff)); in relocate()
135 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff)); in relocate()
145 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 42) & 0x003fffff)); in relocate()
[all …]
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp478 write32be(&SuperBlob->magic, MachO::CSMAGIC_EMBEDDED_SIGNATURE); in writeCodeSignatureData()
479 write32be(&SuperBlob->length, CodeSignature.Size); in writeCodeSignatureData()
480 write32be(&SuperBlob->count, 1); in writeCodeSignatureData()
482 write32be(&BlobIndex->type, MachO::CSSLOT_CODEDIRECTORY); in writeCodeSignatureData()
483 write32be(&BlobIndex->offset, CodeSignature.BlobHeadersSize); in writeCodeSignatureData()
486 write32be(&CodeDirectory->magic, MachO::CSMAGIC_CODEDIRECTORY); in writeCodeSignatureData()
487 write32be(&CodeDirectory->length, in writeCodeSignatureData()
489 write32be(&CodeDirectory->version, MachO::CS_SUPPORTSEXECSEG); in writeCodeSignatureData()
491 write32be(&CodeDirectory->hashOffset, in writeCodeSignatureData()
496 write32be(&CodeDirectory->nCodeSlots, CodeSignature.BlockCount); in writeCodeSignatureData()
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DSyntheticSections.cpp1334 write32be(&superBlob->magic, CSMAGIC_EMBEDDED_SIGNATURE); in writeTo()
1335 write32be(&superBlob->length, signatureSize); in writeTo()
1336 write32be(&superBlob->count, 1); in writeTo()
1338 write32be(&blobIndex->type, CSSLOT_CODEDIRECTORY); in writeTo()
1339 write32be(&blobIndex->offset, blobHeadersSize); in writeTo()
1342 write32be(&codeDirectory->magic, CSMAGIC_CODEDIRECTORY); in writeTo()
1344 write32be(&codeDirectory->version, CS_SUPPORTSEXECSEG); in writeTo()
1345 write32be(&codeDirectory->flags, CS_ADHOC | CS_LINKER_SIGNED); in writeTo()
1346 write32be(&codeDirectory->hashOffset, in writeTo()
1350 write32be(&codeDirectory->nCodeSlots, getBlockCount()); in writeTo()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp86 support::endian::write32be(&Data[Fixup.getOffset() + 4], Value); in applyFixup()
/llvm-project-15.0.7/llvm/lib/MC/
H A DStringTableBuilder.cpp82 support::endian::write32be(Buf, Size); in write()
/llvm-project-15.0.7/lldb/source/Utility/
H A DDataEncoder.cpp73 write32be(m_data_sp->GetBytes() + offset, value); in PutU32()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DEndian.h419 inline void write32be(void *P, uint32_t V) { write32<big>(P, V); } in write32be() function
/llvm-project-15.0.7/lld/ELF/
H A DOutputSections.cpp417 write32be(buf + (size - sizeof(*chdr) - 4), compressed.checksum); in writeTo()
H A DScriptParser.cpp1014 write32be(buf.data(), (uint32_t)value); in readFill()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp919 support::endian::write32be(&RecordedHash[Pos], Val); in parseBlock()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp742 support::endian::write32be(Ptr, Obj.StrTbl.Length ? *Obj.StrTbl.Length in writeStringTable()