Home
last modified time | relevance | path

Searched refs:read32 (Results 1 – 18 of 18) sorted by relevance

/openbsd-src/gnu/llvm/lld/ELF/Arch/
H A DMips.cpp221 uint32_t v = read32(loc); in readShuffle()
229 uint32_t instr = read32(loc); in writeValue()
391 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
396 return SignExtend64<28>(read32(buf) << 2); in getImplicitAddend()
402 return SignExtend64<16>(read32(buf)) << 16; in getImplicitAddend()
416 return SignExtend64<16>(read32(buf)); in getImplicitAddend()
434 return SignExtend64<18>(read32(buf) << 2); in getImplicitAddend()
436 return SignExtend64<21>(read32(buf) << 2); in getImplicitAddend()
438 return SignExtend64<23>(read32(buf) << 2); in getImplicitAddend()
440 return SignExtend64<28>(read32(buf) << 2); in getImplicitAddend()
[all …]
H A DPPC64.cpp557 return read32(config->isLE ? loc : loc - 2); in readFromHalf16()
675 uint32_t accessInsn = read32(loc + rel.addend); in relaxGot()
885 uint32_t regNo = read32(loc - offset) & 0x03E00000; // bits 6-10 in relaxTlsIeToLe()
900 uint32_t primaryOp = getPrimaryOpCode(read32(loc)); in relaxTlsIeToLe()
903 uint32_t secondaryOp = (read32(loc) & 0x000007FE) >> 1; // bits 21-30 in relaxTlsIeToLe()
907 write32(loc, ((dFormOp << 26) | (read32(loc) & 0x03FFFFFF))); in relaxTlsIeToLe()
913 uint32_t tlsInstr = read32(loc - 1); in relaxTlsIeToLe()
1076 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
1350 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
1358 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
[all …]
H A DPPC.cpp68 return read32(config->isLE ? loc : loc - 2); in readFromHalf16()
284 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
361 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
371 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
470 uint32_t insn = read32(loc); in relaxTlsIeToLe()
474 uint32_t dFormOp = getPPCDFormOp((read32(loc) & 0x000007fe) >> 1); in relaxTlsIeToLe()
H A DAArch64.cpp216 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DEndian.h363 inline uint32_t read32(const void *P, endianness E) { in read32() function
373 template <endianness E> inline uint32_t read32(const void *P) { in read32() function
381 inline uint32_t read32le(const void *P) { return read32<little>(P); } in read32le()
384 inline uint32_t read32be(const void *P) { return read32<big>(P); } in read32be()
/openbsd-src/gnu/llvm/lld/ELF/
H A DTarget.h266 inline uint32_t read32(const void *p) { in read32() function
267 return llvm::support::endian::read32(p, config->endianness); in read32()
H A DOutputSections.cpp484 bool nonZeroFiller = read32(filler.data()) != 0; in writeTo()
564 if (OutputSection *osec = sections[read32(&idx)]->getOutputSection()) in finalizeShtGroup()
H A DInputFiles.cpp907 uint32_t type = read32<ELFT::TargetEndianness>(desc.data()); in readAndFeatures()
908 uint32_t size = read32<ELFT::TargetEndianness>(desc.data() + 4); in readAndFeatures()
919 featuresSet |= read32<ELFT::TargetEndianness>(desc.data()); in readAndFeatures()
H A DInputSection.cpp1178 uint64_t size = endian::read32<ELFT::TargetEndianness>(d.data()); in split()
1181 uint32_t id = endian::read32<ELFT::TargetEndianness>(d.data() + 4); in split()
H A DSyntheticSections.cpp59 return config->is64 ? read64(buf) : read32(buf); in readUint()
412 uint32_t id = endian::read32<ELFT::TargetEndianness>(fde.data().data() + 4); in addRecords()
445 uint32_t id = endian::read32<ELFT::TargetEndianness>(fde.data().data() + 4); in iterateFDEWithLSDAAux()
562 return read32(buf); in readFdeAddr()
564 return (int32_t)read32(buf); in readFdeAddr()
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfutil/
H A DDebugInfoLinker.cpp157 return support::endian::read32(AddrPtr, Endianess); in relocateIndexedAddr()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp982 auto Version = support::endian::read32(ObjCImageInfoData, G.getEndianness()); in processObjCImageInfo()
984 support::endian::read32(ObjCImageInfoData + 4, G.getEndianness()); in processObjCImageInfo()
/openbsd-src/sys/dev/ic/
H A Dqwxvar.h452 uint32_t (*read32)(struct qwx_softc *, uint32_t); member
H A Dqwx.c1029 val = sc->ops.read32(sc, reo_base + HAL_REO1_GEN_ENABLE); in qwx_hw_ipq8074_reo_setup()
1132 val = sc->ops.read32(sc, reo_base + HAL_REO1_GEN_ENABLE); in qwx_hw_wcn6855_reo_setup()
1137 val = sc->ops.read32(sc, reo_base + HAL_REO1_MISC_CTL(sc)); in qwx_hw_wcn6855_reo_setup()
1174 val = sc->ops.read32(sc, reo_base + HAL_REO1_GEN_ENABLE); in qwx_hw_ipq5018_reo_setup()
9955 ctrl_reg_val = sc->ops.read32(sc, HAL_SEQ_WCSS_UMAC_TCL_REG + in qwx_hal_tx_set_dscp_tid_map()
9996 ctrl_reg_val = sc->ops.read32(sc, HAL_SEQ_WCSS_UMAC_TCL_REG + in qwx_hal_tx_set_dscp_tid_map()
20699 val = sc->ops.read32(sc, addr); in qwx_hal_ce_dst_setup()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DELFDumper.cpp4986 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty()
5009 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty()
5035 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty()
5248 utostr(support::endian::read32<ELFT::TargetEndianness>(Desc.data()))}; in getFreeBSDNote()
5255 support::endian::read32<ELFT::TargetEndianness>(Desc.data()); in getFreeBSDNote()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp1505 support::endian::read32<ELFT::TargetEndianness>(Word++)); in initGroupSection()
1507 uint32_t Index = support::endian::read32<ELFT::TargetEndianness>(Word); in initGroupSection()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp643 support::endian::read32<support::little>(Bytes.data())); in printInst()
1036 << format_hex(support::endian::read32(Bytes.data() + Index, Endian), in dumpARMELFData()
/openbsd-src/sys/dev/pci/
H A Dif_qwx_pci.c772 sc->ops.read32 = qwx_pcic_read32; in qwx_pci_attach()