Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp332 if (is64Bit()) in getSymbolType()
377 if (is64Bit()) in getSectionAddress()
386 if (is64Bit()) in getSectionIndex()
395 if (is64Bit()) in getSectionSize()
407 if (is64Bit()) in getSectionContents()
431 if (is64Bit()) in getSectionFileOffsetToRawData()
565 if (is64Bit()) in moveRelocationNext()
625 if (is64Bit()) in getRelocationType()
728 if (is64Bit()) in isRelocatableObject()
806 if (is64Bit()) in getSectionByType()
[all …]
H A DCOFFImportFile.cpp223 bool is64Bit() const { return COFF::is64Bit(NativeMachine); } in is64Bit() function in llvm::object::__anon0d0e76170211::ObjectFactory
246 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createImportDescriptor()
382 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullImportDescriptor()
431 uint32_t VASize = is64Bit() ? 8 : 4; in createNullThunk()
445 u16(is64Bit() ? C_Invalid : IMAGE_FILE_32BIT_MACHINE), in createNullThunk()
460 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk()
473 u32((is64Bit() ? IMAGE_SCN_ALIGN_8BYTES : IMAGE_SCN_ALIGN_4BYTES) | in createNullThunk()
481 if (is64Bit()) in createNullThunk()
486 if (is64Bit()) in createNullThunk()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Subtarget.h195 return hasCX16() && is64Bit(); in canUseCMPXCHG16B()
199 bool canUseCMOV() const { return hasCMOV() || hasSSE1() || is64Bit(); } in canUseCMOV()
228 bool canUseLAHFSAHF() const { return hasLAHFSAHF64() || !is64Bit(); } in canUseLAHFSAHF()
280 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
285 bool hasCLFLUSH() const { return hasSSE2() || is64Bit(); } in hasCLFLUSH()
290 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
309 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
310 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
H A DX86Subtarget.cpp83 if (is64Bit()) { in classifyLocalReference()
158 if (is64Bit()) { in classifyGlobalReference()
211 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
219 is64Bit()) in classifyGlobalFunctionReference()
222 if (!is64Bit() && !GV && TM.getRelocationModel() == Reloc::Static) in classifyGlobalFunctionReference()
227 if (is64Bit()) { in classifyGlobalFunctionReference()
340 else if (is64Bit()) in X86Subtarget()
H A DX86ArgumentStackSlotRebase.cpp79 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : &X86::GR32_ArgRefRegClass; in getArgBaseReg()
93 RC = STI.is64Bit() ? &X86::GR64_ArgRefRegClass : nullptr; in getArgBaseReg()
165 TII->get(STI.is64Bit() ? X86::PLEA64r : X86::PLEA32r), ArgBaseReg) in runOnMachineFunction()
H A DX86ISelLoweringCall.cpp263 if (Subtarget.is64Bit()) { in getByValTypeAlignment()
435 if (Subtarget.is64Bit()) in markLibCallAttributes()
473 if (!Subtarget.is64Bit()) in getPICJumpTableRelocBase()
488 (Subtarget.is64Bit() && in getPICJumpTableRelocBaseExpr()
524 if (Subtarget.is64Bit()) in getAddressSpace()
816 if (Subtarget.is64Bit()) { in LowerReturn()
1412 assert(Subtarget.is64Bit()); in get64BitArgumentGPRs()
1431 assert(Subtarget.is64Bit()); in get64BitArgumentXMMs()
1485 bool is64Bit() const { return Subtarget.is64Bit(); } in is64Bit() function in __anon6fe0ccd90211::VarArgsLoweringHelper
1515 if (is64Bit()) { in createVarArgAreaAndStoreRegisters()
[all …]
H A DX86TargetMachine.cpp172 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local
183 if (is64Bit) in getEffectiveRelocModel()
187 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel()
197 if (is64Bit) in getEffectiveRelocModel()
205 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DRISCVTargetParser.cpp32 bool is64Bit() const { return DefaultMarch.starts_with("rv64"); } in is64Bit() function
58 return Info->is64Bit() == IsRV64; in parseCPU()
84 if (IsRV64 == C.is64Bit()) in fillValidCPUArchList()
91 if (IsRV64 == C.is64Bit()) in fillValidTuneCPUArchList()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCAsmInfo.cpp20 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
25 if (is64Bit) { in PPCELFMCAsmInfo()
51 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()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp361 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function in __anon266617410111::XCOFFObjectWriter
844 if (is64Bit()) { in writeSymbolEntry()
865 if (is64Bit()) { in writeSymbolAuxCsectEntry()
878 if (!is64Bit()) in writeSymbolAuxDwarfEntry()
881 if (is64Bit()) { in writeSymbolAuxDwarfEntry()
958 if (is64Bit()) in writeSymbolAuxFunctionEntry()
963 if (!is64Bit()) in writeSymbolAuxFunctionEntry()
966 if (is64Bit()) { in writeSymbolAuxFunctionEntry()
990 if (is64Bit()) { in writeFileHeader()
1039 if (is64Bit()) { in writeSectionHeader()
[all …]
H A DMachObjectWriter.cpp159 if (is64Bit()) in writeHeader()
187 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
195 if (is64Bit()) { in writeSegmentLoadCommand()
238 if (is64Bit()) { in writeSection()
253 if (is64Bit()) in writeSection()
402 if (is64Bit()) in writeNlist()
423 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument
428 return alignTo(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
746 unsigned Log2Size = is64Bit() ? 3 : 2; in populateAddrSigSection()
791 uint64_t LoadCommandsSize = is64Bit() ? in writeObject()
[all …]
H A DELFObjectWriter.cpp143 bool is64Bit() const;
160 if (is64Bit()) in WriteWord()
393 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter
394 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
446 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Ehdr) in writeHeader()
453 W.write<uint16_t>(is64Bit() ? sizeof(ELF::Elf64_Shdr) in writeHeader()
646 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
859 if (is64Bit()) { in maybeWriteCompression()
919 Section.setAlignment(is64Bit() ? Align(8) : Align(4)); in writeSectionData()
957 if (is64Bit()) { in writeRelocations()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp38 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
44 if (!is64Bit) in computeDataLayout()
52 if (is64Bit) in computeDataLayout()
57 if (is64Bit) in computeDataLayout()
110 TLOF(std::make_unique<SparcELFTargetObjectFile>()), is64Bit(is64bit) { in SparcTargetMachine()
144 this->is64Bit); in getSubtargetImpl()
H A DSparcSubtarget.cpp51 bool is64Bit) in SparcSubtarget() argument
54 TargetTriple(TM.getTargetTriple()), Is64Bit(is64Bit), in SparcSubtarget()
60 if (is64Bit()) { in getAdjustedFrameSize()
H A DSparcSubtarget.h83 bool is64Bit() const { return Is64Bit; } in is64Bit() function
88 return is64Bit() ? 2047 : 0; in getStackPointerBias()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp117 if (Obj.is64Bit()) { in printFileHeaders()
139 if (Obj.is64Bit()) in printAuxiliaryHeader()
146 if (Obj.is64Bit()) in printSectionHeaders()
194 if (Obj.is64Bit()) { in printLoaderSectionHeader()
267 if (Obj.is64Bit()) in printLoaderSectionSymbols()
397 if (Obj.is64Bit()) in printLoaderSectionRelocationEntries()
444 if (Obj.is64Bit()) in printExceptionSection()
451 if (Obj.is64Bit()) in printRelocations()
539 if (Obj.is64Bit()) { in printFileAuxEnt()
584 if (Obj.is64Bit()) { in printCsectAuxEnt()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h63 bool is64Bit() const { return Is64Bit; } in is64Bit() function
132 StringTable(TargetObjectWriter->is64Bit() ? StringTableBuilder::MachO64 in MachObjectWriter()
172 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DTapiFile.h53 bool is64Bit() const override { return MachO::is64Bit(Arch); } in is64Bit() function
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.h163 bool is64Bit() const { return IsRV64; } in is64Bit() function
165 return is64Bit() ? MVT::i64 : MVT::i32; in getXLenVT()
168 return is64Bit() ? 64 : 32; in getXLen()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchSubtarget.h95 bool is64Bit() const { return HasLA64; } in is64Bit() function
112 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.cpp131 return TM.is64Bit() ? NVPTX::VRFrame64 : NVPTX::VRFrame32; in getFrameRegister()
138 return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; in getFrameLocalRegister()

123456