reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Bitcode/BitcodeReader.h
  246     unsigned Offset = support::endian::read32le(&BufPtr[BWH_OffsetField]);
  247     unsigned Size = support::endian::read32le(&BufPtr[BWH_SizeField]);
lib/BinaryFormat/Magic.cpp
  196       uint32_t off = read32le(Magic.data() + 0x3c);
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  473       unsigned Magic = support::endian::read32le(&BufPtr[BWH_MagicField]);
  474       unsigned Version = support::endian::read32le(&BufPtr[BWH_VersionField]);
  475       unsigned Offset = support::endian::read32le(&BufPtr[BWH_OffsetField]);
  476       unsigned Size = support::endian::read32le(&BufPtr[BWH_SizeField]);
  477       unsigned CPUType = support::endian::read32le(&BufPtr[BWH_CPUTypeField]);
lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp
  268   uint32_t Attrs = support::endian::read32le(Content.drop_front(4).data());
  291     Count = support::endian::read32le(Content.data());
  319     Count = support::endian::read32le(Content.data());
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
   31 static void or32le(void *P, int32_t V) { write32le(P, read32le(P) | V); }
   45   write32le(L, (read32le(L) & ~Mask) | ImmLo | ImmHi);
lib/Object/Archive.cpp
  818     Offset = read32le(Offsets + SymbolIndex * 8 + 4);
  829     uint32_t MemberCount = read32le(Buf);
  832     uint32_t SymbolCount = read32le(Buf);
  848     Offset = read32le(Offsets + OffsetIndex * 4);
  877     RanlibCount = read32le(Buf) / 8;
  885       CurRanStrx = read32le(Ranlibs + t.SymbolIndex * 8);
  886       NextRanStrx = read32le(Ranlibs + (t.SymbolIndex + 1) * 8);
  918     ranlib_count = read32le(buf) / 8;
  921     ran_strx = read32le(ranlibs);
  945     member_count = read32le(buf);
  947     symbol_count = read32le(buf);
  967     return read32le(buf) / 8;
  971   member_count = read32le(buf);
  973   return read32le(buf);
lib/Object/WasmObjectFile.cpp
   80   uint32_t Result = support::endian::read32le(Ctx.Ptr);
lib/Support/ARMAttributeParser.cpp
  704       support::endian::read32le(Section.data() + Offset) :
lib/Support/xxhash.cpp
  116     H64 ^= (uint64_t)(endian::read32le(P)) * PRIME64_1;
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
  336       uint32_t Insn = support::endian::read32le(PltContents.data() + Byte);
  341          Insn = support::endian::read32le(PltContents.data() + Byte + Off);
  350           support::endian::read32le(PltContents.data() + Byte + Off);
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  298   uint32_t Instruction = support::endian::read32le(Bytes.data());
lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
  336   uint32_t Inst = IsLittleEndian ? support::endian::read32le(Bytes.data())
lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
  331     Insn = support::endian::read32le(Bytes.data());
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  477       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
  484       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
  502       uint32_t Imm = support::endian::read32le(PltContents.data() + Byte + 2);
tools/clang/tools/extra/clangd/RIFF.cpp
   26   uint32_t Len = llvm::support::endian::read32le(Stream.take_front(4).begin());
tools/clang/tools/extra/clangd/index/Serialization.cpp
   70     auto Ret = llvm::support::endian::read32le(Begin);
tools/lld/COFF/Chunks.cpp
   61 static void add32(uint8_t *p, int32_t v) { write32le(p, read32le(p) + v); }
   64 static void or32(uint8_t *p, uint32_t v) { write32le(p, read32le(p) | v); }
  209   uint32_t orig = read32le(off);
  223   uint32_t orig = read32le(off);
  238   uint32_t orig = read32le(off);
  611   uint32_t magic = support::endian::read32le(data.data());
tools/lld/ELF/AArch64ErrataFix.cpp
  410   write32le(buf, read32le(patchee->data().begin() + patcheeOffset));
tools/lld/ELF/Arch/AArch64.cpp
  268   write32le(l, (read32le(l) & ~mask) | immLo | immHi);
  278 static void or32le(uint8_t *p, int32_t v) { write32le(p, read32le(p) | v); }
  289   uint32_t inst = read32le(loc);
  517     uint32_t regNo = read32le(loc) & 0x1f;
  523     uint32_t regNo = read32le(loc) & 0x1f;
tools/lld/ELF/Arch/ARM.cpp
  401     write32le(loc, (read32le(loc) & 0x80000000) | (val & ~0x80000000));
  415     if ((read32le(loc) & 0xfe000000) == 0xfa000000)
  418       write32le(loc, 0xeb000000 | (read32le(loc) & 0x00ffffff));
  425     write32le(loc, (read32le(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff));
  429     write16le(loc, (read32le(loc) & 0xf800) | ((val >> 1) & 0x07ff));
  484     write32le(loc, (read32le(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) |
  489     write32le(loc, (read32le(loc) & ~0x000f0fff) |
  538     return SignExtend64<32>(read32le(buf));
  540     return SignExtend64<31>(read32le(buf));
  545     return SignExtend64<26>(read32le(buf) << 2);
  586     uint64_t val = read32le(buf) & 0x000f0fff;
tools/lld/ELF/Arch/Hexagon.cpp
  203 static void or32le(uint8_t *p, int32_t v) { write32le(p, read32le(p) | v); }
  211     or32le(loc, applyMask(findMaskR6(read32le(loc)), val));
  214     or32le(loc, applyMask(findMaskR8(read32le(loc)), val));
  225     or32le(loc, applyMask(findMaskR11(read32le(loc)), val & 0x3f));
  233     or32le(loc, applyMask(findMaskR16(read32le(loc)), val & 0x3f));
tools/lld/ELF/Arch/RISCV.cpp
  301     uint32_t insn = read32le(loc) & 0xFFF;
  316     uint32_t insn = read32le(loc) & 0x1FFF07F;
  347     write32le(loc, (read32le(loc) & 0xFFF) | (hi & 0xFFFFF000));
  356     write32le(loc, (read32le(loc) & 0xFFFFF) | ((lo & 0xFFF) << 20));
  367     write32le(loc, (read32le(loc) & 0x1FFF07F) | imm11_5 | imm4_0);
  378     write32le(loc, read32le(loc) + val);
  393     write32le(loc, read32le(loc) - val);
tools/lld/ELF/Arch/X86.cpp
  258     return SignExtend64<32>(read32le(buf));
tools/lld/ELF/Arch/X86_64.cpp
  565     write32le(loc + 4, read32le(loc + 4) - 0x4000);
tools/lld/ELF/InputFiles.cpp
  739       uint32_t type = read32le(desc.data());
  740       uint32_t size = read32le(desc.data() + 4);
  746         featuresSet |= read32le(desc.data() + 8);
tools/lld/ELF/SyntheticSections.cpp
 2778     while (read32le(buf + i * 8))
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
   80   return isBig ? read32be(loc) : read32le(loc);
tools/lld/wasm/InputChunks.cpp
   71       existingValue = static_cast<uint32_t>(read32le(loc));