| /freebsd/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | Mips.cpp | 55 if (ELFT::Is64Bits) { in MIPS() 78 if (ELFT::Is64Bits || ctx.arg.mipsN32Abi) in getRelExpr() 293 } else if (ELFT::Is64Bits) { in writePltHeader() 343 uint32_t loadInst = ELFT::Is64Bits ? 0xddf90000 : 0x8df90000; in writePlt() 347 uint32_t addInst = ELFT::Is64Bits ? 0x65f80000 : 0x25f80000; in writePlt() 575 if (ELFT::Is64Bits || ctx.arg.mipsN32Abi) in relocate()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 118 ELFT::Is64Bits ? 8 : 4); in printEHFrameHdr() 192 ELFT::Endianness == llvm::endianness::little, ELFT::Is64Bits ? 8 : 4); in printEHFrame()
|
| H A D | ELFDumper.cpp | 3883 unsigned Bias = ELFT::Is64Bits ? 8 : 0; in printRelRelaReloc() 3885 unsigned Width = ELFT::Is64Bits ? 16 : 8; in printRelRelaReloc() 3926 if (ELFT::Is64Bits) in printRelocHeaderFields() 4048 if (ELFT::Is64Bits) in printRelr() 4075 OS << format_hex_no_prefix(Where, ELFT::Is64Bits ? 16 : 8); in printRelr() 4090 << format_hex_no_prefix(Entry, ELFT::Is64Bits ? 16 : 8) << ' '; in printRelr() 4102 OS.indent(ELFT::Is64Bits ? 24 : 16); in printRelr() 4172 unsigned Bias = ELFT::Is64Bits ? 0 : 8; in printSectionHeaders() 4204 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8)); in printSectionHeaders() 4246 if (ELFT::Is64Bits) { in printSymtabMessage() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ELF.cpp | 417 Error Err = object::decodeCrel<ELFT::Is64Bits>( in decodeCrel() 462 DataExtractor Data(Content, isLE(), ELFT::Is64Bits ? 8 : 4); in android_relas() 794 EF.isLE(), ELFT::Is64Bits); in decodeBBAddrMapImpl() 806 DataExtractor Data(Content, EF.isLE(), ELFT::Is64Bits ? 8 : 4); in decodeBBAddrMapImpl()
|
| H A D | MachOObjectFile.cpp | 1255 bool Is64Bits, uint32_t UniversalCputype, in create() argument 1260 std::move(Object), IsLittleEndian, Is64Bits, Err, UniversalCputype, in create()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 240 ELFT::Is64Bits ? "0x%016" PRIx64 "\n" : "0x%08" PRIx64 "\n"; in printDynamicSection() 331 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
|
| H A D | llvm-objdump.cpp | 641 bool Is64Bits) { in printRelocation() argument 642 StringRef Fmt = Is64Bits ? "%016" PRIx64 ": " : "%08" PRIx64 ": "; in printRelocation() 648 OS << (Is64Bits || !LeadingAddr ? "\t\t" : "\t\t\t"); in printRelocation() 1744 bool Is64Bits = Obj.getBytesInAddress() > 4; in disassembleObject() local 2154 OS << format(Is64Bits ? "%016" PRIx64 " " : "%08" PRIx64 " ", in disassembleObject() 2583 SectionAddr + RelOffset + VMAAdjustment, Is64Bits); in disassembleObject()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ELFTypes.h | 57 static const bool Is64Bits = Is64; member 381 using intX_t = std::conditional_t<ELFT::Is64Bits, int64_t, int32_t>; 382 using uintX_t = std::conditional_t<ELFT::Is64Bits, uint64_t, uint32_t>;
|
| H A D | ELFObjectFile.h | 508 ELFT::Is64Bits); in classof() 1047 Error Err = decodeCrel<ELFT::Is64Bits>( in section_rel_begin() 1219 ELFT::Is64Bits), in ELFObjectFile() 1283 return ELFT::Is64Bits ? 8 : 4; in getBytesInAddress()
|
| H A D | MachO.h | 421 create(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits, 846 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64Bits,
|
| H A D | XCOFFObjectFile.h | 940 create(const uint8_t *Ptr, uint64_t &Size, bool Is64Bits = false);
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 104 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit() 124 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size(); in visit() 129 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit() 559 bool Is64Bits) in CompressedSection() argument 567 size_t ChdrSize = Is64Bits ? sizeof(object::Elf_Chdr_Impl<object::ELF64LE>) in CompressedSection() 987 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations); in visit() 1935 Obj.Is64Bits = Ehdr.e_ident[EI_CLASS] == ELFCLASS64; in build() 2026 Ehdr.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
|
| H A D | ELFObject.h | 674 DebugCompressionType CompressionType, bool Is64Bits); 1187 bool Is64Bits; variable
|
| H A D | ELFObjcopy.cpp | 248 CompressedSection(*S, *CType, Is64Bits)); in compressOrDecompressSections()
|
| /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() 884 bool Is64Bits = Subtarget->is64Bit(); in LowerFENTRY_CALL() local 890 MCInstBuilder(Is64Bits ? X86::CALL64pcrel32 : X86::CALLpcrel32) in LowerFENTRY_CALL()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | SyntheticSections.cpp | 179 if (!ELFT::Is64Bits) in create() 237 if (ELFT::Is64Bits) in create() 1334 this->entsize = ELFT::Is64Bits ? 16 : 8; in DynamicSection() 3260 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection() 3264 ELFT::Is64Bits ? 8 : 4); in DebugNamesSection() 3473 ELFT::Is64Bits ? 8 : 4); in readPubNamesAndTypes() 4467 eHdr->e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
|
| H A D | OutputSections.cpp | 682 Elf_Crel<ELFT::Is64Bits> &out, InputSection *relSec, in relToCrel()
|
| H A D | InputSection.cpp | 163 RelocsCrel<ELFT::Is64Bits> entries(sec->content_); in relsOrRelas()
|
| H A D | InputFiles.cpp | 969 desc = desc.slice(alignTo<(ELFT::Is64Bits ? 8 : 4)>(size)); in parseGnuPropertyNote()
|
| H A D | Relocations.cpp | 1503 if constexpr (ELFT::Is64Bits || RelTy::IsCrel) { in scanOne()
|
| H A D | Writer.cpp | 2797 (!ELFT::Is64Bits && os->addr + os->size > uint64_t(UINT32_MAX) + 1)) in checkSections()
|
| /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 | 470 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeELFHeader() 1355 if (!ELFT::Is64Bits && E > UINT32_MAX) in writeSectionContent()
|