Home
last modified time | relevance | path

Searched refs:write32le (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/
H A DX86.cpp179 write32le(Buf, S.getVA()); in writeIgotPlt()
213 write32le(Buf + 2, GotPlt + 4); in writePltHeader()
214 write32le(Buf + 8, GotPlt + 8); in writePltHeader()
238 write32le(Buf + 7, RelOff); in writePlt()
317 write32le(Loc, Val); in relocateOne()
336 write32le(Loc + 5, Val); in relaxTlsGdToLe()
351 write32le(Loc + 5, Val); in relaxTlsGdToIe()
390 write32le(Loc, Val); in relaxTlsIeToLe()
395 write32le(Loc, Val); in relaxTlsLdToLe()
488 write32le(Buf + 18, RelOff); in writePlt()
[all …]
H A DX86_64.cpp165 write32le(Buf + 7, Index); in writePlt()
196 write32le(Loc + 8, Val + 4); in relaxTlsGdToLe()
219 write32le(Loc + 8, Val - 8); in relaxTlsGdToIe()
264 write32le(Loc, Val + 4); in relaxTlsIeToLe()
275 write32le(Loc, Val); in relaxTlsLdToLe()
330 write32le(Loc, Val); in relocateOne()
347 write32le(Loc, Val); in relocateOne()
436 write32le(Loc, Val); in relaxGotNoPic()
457 write32le(Loc, Val); in relaxGotNoPic()
468 write32le(Loc, Val); in relaxGot()
[all …]
H A DARM.cpp155 write32le(Buf, In.Plt->getVA()); in writeGotPlt()
160 write32le(Buf, S.getVA()); in writeIgotPlt()
178 write32le(Buf + 16, GotPlt - L1 - 8); in writePltHeaderLong()
201 write32le(Buf + 0, PltData[0]); in writePltHeader()
202 write32le(Buf + 4, PltData[1] | ((Offset >> 20) & 0xff)); in writePltHeader()
204 write32le(Buf + 12, PltData[3] | (Offset & 0xfff)); in writePltHeader()
229 write32le(Buf + 12, GotPltEntryAddr - L1 - 8); in writePltLong()
256 write32le(Buf + 8, PltData[2] | (Offset & 0xfff)); in writePlt()
399 write32le(Loc, Val); in relocateOne()
402 write32le(Loc, 1); in relocateOne()
[all …]
H A DAArch64.cpp234 write32le(L, (read32le(L) & ~Mask) | ImmLo | ImmHi); in write32AArch64Addr()
261 write32le(Loc, Val); in relocateOne()
290 write32le(Loc, 0x14000000); in relocateOne()
375 write32le(Loc, 0xd503201f); // nop in relaxTlsGdToLe()
378 write32le(Loc, 0xd2a00000 | (((Val >> 16) & 0xffff) << 5)); // movz in relaxTlsGdToLe()
381 write32le(Loc, 0xf2800000 | ((Val & 0xffff) << 5)); // movk in relaxTlsGdToLe()
404 write32le(Loc, 0xd503201f); // nop in relaxTlsGdToIe()
407 write32le(Loc, 0x90000000); // adrp in relaxTlsGdToIe()
411 write32le(Loc, 0xf9400000); // ldr in relaxTlsGdToIe()
425 write32le(Loc, (0xd2a00000 | RegNo) | (((Val >> 16) & 0xffff) << 5)); in relaxTlsIeToLe()
[all …]
H A DRISCV.cpp94 write32le(Loc, Val); in relocateOne()
157 write32le(Loc, Insn); in relocateOne()
172 write32le(Loc, Insn); in relocateOne()
190 write32le(Loc, (read32le(Loc) & 0xFFF) | (Hi & 0xFFFFF000)); in relocateOne()
199 write32le(Loc, (read32le(Loc) & 0xFFFFF) | ((Lo & 0xFFF) << 20)); in relocateOne()
210 write32le(Loc, (read32le(Loc) & 0x1FFF07F) | Imm11_5 | Imm4_0); in relocateOne()
221 write32le(Loc, read32le(Loc) + Val); in relocateOne()
236 write32le(Loc, read32le(Loc) - Val); in relocateOne()
252 write32le(Loc, Val); in relocateOne()
H A DAMDGPU.cpp67 write32le(Loc, Val); in relocateOne()
75 write32le(Loc, Val >> 32); in relocateOne()
H A DMSP430.cpp78 write32le(Loc, Val); in relocateOne()
H A DHexagon.cpp180 static void or32le(uint8_t *P, int32_t V) { write32le(P, read32le(P) | V); } in or32le()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DDLL.cpp70 write32le(Buf + OutputSectionOff, HintName->getRVA()); in writeTo()
92 write32le(Buf + OutputSectionOff, (1ULL << 31) | Ordinal); in writeTo()
285 write32le(Buf + OutputSectionOff + 36, Imp->getRVA() - RVA - 40); in writeTo()
286 write32le(Buf + OutputSectionOff + 43, Desc->getRVA() - RVA - 47); in writeTo()
287 write32le(Buf + OutputSectionOff + 48, Helper->getRVA() - RVA - 52); in writeTo()
304 write32le(Buf + OutputSectionOff + 3, Imp->getRVA() + Config->ImageBase); in writeTo()
305 write32le(Buf + OutputSectionOff + 8, Desc->getRVA() + Config->ImageBase); in writeTo()
306 write32le(Buf + OutputSectionOff + 13, Helper->getRVA() - RVA - 17); in writeTo()
442 write32le(P, E.ForwardChunk->getRVA() | Bit); in writeTo()
444 write32le(P, cast<Defined>(E.Sym)->getRVA() | Bit); in writeTo()
[all …]
H A DChunks.cpp65 static void add32(uint8_t *P, int32_t V) { write32le(P, read32le(P) + V); } in add32()
68 static void or32(uint8_t *P, uint32_t V) { write32le(P, read32le(P) | V); } in or32()
219 write32le(Off, (Orig & ~Mask) | ImmLo | ImmHi); in applyArm64Addr()
229 write32le(Off, Orig | ((Imm & (0xFFF >> RangeLimit)) << 10)); in applyArm64Imm()
634 write32le(Buf + OutputSectionOff + 2, ImpSymbol->getRVA() - RVA - getSize()); in writeTo()
644 write32le(Buf + OutputSectionOff + 2, in writeTo()
714 write32le(Buf + OutputSectionOff, Sym->getRVA() + Config->ImageBase); in writeTo()
800 write32le(P, Page); in BaserelChunk()
801 write32le(P + 4, Data.size()); in BaserelChunk()
878 write32le(Buf + OutputSectionOff, Value); in writeTo()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DMD5.cpp253 support::endian::write32le(&buffer[56], lo); in final()
254 support::endian::write32le(&buffer[60], hi); in final()
258 support::endian::write32le(&Result[0], a); in final()
259 support::endian::write32le(&Result[4], b); in final()
260 support::endian::write32le(&Result[8], c); in final()
261 support::endian::write32le(&Result[12], d); in final()
/freebsd-12.1/contrib/xz/src/common/
H A Dtuklib_integer.h244 #define write32le(buf, num) write32ne((buf), conv32le(num)) macro
290 # define unaligned_write32le write32le
/freebsd-12.1/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFAsmBackend.cpp90 support::endian::write32le(&Data[Fixup.getOffset() + 4], Value); in applyFixup()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DTpiHashing.cpp85 support::endian::write32le(Buf, Deserialized.getUDT().getIndex()); in getSourceLineHash()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DStringTableBuilder.cpp73 support::endian::write32le(Buf, Size); in write()
H A DWinCOFFObjectWriter.cpp53 using llvm::support::endian::write32le;
229 write32le(Data.Name + 0, 0); in set_name_offset()
230 write32le(Data.Name + 4, Offset); in set_name_offset()
H A DWasmObjectWriter.cpp561 support::endian::write32le(Buffer, X); in WriteI32()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DDataEncoder.cpp187 write32le(m_start + offset, value); in PutU32()
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryUtils.h101 write32le(loc, value); in write32()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h340 endian::write32le(Out.data(), BucketOffset); in emit()
/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DSyntheticSections.cpp57 using llvm::support::endian::write32le;
2618 write32le(Buf + 16, E.CuIndex + CuOff); in writeTo()
2637 write32le(Buf + I * 8, Sym.NameOff); in writeTo()
2638 write32le(Buf + I * 8 + 4, Sym.CuVectorOff); in writeTo()
2651 write32le(Buf, Sym.CuVector.size()); in writeTo()
2654 write32le(Buf, Val); in writeTo()
3058 write32le(Buf + 4, 1); in writeTo()
H A DAArch64ErrataFix.cpp414 write32le(Buf, read32le(Patchee->data().begin() + PatcheeOffset)); in writeTo()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DEndian.h404 inline void write32le(void *P, uint32_t V) { write32<little>(P, V); } in write32le() function
/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFImportFile.cpp90 support::endian::write32le(&B[Offset], Length); in writeStringTable()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp32 static void or32le(void *P, int32_t V) { write32le(P, read32le(P) | V); } in or32le()
46 write32le(L, (read32le(L) & ~Mask) | ImmLo | ImmHi); in write32AArch64Addr()

12