Home
last modified time | relevance | path

Searched refs:Is64Bit (Results 1 – 25 of 123) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchBaseInfo.cpp54 bool Is64Bit = TT.isArch64Bit(); in getTripleABI() local
58 TripleABI = Is64Bit ? ABI_LP64S : ABI_ILP32S; in getTripleABI()
61 TripleABI = Is64Bit ? ABI_LP64F : ABI_ILP32F; in getTripleABI()
66 TripleABI = Is64Bit ? ABI_LP64D : ABI_ILP32D; in getTripleABI()
74 bool Is64Bit = TT.isArch64Bit(); in computeTargetABI() local
83 return !Is64Bit; in computeTargetABI()
85 return !Is64Bit && FeatureBits[LoongArch::FeatureBasicF]; in computeTargetABI()
87 return !Is64Bit && FeatureBits[LoongArch::FeatureBasicD]; in computeTargetABI()
89 return Is64Bit; in computeTargetABI()
91 return Is64Bit && FeatureBits[LoongArch::FeatureBasicF]; in computeTargetABI()
[all …]
H A DLoongArchELFObjectWriter.cpp23 LoongArchELFObjectWriter(uint8_t OSABI, bool Is64Bit, bool EnableRelax);
39 LoongArchELFObjectWriter::LoongArchELFObjectWriter(uint8_t OSABI, bool Is64Bit, in getRelocType()
41 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_LOONGARCH, in getRelocType()
100 llvm::createLoongArchELFObjectWriter(uint8_t OSABI, bool Is64Bit, bool Relax) {
101 return std::make_unique<LoongArchELFObjectWriter>(OSABI, Is64Bit, Relax);
33 LoongArchELFObjectWriter(uint8_t OSABI,bool Is64Bit) LoongArchELFObjectWriter() argument
90 createLoongArchELFObjectWriter(uint8_t OSABI,bool Is64Bit) createLoongArchELFObjectWriter() argument
H A DLoongArchAsmBackend.h30 bool Is64Bit; variable
35 LoongArchAsmBackend(const MCSubtargetInfo &STI, uint8_t OSABI, bool Is64Bit, in LoongArchAsmBackend() argument
39 STI(STI), OSABI(OSABI), Is64Bit(Is64Bit), TargetOptions(Options) {} in LoongArchAsmBackend()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DDecompressor.cpp22 bool IsLE, bool Is64Bit) { in create() argument
24 if (Error Err = D.consumeCompressedHeader(Is64Bit, IsLE)) in create()
32 Error Decompressor::consumeCompressedHeader(bool Is64Bit, bool IsLittleEndian) { in consumeCompressedHeader() argument
34 uint64_t HdrSize = Is64Bit ? sizeof(Elf64_Chdr) : sizeof(Elf32_Chdr); in consumeCompressedHeader()
40 auto ChType = Extractor.getUnsigned(&Offset, Is64Bit ? sizeof(Elf64_Word) in consumeCompressedHeader()
57 if (Is64Bit) in consumeCompressedHeader()
61 &Offset, Is64Bit ? sizeof(Elf64_Xword) : sizeof(Elf32_Word)); in consumeCompressedHeader()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFObjectWriter.cpp26 X86WinCOFFObjectWriter(bool Is64Bit);
36 X86WinCOFFObjectWriter::X86WinCOFFObjectWriter(bool Is64Bit) in X86WinCOFFObjectWriter() argument
37 : MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64 in X86WinCOFFObjectWriter()
45 const bool Is64Bit = getMachine() == COFF::IMAGE_FILE_MACHINE_AMD64; in getRelocType() local
53 (FixupKind == FK_Data_8 && Is64Bit)) { in getRelocType()
64 if (Is64Bit) { in getRelocType()
118 llvm::createX86WinCOFFObjectWriter(bool Is64Bit) { in createX86WinCOFFObjectWriter() argument
119 return std::make_unique<X86WinCOFFObjectWriter>(Is64Bit); in createX86WinCOFFObjectWriter()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DRISCV.cpp135 bool Is64Bit = getTriple().isRISCV64(); in getTargetDefines() local
136 Builder.defineMacro("__riscv_xlen", Is64Bit ? "64" : "32"); in getTargetDefines()
184 if (Is64Bit) in getTargetDefines()
220 if (Is64Bit) in getTargetDefines()
318 bool Is64Bit = getTriple().isRISCV64(); in hasFeature() local
321 .Case("riscv32", !Is64Bit) in hasFeature()
322 .Case("riscv64", Is64Bit) in hasFeature()
323 .Case("32bit", !Is64Bit) in hasFeature()
324 .Case("64bit", Is64Bit) in hasFeature()
371 bool Is64Bit = getTriple().isArch64Bit(); in isValidCPUName() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LegalizerInfo.cpp
H A DX86RegisterInfo.cpp56 Is64Bit = TT.isArch64Bit(); in X86RegisterInfo()
57 IsWin64 = Is64Bit && TT.isOSWindows(); in X86RegisterInfo()
62 if (Is64Bit) { in X86RegisterInfo()
89 if (!Is64Bit && Idx == X86::sub_8bit) in getSubClassWithSubReg()
101 if (!Is64Bit && SubIdx == X86::sub_8bit) { in getMatchingSuperRegClass()
193 if (Is64Bit) { in getPointerRegClass()
241 else if (Is64Bit) in getGPRsForTailCall()
253 if (Is64Bit) in getCrossCopyRegClass()
275 return Is64Bit ? 10 : 4; in getRegPressureLimit()
322 if (Is64Bit) in getCalleeSavedRegs()
[all …]
H A DX86IndirectThunks.cpp134 bool Is64Bit = MF.getTarget().getTargetTriple().getArch() == Triple::x86_64; in populateThunk() local
136 if (Is64Bit) { in populateThunk()
204 const unsigned CallOpc = Is64Bit ? X86::CALL64pcrel32 : X86::CALLpcrel32; in populateThunk()
205 const unsigned RetOpc = Is64Bit ? X86::RET64 : X86::RET32; in populateThunk()
234 const unsigned MovOpc = Is64Bit ? X86::MOV64mr : X86::MOV32mr; in populateThunk()
235 const Register SPReg = Is64Bit ? X86::RSP : X86::ESP; in populateThunk()
H A DX86DynAllocaExpander.cpp190 static unsigned getSubOpcode(bool Is64Bit) { in getSubOpcode() argument
191 if (Is64Bit) in getSubOpcode()
209 bool Is64Bit = STI->is64Bit(); in lower() local
224 unsigned RegA = Is64Bit ? X86::RAX : X86::EAX; in lower()
225 BuildMI(*MBB, I, DL, TII->get(Is64Bit ? X86::PUSH64r : X86::PUSH32r)) in lower()
238 unsigned RegA = Is64Bit ? X86::RAX : X86::EAX; in lower()
239 BuildMI(*MBB, I, DL, TII->get(Is64Bit ? X86::PUSH64r : X86::PUSH32r)) in lower()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOLayoutBuilder.h58 bool Is64Bit; variable
76 bool Is64Bit);
79 MachOLayoutBuilder(Object &O, bool Is64Bit, StringRef OutputFileName, in MachOLayoutBuilder() argument
81 : O(O), Is64Bit(Is64Bit), OutputFileName(OutputFileName), in MachOLayoutBuilder()
83 StrTableBuilder(getStringTableBuilderKind(O, Is64Bit)) {} in MachOLayoutBuilder()
H A DMachOWriter.h26 bool Is64Bit; variable
62 MachOWriter(Object &O, bool Is64Bit, bool IsLittleEndian, in MachOWriter() argument
64 : O(O), Is64Bit(Is64Bit), IsLittleEndian(IsLittleEndian), in MachOWriter()
66 LayoutBuilder(O, Is64Bit, OutputFileName, PageSize) {} in MachOWriter()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchSubtarget.cpp30 bool Is64Bit = TT.isArch64Bit(); in initializeSubtargetDependencies() local
32 CPU = Is64Bit ? "generic-la64" : "generic-la32"; in initializeSubtargetDependencies()
39 if (Is64Bit) { in initializeSubtargetDependencies()
47 if (Is64Bit && HasLA32) in initializeSubtargetDependencies()
50 if (!Is64Bit && HasLA64) in initializeSubtargetDependencies()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86LegalizerInfo.cpp34 bool Is64Bit = Subtarget.is64Bit(); in X86LegalizerInfo() local
91 (Is64Bit && typeInSet(0, {s128})(Query)); in X86LegalizerInfo()
97 (Is64Bit && typeInSet(0, {s64})(Query)); in X86LegalizerInfo()
142 if (Is64Bit && typeInSet(0, {s64})(Query)) in X86LegalizerInfo()
169 (Is64Bit && typePairInSet(0, 1, {{s64, s1}})(Query)); in X86LegalizerInfo()
181 if (Is64Bit && typeInSet(0, {s64})(Query)) in X86LegalizerInfo()
212 (Is64Bit && typeInSet(0, {s64})(Query)); in X86LegalizerInfo()
222 (Is64Bit && typeInSet(0, {s64})(Query)); in X86LegalizerInfo()
231 (Is64Bit && typePairInSet(0, 1, {{s64, s8}})(Query)); in X86LegalizerInfo()
241 if (Is64Bit && typeInSet(0, {s64})(Query)) in X86LegalizerInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp21 AMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, bool HasRelocationAddend);
31 AMDGPUELFObjectWriter::AMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI,
33 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_AMDGPU, in AMDGPUELFObjectWriter()
99 llvm::createAMDGPUELFObjectWriter(bool Is64Bit, uint8_t OSABI, in createAMDGPUELFObjectWriter()
101 return std::make_unique<AMDGPUELFObjectWriter>(Is64Bit, OSABI, in createAMDGPUELFObjectWriter()
32 AMDGPUELFObjectWriter(bool Is64Bit,uint8_t OSABI,bool HasRelocationAddend,uint8_t ABIVersion) AMDGPUELFObjectWriter() argument
98 createAMDGPUELFObjectWriter(bool Is64Bit,uint8_t OSABI,bool HasRelocationAddend,uint8_t ABIVersion) createAMDGPUELFObjectWriter() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyAsmBackend.cpp33 bool Is64Bit; member in __anone9d166bf0111::WebAssemblyAsmBackend
37 explicit WebAssemblyAsmBackend(bool Is64Bit, bool IsEmscripten) in WebAssemblyAsmBackend() argument
38 : MCAsmBackend(llvm::endianness::little), Is64Bit(Is64Bit), in WebAssemblyAsmBackend()
115 return createWebAssemblyWasmObjectWriter(Is64Bit, IsEmscripten); in createObjectTargetWriter()
H A DWebAssemblyWasmObjectWriter.cpp34 explicit WebAssemblyWasmObjectWriter(bool Is64Bit, bool IsEmscripten);
43 WebAssemblyWasmObjectWriter::WebAssemblyWasmObjectWriter(bool Is64Bit, in WebAssemblyWasmObjectWriter() argument
45 : MCWasmObjectTargetWriter(Is64Bit, IsEmscripten) {} in WebAssemblyWasmObjectWriter()
164 llvm::createWebAssemblyWasmObjectWriter(bool Is64Bit, bool IsEmscripten) { in createWebAssemblyWasmObjectWriter() argument
165 return std::make_unique<WebAssemblyWasmObjectWriter>(Is64Bit, IsEmscripten); in createWebAssemblyWasmObjectWriter()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstr64Bit.td17 let Predicates = [Is64Bit] in {
24 } // Predicates = [Is64Bit]
37 let Predicates = [Is64Bit] in {
49 } // Predicates = [Is64Bit]
65 Requires<[Is64Bit]>;
80 Requires<[Is64Bit]>;
98 Requires<[Is64Bit]>;
139 Requires<[Is64Bit]>;
146 let Predicates = [Is64Bit] in {
173 } // Predicates = [Is64Bit]
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCXCOFFObjectTargetWriter.cpp13 MCXCOFFObjectTargetWriter::MCXCOFFObjectTargetWriter(bool Is64Bit) in MCXCOFFObjectTargetWriter() argument
14 : Is64Bit(Is64Bit) {} in MCXCOFFObjectTargetWriter()
H A DMCWasmObjectTargetWriter.cpp13 MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit, in MCWasmObjectTargetWriter() argument
15 : Is64Bit(Is64Bit), IsEmscripten(IsEmscripten) {} in MCWasmObjectTargetWriter()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCXCOFFObjectWriter.cpp25 PPCXCOFFObjectWriter(bool Is64Bit);
33 PPCXCOFFObjectWriter::PPCXCOFFObjectWriter(bool Is64Bit) in PPCXCOFFObjectWriter() argument
34 : MCXCOFFObjectTargetWriter(Is64Bit) {} in PPCXCOFFObjectWriter()
37 llvm::createPPCXCOFFObjectWriter(bool Is64Bit) { in createPPCXCOFFObjectWriter() argument
38 return std::make_unique<PPCXCOFFObjectWriter>(Is64Bit); in createPPCXCOFFObjectWriter()
H A DPPCMCAsmInfo.cpp58 PPCXCOFFMCAsmInfo::PPCXCOFFMCAsmInfo(bool Is64Bit, const Triple &T) {
61 CodePointerSize = CalleeSaveStackSlotSize = Is64Bit ? 8 : 4; in PPCXCOFFMCAsmInfo()
64 Data64bitsDirective = Is64Bit ? "\t.vbyte\t8, " : nullptr; in PPCXCOFFMCAsmInfo()
59 PPCXCOFFMCAsmInfo(bool Is64Bit,const Triple & T) PPCXCOFFMCAsmInfo() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp242 bool Is64Bit = in expandNormalLoops() local
253 unsigned ADDIOpcode = Is64Bit ? PPC::ADDI8 : PPC::ADDI; in expandNormalLoops()
254 unsigned CMPOpcode = Is64Bit ? PPC::CMPLDI : PPC::CMPLWI; in expandNormalLoops()
257 MRI->createVirtualRegister(Is64Bit ? &PPC::G8RC_and_G8RC_NOX0RegClass in expandNormalLoops()
269 MRI->createVirtualRegister(Is64Bit ? &PPC::G8RC_and_G8RC_NOX0RegClass in expandNormalLoops()
319 bool Is64Bit = in expandCTRLoops() local
331 unsigned BDNZOpcode = Is64Bit ? PPC::BDNZ8 : PPC::BDNZ; in expandCTRLoops()
332 unsigned BDZOpcode = Is64Bit ? PPC::BDZ8 : PPC::BDZ; in expandCTRLoops()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp39 Is64Bit = Obj.Header.Magic == (llvm::yaml::Hex16)XCOFF::XCOFF64; in XCOFFWriter()
72 bool Is64Bit = false; member in __anonb16345390111::XCOFFWriter
106 return (SymbolName.size() > XCOFF::NameSize) || Is64Bit; in nameShouldBeInStringTable()
112 uint64_t RelSize = Is64Bit ? XCOFF::RelocationSerializationSize64 in initRelocations()
220 unsigned Mask = Is64Bit ? XCOFFSectionHeader64::SectionFlagsTypeMask in initSectionHeaders()
406 Is64Bit ? XCOFF::FileHeaderSize64 : XCOFF::FileHeaderSize32; in assignAddressesAndIndices()
416 (Is64Bit ? XCOFF::AuxFileHeaderSize64 : XCOFF::AuxFileHeaderSize32); in assignAddressesAndIndices()
418 Is64Bit ? XCOFF::SectionHeaderSize64 : XCOFF::SectionHeaderSize32; in assignAddressesAndIndices()
444 if (Is64Bit) { in writeFileHeader()
464 if (Is64Bit) { in writeAuxFileHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFObjectWriter.cpp24 RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit);
43 RISCVELFObjectWriter::RISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit) in RISCVELFObjectWriter() argument
44 : MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_RISCV, in RISCVELFObjectWriter()
151 llvm::createRISCVELFObjectWriter(uint8_t OSABI, bool Is64Bit) { in getRelocType()
152 return std::make_unique<RISCVELFObjectWriter>(OSABI, Is64Bit); in getRelocType()
176 createRISCVELFObjectWriter(uint8_t OSABI,bool Is64Bit) createRISCVELFObjectWriter() argument

12345