Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCAsmInfo.cpp21 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit, const Triple& T) { in PPCMCAsmInfoDarwin() argument
22 if (is64Bit) { in PPCMCAsmInfoDarwin()
31 if (!is64Bit) in PPCMCAsmInfoDarwin()
48 PPCELFMCAsmInfo::PPCELFMCAsmInfo(bool is64Bit, const Triple& T) { in PPCELFMCAsmInfo() argument
53 if (is64Bit) { in PPCELFMCAsmInfo()
78 Data64bitsDirective = is64Bit ? "\t.quad\t" : nullptr; in PPCELFMCAsmInfo()
H A DPPCMCAsmInfo.h27 explicit PPCMCAsmInfoDarwin(bool is64Bit, const Triple &);
34 explicit PPCELFMCAsmInfo(bool is64Bit, const Triple &);
H A DPPCELFObjectWriter.cpp261 if (is64Bit()) in getRelocType()
276 if (is64Bit()) in getRelocType()
375 if (is64Bit()) in getRelocType()
381 if (is64Bit()) in getRelocType()
387 if (is64Bit()) in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCAsmInfo.cpp41 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() local
42 if (is64Bit) in X86MCAsmInfoDarwin()
49 if (!is64Bit) in X86MCAsmInfoDarwin()
86 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() local
92 CodePointerSize = (is64Bit && !isX32) ? 8 : 4; in X86ELFMCAsmInfo()
95 CalleeSaveStackSlotSize = is64Bit ? 8 : 4; in X86ELFMCAsmInfo()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcTargetMachine.cpp30 static std::string computeDataLayout(const Triple &T, bool is64Bit) { in computeDataLayout() argument
36 if (!is64Bit) in computeDataLayout()
44 if (is64Bit) in computeDataLayout()
49 if (is64Bit) in computeDataLayout()
102 Subtarget(TT, CPU, FS, *this, is64bit), is64Bit(is64bit) { in SparcTargetMachine()
137 this->is64Bit); in getSubtargetImpl()
H A DSparcSubtarget.cpp70 bool is64Bit) in SparcSubtarget() argument
71 : SparcGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT), Is64Bit(is64Bit), in SparcSubtarget()
77 if (is64Bit()) { in getAdjustedFrameSize()
H A DSparcSubtarget.h108 bool is64Bit() const { return Is64Bit; } in is64Bit() function
113 return is64Bit() ? 2047 : 0; in getStackPointerBias()
H A DSparcRegisterInfo.cpp68 if (!Subtarget.is64Bit()) in getReservedRegs()
83 if (ReserveAppRegisters || !Subtarget.is64Bit()) in getReservedRegs()
109 return Subtarget.is64Bit() ? &SP::I64RegsRegClass : &SP::IntRegsRegClass; in getPointerRegClass()
H A DSparcISelLowering.cpp202 if (Subtarget->is64Bit()) in LowerReturn()
373 if (Subtarget->is64Bit()) in LowerFormalArguments()
689 if (Subtarget->is64Bit()) in LowerCall()
1428 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1501 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1553 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1596 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1668 if (Subtarget->is64Bit()) { in SparcTargetLowering()
1800 if (!Subtarget->is64Bit()) in SparcTargetLowering()
2204 bool is64Bit = Subtarget->is64Bit(); in LowerF128Compare() local
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMachObjectWriter.cpp156 if (is64Bit()) in writeHeader()
184 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
192 if (is64Bit()) { in writeSegmentLoadCommand()
235 if (is64Bit()) { in writeSection()
251 if (is64Bit()) in writeSection()
400 if (is64Bit()) in writeNlist()
421 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument
426 return alignTo(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
753 uint64_t LoadCommandsSize = is64Bit() ? in writeObject()
775 uint64_t LOHSize = alignTo(LOHRawSize, is64Bit() ? 8 : 4); in writeObject()
[all …]
H A DELFObjectWriter.cpp156 bool is64Bit() const;
172 if (is64Bit()) in WriteWord()
400 bool ELFWriter::is64Bit() const { in is64Bit() function in ELFWriter
401 return OWriter.TargetObjectWriter->is64Bit(); in is64Bit()
615 SymbolTableWriter Writer(*this, is64Bit()); in computeSymbolTable()
621 SymtabSection->setAlignment(is64Bit() ? 8 : 4); in computeSymbolTable()
803 RelaSection->setAlignment(is64Bit() ? 8 : 4); in createRelocationSection()
817 if (is64Bit()) { in maybeWriteCompression()
927 if (is64Bit()) { in writeRelocations()
1210 uint64_t NaturalAlignment = is64Bit() ? 8 : 4; in writeObject()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86Subtarget.cpp75 if (is64Bit()) { in classifyLocalReference()
150 if (is64Bit()) { in classifyGlobalReference()
188 if (is64Bit() && F && (CallingConv::X86_RegCall == F->getCallingConv())) in classifyGlobalFunctionReference()
196 is64Bit()) in classifyGlobalFunctionReference()
201 if (is64Bit()) { in classifyGlobalFunctionReference()
334 else if (is64Bit()) in X86Subtarget()
H A DX86Subtarget.h522 bool is64Bit() const { in is64Bit() function
553 bool hasCMov() const { return HasCMov || X86SSELevel >= SSE1 || is64Bit(); } in hasCMov()
702 bool isXRaySupported() const override { return is64Bit(); } in isXRaySupported()
719 bool hasMFence() const { return hasSSE2() || is64Bit(); } in hasMFence()
738 bool isTargetNaCl32() const { return isTargetNaCl() && !is64Bit(); } in isTargetNaCl32()
739 bool isTargetNaCl64() const { return isTargetNaCl() && is64Bit(); } in isTargetNaCl64()
H A DX86TargetMachine.cpp155 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() local
166 if (is64Bit) in getEffectiveRelocModel()
170 if (TT.isOSWindows() && is64Bit) in getEffectiveRelocModel()
180 if (is64Bit) in getEffectiveRelocModel()
188 if (*RM == Reloc::Static && TT.isOSDarwin() && is64Bit) in getEffectiveRelocModel()
H A DX86MCInstLower.cpp99 MF->getSubtarget<X86Subtarget>().is64Bit(), STI); in emitShadowPadding()
349 if (Printer.getSubtarget().is64Bit()) in SimplifyShortMoveForm()
397 return Subtarget.is64Bit() ? X86::RETQ : X86::RETL; in getRetOpcode()
539 unsigned ReturnReg = Subtarget.is64Bit() ? X86::RAX : X86::EAX; in Lower()
576 if (!AsmPrinter.getSubtarget().is64Bit()) { in Lower()
888 EmitNops(*OutStreamer, PatchBytes, Subtarget->is64Bit(), in LowerSTATEPOINT()
971 bool Is64Bits = Subtarget->is64Bit(); in LowerFENTRY_CALL()
1084 EmitNops(*OutStreamer, NumBytes - EncodedBytes, Subtarget->is64Bit(), in LowerPATCHPOINT()
1298 EmitNops(*OutStreamer, 9, Subtarget->is64Bit(), getSubtargetInfo()); in LowerPATCHABLE_FUNCTION_ENTER()
1328 EmitNops(*OutStreamer, 10, Subtarget->is64Bit(), getSubtargetInfo()); in LowerPATCHABLE_RET()
[all …]
H A DX86ExpandPseudo.cpp292 TII->get(STI->is64Bit() ? X86::IRET64 : X86::IRET32)); in ExpandMI()
302 TII->get(STI->is64Bit() ? X86::RETQ : X86::RETL)); in ExpandMI()
305 TII->get(STI->is64Bit() ? X86::RETIQ : X86::RETIL)) in ExpandMI()
308 assert(!STI->is64Bit() && in ExpandMI()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.cpp112 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString() local
125 if (!is64Bit || T.getOS() == Triple::Lv2) in getDataLayoutString()
130 if (is64Bit || !T.isOSDarwin()) in getDataLayoutString()
136 if (is64Bit) in getDataLayoutString()
H A DPPCMIPeephole.cpp537 auto is64Bit = [] (unsigned Opcode) { in simplifyCode() local
543 auto getSextLoadOp = [] (bool is64Bit, bool isXForm) { in simplifyCode() argument
544 if (is64Bit) in simplifyCode()
551 unsigned Opc = getSextLoadOp(is64Bit(MI.getOpcode()), in simplifyCode()
581 auto is64Bit = [] (unsigned Opcode) { in simplifyCode() local
587 auto getSextLoadOp = [] (bool is64Bit, bool isXForm) { in simplifyCode() argument
588 if (is64Bit) in simplifyCode()
595 unsigned Opc = getSextLoadOp(is64Bit(MI.getOpcode()), in simplifyCode()
H A DPPCRegisterInfo.cpp554 bool is64Bit = TM.isPPC64(); in lowerDynamicAreaOffset() local
556 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::LI8 : PPC::LI), in lowerDynamicAreaOffset()
977 bool is64Bit = TM.isPPC64(); in eliminateFrameIndex() local
980 const TargetRegisterClass *RC = is64Bit ? G8RC : GPRC; in eliminateFrameIndex()
986 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::LI8 : PPC::LI), SReg) in eliminateFrameIndex()
989 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::LIS8 : PPC::LIS), SRegHi) in eliminateFrameIndex()
991 BuildMI(MBB, II, dl, TII.get(is64Bit ? PPC::ORI8 : PPC::ORI), SReg) in eliminateFrameIndex()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h61 bool is64Bit() const { return Is64Bit; } in is64Bit() function
167 bool is64Bit() const { return TargetObjectWriter->is64Bit(); } in is64Bit() function
H A DMCWasmObjectWriter.h41 bool is64Bit() const { return Is64Bit; } in is64Bit() function
/freebsd-12.1/contrib/llvm/lib/Object/
H A DMachOObjectFile.cpp175 if (O.is64Bit()) { in getSectionFlags()
1221 if (is64Bit()) { in MachOObjectFile()
1635 if (is64Bit()) { in checkSymbolTable()
1730 if (is64Bit()) { in getNValue()
1872 if (is64Bit()) in getSectionAddress()
1889 if (is64Bit()) { in getSectionSize()
1915 if (is64Bit()) { in getSectionContents()
1931 if (is64Bit()) { in getSectionAlignment()
2008 if (is64Bit()) in isSectionStripped()
2023 if (is64Bit()) { in section_rel_end()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCV.td50 def IsRV64 : Predicate<"Subtarget->is64Bit()">,
52 def IsRV32 : Predicate<"!Subtarget->is64Bit()">,
H A DRISCVSubtarget.h80 bool is64Bit() const { return HasRV64; } in is64Bit() function
/freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/
H A DStubsPass.cpp254 new (_file.allocator()) NonLazyPointerAtom(_file, _ctx.is64Bit(), in perform()
257 new (_file.allocator()) NonLazyPointerAtom(_file, _ctx.is64Bit(), in perform()
297 new (_file.allocator()) LazyPointerAtom(_file, _ctx.is64Bit()); in perform()

1234