/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | Mips.cpp | 57 if (ELFT::Is64Bits) { in MIPS() 80 if (ELFT::Is64Bits || config->mipsN32Abi) in getRelExpr() 293 } else if (ELFT::Is64Bits) { in writePltHeader() 343 uint32_t loadInst = ELFT::Is64Bits ? 0xddf90000 : 0x8df90000; in writePlt() 346 uint32_t addInst = ELFT::Is64Bits ? 0x65f80000 : 0x25f80000; in writePlt() 573 if (ELFT::Is64Bits || config->mipsN32Abi) in relocate()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | DwarfCFIEHPrinter.h | 117 ELFT::Is64Bits ? 8 : 4); in printEHFrameHdr() 191 ELFT::Endianness == llvm::endianness::little, ELFT::Is64Bits ? 8 : 4); in printEHFrame()
|
H A D | ELFDumper.cpp | 3818 unsigned Bias = ELFT::Is64Bits ? 8 : 0; in printRelRelaReloc() 3820 unsigned Width = ELFT::Is64Bits ? 16 : 8; in printRelRelaReloc() 3861 if (ELFT::Is64Bits) in printRelocHeaderFields() 3983 if (ELFT::Is64Bits) in printRelr() 4010 OS << format_hex_no_prefix(Where, ELFT::Is64Bits ? 16 : 8); in printRelr() 4025 << format_hex_no_prefix(Entry, ELFT::Is64Bits ? 16 : 8) << ' '; in printRelr() 4037 OS.indent(ELFT::Is64Bits ? 24 : 16); in printRelr() 4107 unsigned Bias = ELFT::Is64Bits ? 0 : 8; in printSectionHeaders() 4139 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8)); in printSectionHeaders() 4181 if (ELFT::Is64Bits) { in printSymtabMessage() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 232 ELFT::Is64Bits ? "0x%016" PRIx64 "\n" : "0x%08" PRIx64 "\n"; in printDynamicSection() 315 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
|
H A D | llvm-objdump.cpp | 642 bool Is64Bits) { in printRelocation() argument 643 StringRef Fmt = Is64Bits ? "%016" PRIx64 ": " : "%08" PRIx64 ": "; in printRelocation() 649 OS << (Is64Bits || !LeadingAddr ? "\t\t" : "\t\t\t"); in printRelocation() 1691 bool Is64Bits = Obj.getBytesInAddress() > 4; in disassembleObject() local 2077 outs() << format(Is64Bits ? "%016" PRIx64 " " : "%08" PRIx64 " ", in disassembleObject() 2513 SectionAddr + RelOffset, Is64Bits); in disassembleObject()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | ELF.cpp | 415 Error Err = object::decodeCrel<ELFT::Is64Bits>( in decodeCrel() 460 DataExtractor Data(Content, isLE(), ELFT::Is64Bits ? 8 : 4); in android_relas() 771 DataExtractor Data(Content, EF.isLE(), ELFT::Is64Bits ? 8 : 4); in decodeBBAddrMapImpl()
|
H A D | MachOObjectFile.cpp | 1254 bool Is64Bits, uint32_t UniversalCputype, in create() argument 1259 std::move(Object), IsLittleEndian, Is64Bits, Err, UniversalCputype, in create()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86MCInstLower.cpp | 532 bool Is64Bits = getSubtarget().is64Bit(); in LowerTlsAddr() local 576 .addReg(Is64Bits ? X86::RIP : X86::EBX) in LowerTlsAddr() 582 MCInstBuilder(Is64Bits ? X86::CALL64m : X86::CALL32m) in LowerTlsAddr() 588 } else if (Is64Bits) { in LowerTlsAddr() 887 bool Is64Bits = Subtarget->is64Bit(); in LowerFENTRY_CALL() local 894 MCInstBuilder(Is64Bits ? X86::CALL64pcrel32 : X86::CALLpcrel32) in LowerFENTRY_CALL()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 56 static const bool Is64Bits = Is64; member 380 using intX_t = std::conditional_t<ELFT::Is64Bits, int64_t, int32_t>; 381 using uintX_t = std::conditional_t<ELFT::Is64Bits, uint64_t, uint32_t>;
|
H A D | ELFObjectFile.h | 502 ELFT::Is64Bits); in classof() 1042 Error Err = decodeCrel<ELFT::Is64Bits>( in section_rel_begin() 1214 ELFT::Is64Bits), in ELFObjectFile() 1278 return ELFT::Is64Bits ? 8 : 4; in getBytesInAddress()
|
H A D | MachO.h | 416 create(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits, 841 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits,
|
H A D | XCOFFObjectFile.h | 926 create(const uint8_t *Ptr, uint64_t &Size, bool Is64Bits = false);
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObject.cpp | 107 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit() 127 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size(); in visit() 132 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit() 562 bool Is64Bits) in CompressedSection() argument 570 size_t ChdrSize = Is64Bits ? sizeof(object::Elf_Chdr_Impl<object::ELF64LE>) in CompressedSection() 990 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations); in visit() 1938 Obj.Is64Bits = Ehdr.e_ident[EI_CLASS] == ELFCLASS64; in build() 2029 Ehdr.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
|
H A D | ELFObject.h | 670 DebugCompressionType CompressionType, bool Is64Bits); 1181 bool Is64Bits; variable
|
H A D | ELFObjcopy.cpp | 252 CompressedSection(*S, *CType, Is64Bits)); in compressOrDecompressSections()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | SyntheticSections.cpp | 178 if (!ELFT::Is64Bits) in create() 235 if (ELFT::Is64Bits) in create() 1283 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection() 3170 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection() 3174 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection() 3384 ELFT::Is64Bits ? 8 : 4); in readPubNamesAndTypes() 4366 eHdr->e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
|
H A D | OutputSections.cpp | 661 static size_t relToCrel(raw_svector_ostream &os, Elf_Crel<ELFT::Is64Bits> &out, in relToCrel()
|
H A D | InputSection.cpp | 160 RelocsCrel<ELFT::Is64Bits> entries(sec->content_); in relsOrRelas()
|
H A D | InputFiles.cpp | 1017 desc = desc.slice(alignTo<(ELFT::Is64Bits ? 8 : 4)>(size)); in readGnuProperty()
|
H A D | Relocations.cpp | 1445 if constexpr (ELFT::Is64Bits || RelTy::IsCrel) { in scanOne()
|
H A D | Writer.cpp | 2632 (!ELFT::Is64Bits && os->addr + os->size > uint64_t(UINT32_MAX) + 1)) in checkSections()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELFLinkGraphBuilder.h | 196 ELFT::Is64Bits ? 8 : 4, llvm::endianness(ELFT::Endianness), in ELFLinkGraphBuilder()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 59 ElfHeader.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in initELFHeader()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 473 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeELFHeader() 1362 if (!ELFT::Is64Bits && E > UINT32_MAX) in writeSectionContent()
|