Home
last modified time | relevance | path

Searched refs:is64Bit (Results 1 – 25 of 127) sorted by relevance

123456

/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DXCOFFObjectFile.cpp128 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in getSymbolAuxType()
149 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in toSection32()
158 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in toSection64()
174 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in fileHeader32()
179 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in fileHeader64()
184 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in auxiliaryHeader32()
189 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in auxiliaryHeader64()
199 assert(!is64Bit() && "32-bit interface called on 64-bit object file."); in sectionHeaderTable32()
205 assert(is64Bit() && "64-bit interface called on a 32-bit object file."); in sectionHeaderTable64()
328 if (is64Bit()) in getSymbolType()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/TargetParser/
H A DRISCVTargetParser.cpp27 bool is64Bit() const { return DefaultMarch.starts_with("rv64"); } in is64Bit() function
39 return RISCVCPUInfo[static_cast<unsigned>(Kind)].is64Bit() == IsRV64; in checkCPUKind()
49 return RISCVCPUInfo[static_cast<unsigned>(Kind)].is64Bit() == IsRV64; in checkTuneCPUKind()
74 if (C.Kind != CK_INVALID && IsRV64 == C.is64Bit()) in fillValidCPUArchList()
81 if (C.Kind != CK_INVALID && IsRV64 == C.is64Bit()) in fillValidTuneCPUArchList()
96 if (Info.is64Bit()) in getCPUFeaturesExceptStdExt()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCAsmInfo.cpp40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local
41 if (is64Bit) in X86MCAsmInfoDarwin()
48 if (!is64Bit) in X86MCAsmInfoDarwin()
83 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local
89 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo()
92 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86Subtarget.h196 return hasCX16() && is64Bit(); in canUseCMPXCHG16B()
200 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV()
229 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF()
268 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
273 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH()
278 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
298 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
299 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
H A DX86Subtarget.cpp83 if (is64Bit()) { in classifyLocalReference()
166 if (is64Bit()) { in classifyGlobalReference()
219 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
227 is64Bit()) in classifyGlobalFunctionReference()
230 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
235 if (is64Bit()) { in classifyGlobalFunctionReference()
328 else if (is64Bit()) in X86Subtarget()
H A DX86TargetMachine.cpp169 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local
180 if (is64Bit) in getEffectiveRelocModel()
184 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel()
194 if (is64Bit) in getEffectiveRelocModel()
202 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp250 TargetObjectWriter->is64Bit() ? UINT64_MAX : UINT32_MAX;
302 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon0367a1100111::XCOFFObjectWriter
373 return HasVisibility && !is64Bit() ? XCOFF::AuxFileHeaderSizeShort : 0; in auxiliaryHeaderSize()
381 is64Bit() ? W.write<uint64_t>(Word) : W.write<uint32_t>(Word); in writeWord()
746 return SymbolName.size() > XCOFF::NameSize || is64Bit(); in nameShouldBeInStringTable()
767 if (is64Bit()) { in writeSymbolEntry()
783 W.write<uint32_t>(is64Bit() ? Lo_32(SectionOrLength) : SectionOrLength); in writeSymbolAuxCsectEntry()
788 if (is64Bit()) { in writeSymbolAuxCsectEntry()
801 if (!is64Bit()) in writeSymbolAuxDwarfEntry()
804 if (is64Bit()) { in writeSymbolAuxDwarfEntry()
[all …]
H A DMachObjectWriter.cpp150 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
159 if (is64Bit()) in writeHeader()
162 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
187 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
189 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
191 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
195 if (is64Bit()) { in writeSegmentLoadCommand()
238 if (is64Bit()) { in writeSection()
253 if (is64Bit()) in writeSection()
257 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
[all …]
H A DELFObjectWriter.cpp142 bool is64Bit() const;
158 if (is64Bit()) in WriteWord()
385 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter
386 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
406 W.OS << char(is64Bit() ? ELF::ELFCLASS64 : ELF::ELFCLASS32); // e_ident[EI_CLASS] in writeHeader()
436 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader()
443 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader()
636 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
639 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable()
642 SymtabSection->setAlignment(is64Bit() ? Align(8) : Align(4)); in computeSymbolTable()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCAsmInfo.cpp21 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
26 if (is64Bit) { in PPCELFMCAsmInfo()
52 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
H A DPPCMCAsmInfo.h26 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
33 explicit PPCXCOFFMCAsmInfo(bool is64Bit, const Triple &);
H A DPPCELFObjectWriter.cpp289 if (is64Bit()) in getRelocType()
304 if (is64Bit()) in getRelocType()
404 if (is64Bit()) in getRelocType()
410 if (is64Bit()) in getRelocType()
416 if (is64Bit()) in getRelocType()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp116 if (Obj.is64Bit()) { in printFileHeaders()
138 if (Obj.is64Bit()) in printAuxiliaryHeader()
145 if (Obj.is64Bit()) in printSectionHeaders()
193 if (Obj.is64Bit()) { in printLoaderSectionHeader()
266 if (Obj.is64Bit()) in printLoaderSectionSymbols()
337 Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntry()
358 W.startLine() << center_justify("Vaddr", Obj.is64Bit() ? 18 : 10) in printLoaderSectionRelocationEntriesHelper()
396 if (Obj.is64Bit()) in printLoaderSectionRelocationEntries()
443 if (Obj.is64Bit()) in printExceptionSection()
450 if (Obj.is64Bit()) in printRelocations()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp39 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
45 if (!is64Bit) in computeDataLayout()
53 if (is64Bit) in computeDataLayout()
58 if (is64Bit) in computeDataLayout()
113 is64Bit(is64bit) { in SparcTargetMachine()
144 this->is64Bit); in getSubtargetImpl()
H A DSparcSubtarget.cpp69 bool is64Bit) in SparcSubtarget() argument
71 Is64Bit(is64Bit), InstrInfo(initializeSubtargetDependencies(CPU, FS)), in SparcSubtarget()
76 if (is64Bit()) { in getAdjustedFrameSize()
H A DSparcSubtarget.h107 bool is64Bit() const { return Is64Bit; } in is64Bit() function
112 return is64Bit() ? 2047 : 0; in getStackPointerBias()
H A DSparcRegisterInfo.cpp67 if (!Subtarget.is64Bit()) in getReservedRegs()
82 if (ReserveAppRegisters || !Subtarget.is64Bit()) in getReservedRegs()
108 return Subtarget.is64Bit() ? &SP::I64RegsRegClass : &SP::IntRegsRegClass; in getPointerRegClass()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h63 bool is64Bit() const { return Is64Bit; } in is64Bit() function
132 StringTable(TargetObjectWriter->is64Bit() ? StringTableBuilder::MachO64 in MachObjectWriter()
171 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyWasmObjectWriter.cpp81 return is64Bit() ? wasm::R_WASM_TABLE_INDEX_REL_SLEB64 in getRelocType()
84 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_TLS_SLEB64 in getRelocType()
88 return is64Bit() ? wasm::R_WASM_MEMORY_ADDR_REL_SLEB64 in getRelocType()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DTapiFile.h53 bool is64Bit() { return MachO::is64Bit(Arch); } in is64Bit() function
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchExpandPseudoInsts.cpp168 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressPcrel()
181 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::LD_D : LoongArch::LD_W; in expandLoadAddressGot()
220 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::LD_D : LoongArch::LD_W; in expandLoadAddressTLSIE()
233 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSLD()
246 unsigned SecondOpcode = STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W; in expandLoadAddressTLSGD()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dxcoff2yaml.cpp46 YAMLObj.Header.SymbolTableOffset = Obj.is64Bit() in dumpHeader()
50 Obj.is64Bit() ? Obj.getNumberOfSymbolTableEntries64() in dumpHeader()
57 if (Obj.is64Bit()) in dumpSections()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.cpp143 return TM.is64Bit() ? NVPTX::VRFrame64 : NVPTX::VRFrame32; in getFrameRegister()
150 return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; in getFrameLocalRegister()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp62 if (!ST->is64Bit()) in visitZExtInst()
109 if (!ST->is64Bit()) in visitAnd()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMachOEmitter.cpp34 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || in MachOWriter()
68 bool is64Bit; member in __anon06658c820111::MachOWriter
103 is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader()
302 uint64_t segOff = is64Bit ? LC.Data.segment_command_64_data.fileoff in writeSectionData()
355 uint64_t segSize = is64Bit ? LC.Data.segment_command_64_data.filesize in writeSectionData()
584 if (is64Bit) in writeNameList()
726 bool is64Bit = FatFile.Header.magic == MachO::FAT_MAGIC_64; in writeFatArchs() local
728 if (is64Bit) in writeFatArchs()

123456