Home
last modified time | relevance | path

Searched refs:getArch (Results 1 – 25 of 152) sorted by relevance

1234567

/external/llvm/unittests/ADT/
DTripleTest.cpp79 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
85 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
91 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST()
97 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST()
103 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
109 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
115 EXPECT_EQ(Triple::ppc64, T.getArch()); in TEST()
121 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
127 EXPECT_EQ(Triple::ppc64, T.getArch()); in TEST()
133 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp22 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo()
23 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo()
26 if ((TheTriple.getArch() == Triple::mips64el) || in MipsMCAsmInfo()
27 (TheTriple.getArch() == Triple::mips64)) { in MipsMCAsmInfo()
47 if (TheTriple.getArch() == Triple::mips || in MipsMCAsmInfo()
48 TheTriple.getArch() == Triple::mipsel) in MipsMCAsmInfo()
/external/clang/lib/Driver/
DToolChain.cpp193 switch (Triple.getArch()) { in getDefaultUniversalArchName()
276 if (Triple.isWindowsMSVCEnvironment() && TC.getArch() == llvm::Triple::x86) in getArchNameForCompilerRTLib()
279 if (TC.getArch() == llvm::Triple::arm || TC.getArch() == llvm::Triple::armeb) in getArchNameForCompilerRTLib()
383 switch (HostTriple.getArch()) { in isCrossCompiling()
390 return getArch() != llvm::Triple::arm && getArch() != llvm::Triple::thumb && in isCrossCompiling()
391 getArch() != llvm::Triple::armeb && getArch() != llvm::Triple::thumbeb; in isCrossCompiling()
393 return HostTriple.getArch() != getArch(); in isCrossCompiling()
405 return Triple.getArch() == llvm::Triple::arm || in isThreadModelSupported()
406 Triple.getArch() == llvm::Triple::armeb || in isThreadModelSupported()
407 Triple.getArch() == llvm::Triple::thumb || in isThreadModelSupported()
[all …]
DCrossWindowsToolChain.cpp35 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault()
39 return getArch() == llvm::Triple::x86_64; in isPICDefault()
43 return getArch() == llvm::Triple::x86_64; in isPIEDefault()
47 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
DToolChains.cpp154 switch (getTriple().getArch()) { in getMachOArchName()
265 if (isTargetMacOS() && getArch() == llvm::Triple::x86) in AddLinkARCArgs()
463 getTriple().getArch() != llvm::Triple::aarch64) in AddLinkRuntimeLibArgs()
488 if (getTriple().getArch() == llvm::Triple::x86) in AddLinkRuntimeLibArgs()
632 if (getTriple().getArch() == llvm::Triple::arm || in AddDeploymentTarget()
633 getTriple().getArch() == llvm::Triple::aarch64 || in AddDeploymentTarget()
634 getTriple().getArch() == llvm::Triple::thumb) in AddDeploymentTarget()
705 if (iOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()
706 getTriple().getArch() == llvm::Triple::x86_64)) in AddDeploymentTarget()
708 if (TvOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()
[all …]
DMinGWToolChain.cpp123 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault()
126 bool MinGW::isPICDefault() const { return getArch() == llvm::Triple::x86_64; } in isPICDefault()
131 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
135 return getArch() == llvm::Triple::x86_64; in UseSEHExceptions()
DMSVCToolChain.cpp80 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault()
84 return getArch() == llvm::Triple::x86_64; in isPICDefault()
92 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
325 switch (getArch()) { in getWindowsSDKLibraryPath()
339 const StringRef archName = getWindowsSDKArch(getArch()); in getWindowsSDKLibraryPath()
379 StringRef ArchName = getWindowsSDKArch(getArch()); in getUniversalCRTLibraryPath()
456 switch (getArch()) { in getVisualStudioBinariesFolder()
814 bool SupportsForcingFramePointer = getArch() == llvm::Triple::x86; in TranslateArgs()
DTools.cpp75 if (Triple.getArch() == llvm::Triple::sparcv9) { in getSparcAsmModeForCPU()
598 switch (Triple.getArch()) { in isSignedCharDefault()
627 switch (Triple.getArch()) { in isNoCommonDefault()
1235 switch (Triple.getArch()) { in getMipsCPUAndABI()
1275 if (Triple.getArch() == llvm::Triple::mips || in getMipsCPUAndABI()
1276 Triple.getArch() == llvm::Triple::mipsel) in getMipsCPUAndABI()
1576 !(Triple.getArch() == llvm::Triple::ppc64 || in getPPCTargetFeatures()
1577 Triple.getArch() == llvm::Triple::ppc64le)) in getPPCTargetFeatures()
1580 (Triple.getArch() == llvm::Triple::ppc64 || in getPPCTargetFeatures()
1581 Triple.getArch() == llvm::Triple::ppc64le)) in getPPCTargetFeatures()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ADT/
DTripleTest.cpp79 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
85 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST()
91 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
97 EXPECT_EQ(Triple::arm, T.getArch()); in TEST()
103 EXPECT_EQ(Triple::UnknownArch, T.getArch()); in TEST()
230 EXPECT_EQ(Triple::UnknownArch, T.getArch()); in TEST()
236 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
240 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
245 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
251 EXPECT_EQ(Triple::x86, T.getArch()); in TEST()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp22 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
23 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp52 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
84 if (T.getArch() == Triple::x86_64) in X86ELFMCAsmInfo()
107 if (T.getOS() == Triple::OpenBSD && T.getArch() == Triple::x86) in X86ELFMCAsmInfo()
129 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoCOFF()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp55 (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le); in createPPCMCRegisterInfo()
71 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo()
72 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo()
93 (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le)) in adjustCodeGenOpts()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp45 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
90 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo()
130 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft()
157 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoGNUCOFF()
/external/llvm/lib/MC/
DMCObjectFileInfo.cpp29 if (T.getArch() == Triple::aarch64) in useCompactUnwind()
42 (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86)) in useCompactUnwind()
58 if (T.isOSDarwin() && T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
134 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo()
206 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86) in initMachOMCObjectFileInfo()
208 else if (T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
210 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
287 switch (T.getArch()) { in initELFMCObjectFileInfo()
306 switch (T.getArch()) { in initELFMCObjectFileInfo()
452 unsigned EHSectionType = T.getArch() == Triple::x86_64 in initELFMCObjectFileInfo()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp87 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString()
91 if (T.getArch() == Triple::ppc64le) in getDataLayoutString()
124 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions()
168 switch (TT.getArch()) { in computeTargetABI()
388 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
DPPCSubtarget.cpp53 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget()
54 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget()
117 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures()
146 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
DPPCTargetMachine.h57 return (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le); in isPPC64()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/MCTargetDesc/
DMipsMCAsmInfo.cpp21 if ((TheTriple.getArch() == Triple::mips) || in MipsMCAsmInfo()
22 (TheTriple.getArch() == Triple::mips64)) in MipsMCAsmInfo()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLibraryInfo.cpp42 if (T.getArch() != Triple::xcore && T.getArch() != Triple::tce) { in initialize()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCAsmInfo.cpp24 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo()
25 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestAPICommon.h59 if (std::find(SupportedArchs.begin(), SupportedArchs.end(), Host.getArch()) in ArchSupportsMCJIT()
64 if (std::find(HasSubArchs.begin(), HasSubArchs.end(), Host.getArch()) in ArchSupportsMCJIT()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp311 In64BitMode(TargetTriple.getArch() == Triple::x86_64), in X86Subtarget()
312 In32BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
314 In16BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DTriple.h270 ArchType getArch() const { return Arch; } in getArch() function
581 return getArch() == Triple::x86_64 && in isPS4CPU()
604 return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; in isNVPTX()
/external/llvm/include/llvm/ADT/
DTriple.h262 ArchType getArch() const { return Arch; } in getArch() function
564 return getArch() == Triple::x86_64 && in isPS4CPU()
587 return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; in isNVPTX()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.h117 bool isThumb = TT.getArch() == Triple::thumb || in getISAEncoding()
118 TT.getArch() == Triple::thumbeb || in getISAEncoding()

1234567