| /llvm-project-15.0.7/lld/ELF/Arch/ |
| H A D | Mips.cpp | 221 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() 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() 442 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 533 uint32_t inst = read32(loc) >> 26; in fixupCrossModeJump() [all …]
|
| H A D | PPC.cpp | 69 return read32(config->isLE ? loc : loc - 2); in readFromHalf16() 285 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 362 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 372 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 471 uint32_t insn = read32(loc); in relaxTlsIeToLe() 475 uint32_t dFormOp = getPPCDFormOp((read32(loc) & 0x000007fe) >> 1); in relaxTlsIeToLe()
|
| H A D | PPC64.cpp | 556 return read32(config->isLE ? loc : loc - 2); in readFromHalf16() 670 uint32_t accessInsn = read32(loc + rel.addend); in relaxGot() 895 uint32_t primaryOp = getPrimaryOpCode(read32(loc)); in relaxTlsIeToLe() 902 write32(loc, ((dFormOp << 26) | (read32(loc) & 0x03FFFFFF))); in relaxTlsIeToLe() 908 uint32_t tlsInstr = read32(loc - 1); in relaxTlsIeToLe() 1069 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 1326 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 1334 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 1550 if (read32(loc) != 0xe80d8fc0) in adjustPrologueForCrossSplitStack() 1557 int32_t firstInstr = read32(loc + 4); in adjustPrologueForCrossSplitStack() [all …]
|
| H A D | AArch64.cpp | 202 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AVR/ |
| H A D | io.ll | 18 define i32 @read32() { 19 ; CHECK-LABEL: read32
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Endian.h | 363 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()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Target.h | 286 inline uint32_t read32(const void *p) { in read32() function 287 return llvm::support::endian::read32(p, config->endianness); in read32()
|
| H A D | OutputSections.cpp | 425 bool nonZeroFiller = read32(filler.data()) != 0; in writeTo() 477 if (OutputSection *osec = sections[read32(&idx)]->getOutputSection()) in finalizeShtGroup()
|
| H A D | MarkLive.cpp | 152 if (read32<ELFT::TargetEndianness>(piece.data().data() + 4) == 0) { in scanEhFrameSection()
|
| H A D | InputSection.cpp | 1061 if (read32(bufLoc) == 0x60000000) // nop in relocateAlloc() 1070 if ((bufLoc + 8 > bufEnd || read32(bufLoc + 4) != 0x60000000) && in relocateAlloc() 1306 uint64_t size = endian::read32<ELFT::TargetEndianness>(d.data()); in split()
|
| H A D | InputFiles.cpp | 816 uint32_t type = read32<ELFT::TargetEndianness>(desc.data()); in readAndFeatures() 817 uint32_t size = read32<ELFT::TargetEndianness>(desc.data() + 4); in readAndFeatures() 828 featuresSet |= read32<ELFT::TargetEndianness>(desc.data()); in readAndFeatures()
|
| H A D | SyntheticSections.cpp | 59 return config->is64 ? read64(buf) : read32(buf); in readUint() 415 endian::read32<ELFT::TargetEndianness>(piece.data().data() + 4); in addRecords() 467 endian::read32<ELFT::TargetEndianness>(piece.data().data() + 4); in iterateFDEWithLSDAAux() 595 return read32(buf); in readFdeAddr() 597 return (int32_t)read32(buf); in readFdeAddr()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MachOPlatform.cpp | 778 auto Version = support::endian::read32(ObjCImageInfoData, G.getEndianness()); in processObjCImageInfo() 780 support::endian::read32(ObjCImageInfoData + 4, G.getEndianness()); in processObjCImageInfo()
|
| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 4929 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty() 4952 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty() 4978 PrData = support::endian::read32<ELFT::TargetEndianness>(Data.data()); in getGNUProperty() 5191 utostr(support::endian::read32<ELFT::TargetEndianness>(Desc.data()))}; in getFreeBSDNote() 5198 support::endian::read32<ELFT::TargetEndianness>(Desc.data()); in getFreeBSDNote()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 1484 support::endian::read32<ELFT::TargetEndianness>(Word++)); in initGroupSection() 1486 uint32_t Index = support::endian::read32<ELFT::TargetEndianness>(Word); in initGroupSection()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 620 support::endian::read32<support::little>(Bytes.data())); in printInst() 1006 << format_hex(support::endian::read32(Bytes.data() + Index, Endian), in dumpARMELFData()
|