| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 135 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in getSymbolAuxType() 156 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in toSection32() 165 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in toSection64() 181 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in fileHeader32() 186 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in fileHeader64() 191 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in auxiliaryHeader32() 196 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in auxiliaryHeader64() 206 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in sectionHeaderTable32() 212 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in sectionHeaderTable64() 339 if (is64Bit()) in getSymbolType() [all …]
|
| H A D | COFFImportFile.cpp | 260 bool is64Bit() const { return COFF::is64Bit(NativeMachine); } in is64Bit() function in llvm::object::__anonbd4e744f0211::ObjectFactory 283 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createImportDescriptor() 419 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullImportDescriptor() 468 uint32_t VASize = is64Bit() ? 8 : 4; in createNullThunk() 482 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullThunk() 497 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk() 510 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk() 518 if (is64Bit()) in createNullThunk() 523 if (is64Bit()) in createNullThunk()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86Subtarget.h | 188 return hasCX16() && is64Bit(); in canUseCMPXCHG16B() 192 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV() 214 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF() 269 bool hasBitScanPassThrough() const { return is64Bit(); } in hasBitScanPassThrough() 271 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported() 276 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH() 281 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence() 284 bool avoidMFence() const { return is64Bit(); } in avoidMFence() 303 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32() 304 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
|
| H A D | X86Subtarget.cpp | 84 if (is64Bit()) { in classifyLocalReference() 159 if (is64Bit()) { in classifyGlobalReference() 212 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference() 220 is64Bit()) in classifyGlobalFunctionReference() 223 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference() 228 if (is64Bit()) { in classifyGlobalFunctionReference() 347 else if (is64Bit()) in X86Subtarget()
|
| H A D | X86ArgumentStackSlotRebase.cpp | 74 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : &X86::GR32_ArgRefRegClass; in getArgBaseReg() 88 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : nullptr; in getArgBaseReg() 160 TII->get(STI.is64Bit() ? X86::PLEA64r : X86::PLEA32r), ArgBaseReg) in runOnMachineFunction()
|
| H A D | X86ISelLoweringCall.cpp | 123 if ((VT == MVT::f64 || VT == MVT::f80) && !Subtarget.is64Bit() && in getRegisterTypeForCallingConv() 160 if (!Subtarget.is64Bit() && !Subtarget.hasX87()) { in getNumRegistersForCallingConv() 285 if (Subtarget.is64Bit()) in getByValTypeAlignment() 323 if (Subtarget.hasSSE1() && (Subtarget.is64Bit() || Subtarget.hasX87()) && in getOptimalMemOpType() 327 Op.size() >= 8 && !Subtarget.is64Bit() && Subtarget.hasSSE2()) { in getOptimalMemOpType() 340 if (Subtarget.is64Bit() && Op.size() >= 8) in getOptimalMemOpType() 454 if (Subtarget.is64Bit()) in markLibCallAttributes() 491 if (!Subtarget.is64Bit()) in getPICJumpTableRelocBase() 506 (Subtarget.is64Bit() && in getPICJumpTableRelocBaseExpr() 523 RRC = Subtarget.is64Bit() ? &X86::GR64RegClass : &X86::GR32RegClass; in findRepresentativeClass() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MCAsmInfo.cpp | 72 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local 73 if (is64Bit) in X86MCAsmInfoDarwin() 78 if (!is64Bit) in X86MCAsmInfoDarwin() 117 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local 123 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo() 126 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 304 TargetObjectWriter->is64Bit() ? UINT64_MAX : UINT32_MAX; 357 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon43032e790111::XCOFFWriter 430 return HasVisibility && !is64Bit() ? XCOFF::AuxFileHeaderSizeShort : 0; in auxiliaryHeaderSize() 438 is64Bit() ? W.write<uint64_t>(Word) : W.write<uint32_t>(Word); in writeWord() 836 return SymbolName.size() > XCOFF::NameSize || is64Bit(); in nameShouldBeInStringTable() 856 if (is64Bit()) { in writeSymbolEntry() 872 W.write<uint32_t>(is64Bit() ? Lo_32(SectionOrLength) : SectionOrLength); in writeSymbolAuxCsectEntry() 877 if (is64Bit()) { in writeSymbolAuxCsectEntry() 910 if (is64Bit()) in writeSymbolAuxFileEntry() 919 if (!is64Bit()) in writeSymbolAuxDwarfEntry() [all …]
|
| H A D | MachObjectWriter.cpp | 184 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader() 204 if (is64Bit()) in writeHeader() 207 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader() 232 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand() 234 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand() 236 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand() 240 if (is64Bit()) { in writeSegmentLoadCommand() 283 if (is64Bit()) { in writeSection() 301 if (is64Bit()) in writeSection() 305 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection() [all …]
|
| H A D | ELFObjectWriter.cpp | 152 bool is64Bit() const; 171 if (is64Bit()) in writeWord() 280 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter 281 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit() 296 W.OS << char(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS] in writeHeader() 328 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader() 335 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader() 502 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable() 505 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable() 508 SymtabSection->setAlignment(is64Bit() ? Align(8) : Align(4)); in computeSymbolTable() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | XCOFFDumper.cpp | 118 if (Obj.is64Bit()) { in printFileHeaders() 140 if (Obj.is64Bit()) in printAuxiliaryHeader() 147 if (Obj.is64Bit()) in printSectionHeaders() 195 if (Obj.is64Bit()) { in printLoaderSectionHeader() 269 if (Obj.is64Bit()) in printLoaderSectionSymbols() 341 Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntry() 363 W.startLine() << center_justify("Vaddr", Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntriesHelper() 401 if (Obj.is64Bit()) in printLoaderSectionRelocationEntries() 448 if (Obj.is64Bit()) in printExceptionSection() 455 if (Obj.is64Bit()) in printRelocations() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcTargetMachine.cpp | 41 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument 47 if (!is64Bit) in computeDataLayout() 59 if (is64Bit) in computeDataLayout() 64 if (is64Bit) in computeDataLayout() 118 TLOF(std::make_unique<SparcELFTargetObjectFile>()), is64Bit(is64bit) { in SparcTargetMachine() 152 this->is64Bit); in getSubtargetImpl()
|
| H A D | SparcSubtarget.cpp | 51 bool is64Bit) in SparcSubtarget() argument 54 TargetTriple(TM.getTargetTriple()), Is64Bit(is64Bit), in SparcSubtarget() 68 if (is64Bit()) { in getAdjustedFrameSize()
|
| H A D | SparcSubtarget.h | 83 bool is64Bit() const { return Is64Bit; } in is64Bit() function 88 return is64Bit() ? 2047 : 0; in getStackPointerBias()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchMergeBaseOffset.cpp | 126 if ((ST->is64Bit() && Lo12->getOpcode() != LoongArch::ADDI_D) || in INITIALIZE_PASS() 127 (!ST->is64Bit() && Lo12->getOpcode() != LoongArch::ADDI_W)) in INITIALIZE_PASS() 130 assert(ST->is64Bit()); in INITIALIZE_PASS() 214 if ((ST->is64Bit() && Add->getOpcode() != LoongArch::PseudoAddTPRel_D) || in detectFoldable() 215 (!ST->is64Bit() && Add->getOpcode() != LoongArch::PseudoAddTPRel_W)) in detectFoldable() 232 if ((ST->is64Bit() && Lo12->getOpcode() != LoongArch::ADDI_D) || in detectFoldable() 233 (!ST->is64Bit() && Lo12->getOpcode() != LoongArch::ADDI_W)) in detectFoldable() 442 if (ST->is64Bit()) in detectAndFoldOffset() 456 if (ST->is64Bit() && TailTail.getOpcode() == LoongArch::ADDI_W) in detectAndFoldOffset() 473 if (ST->is64Bit()) in detectAndFoldOffset() [all …]
|
| H A D | LoongArchExpandPseudoInsts.cpp | 265 assert(MF->getSubtarget<LoongArchSubtarget>().is64Bit() && in expandLargeAddressLoad() 328 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressPcrel() 347 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::LD_D : LoongArch::LD_W; in expandLoadAddressGot() 382 unsigned AddOp = STI.is64Bit() ? LoongArch::PseudoAddTPRel_D in expandLoadAddressTLSLE() 389 unsigned AddiOp = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSLE() 431 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::LD_D : LoongArch::LD_W; in expandLoadAddressTLSIE() 450 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSLD() 469 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSGD() 482 unsigned ADD = STI.is64Bit() ? LoongArch::ADD_D : LoongArch::ADD_W; in expandLoadAddressTLSDesc() 483 unsigned ADDI = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSDesc() [all …]
|
| H A D | LoongArchSubtarget.h | 94 bool is64Bit() const { return HasLA64; } in is64Bit() function 102 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyWasmObjectWriter.cpp | 81 return is64Bit() ? wasm::R_WASM_TABLE_INDEX_REL_SLEB64 in getRelocType() 85 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_TLS_SLEB64 in getRelocType() 89 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_REL_SLEB64 in getRelocType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 139 .customFor(ST.is64Bit(), {s32}) in RISCVLegalizerInfo() 160 .customFor(ST.is64Bit(), {{s32, s32}}) in RISCVLegalizerInfo() 167 .legalFor(ST.is64Bit(), {{s64, s16}, {s64, s32}}) in RISCVLegalizerInfo() 197 .customFor(ST.is64Bit() && (ST.hasStdExtZbb() || ST.hasStdExtZbkb()), in RISCVLegalizerInfo() 241 .legalFor(!ST.is64Bit(), {s32}) in RISCVLegalizerInfo() 242 .customFor(ST.is64Bit(), {s64}) in RISCVLegalizerInfo() 249 .legalFor(ST.is64Bit(), {s64}) in RISCVLegalizerInfo() 511 .libcallFor(ST.is64Bit(), {s128}); in RISCVLegalizerInfo() 521 .libcallFor(ST.is64Bit(), {s128}) in RISCVLegalizerInfo() 538 .libcallFor(ST.is64Bit(), {{s32, s128}, {s64, s128}}); in RISCVLegalizerInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | TapiFile.h | 54 bool is64Bit() const override { return MachO::is64Bit(Arch); } in is64Bit() function
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/XCOFF/ |
| H A D | ObjectFileXCOFF.cpp | 172 if (m_binary->is64Bit()) in ParseHeader() 182 if (m_binary->is64Bit()) in GetAddressByteSize() 251 if (m_binary->is64Bit()) in ParseSymtab() 301 if (m_binary->is64Bit()) in CreateSections() 377 const auto flags = m_binary->is64Bit() ? m_binary->fileHeader64()->Flags in CalculateType()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCMachObjectWriter.h | 67 bool is64Bit() const { return Is64Bit; } in is64Bit() function 179 StringTable(TargetObjectWriter->is64Bit() ? StringTableBuilder::MachO64 in MachObjectWriter() 258 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFObjectWriter.cpp | 297 if (is64Bit()) in getRelocType() 312 if (is64Bit()) in getRelocType() 415 if (is64Bit()) in getRelocType() 421 if (is64Bit()) in getRelocType() 427 if (is64Bit()) in getRelocType()
|
| H A D | PPCMCAsmInfo.h | 28 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &); 39 explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
|
| /freebsd/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | RISCVTargetParser.cpp | 84 return Info->is64Bit() == IsRV64; in parseCPU() 110 if (IsRV64 == C.is64Bit()) in fillValidCPUArchList() 117 if (IsRV64 == C.is64Bit()) in fillValidTuneCPUArchList()
|