Home
last modified time | relevance | path

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

12345

/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::ppc, T.getArch()); in TEST()
103 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
109 EXPECT_EQ(Triple::ppc64, T.getArch()); in TEST()
115 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
121 EXPECT_EQ(Triple::ppc64, T.getArch()); in TEST()
127 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
133 EXPECT_EQ(Triple::arm, T.getArch()); in TEST()
[all …]
/external/clang/lib/Driver/
DToolChain.cpp192 switch (Triple.getArch()) { in getDefaultUniversalArchName()
275 if (Triple.isWindowsMSVCEnvironment() && TC.getArch() == llvm::Triple::x86) in getArchNameForCompilerRTLib()
278 if (TC.getArch() == llvm::Triple::arm || TC.getArch() == llvm::Triple::armeb) in getArchNameForCompilerRTLib()
375 switch (HostTriple.getArch()) { in isCrossCompiling()
382 return getArch() != llvm::Triple::arm && getArch() != llvm::Triple::thumb && in isCrossCompiling()
383 getArch() != llvm::Triple::armeb && getArch() != llvm::Triple::thumbeb; in isCrossCompiling()
385 return HostTriple.getArch() != getArch(); in isCrossCompiling()
397 return Triple.getArch() == llvm::Triple::arm || in isThreadModelSupported()
398 Triple.getArch() == llvm::Triple::armeb || in isThreadModelSupported()
399 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.cpp143 switch (getTriple().getArch()) { in getMachOArchName()
254 if (isTargetMacOS() && getArch() == llvm::Triple::x86) in AddLinkARCArgs()
433 getTriple().getArch() != llvm::Triple::aarch64) in AddLinkRuntimeLibArgs()
458 if (getTriple().getArch() == llvm::Triple::x86) in AddLinkRuntimeLibArgs()
605 if (getTriple().getArch() == llvm::Triple::arm || in AddDeploymentTarget()
606 getTriple().getArch() == llvm::Triple::aarch64 || in AddDeploymentTarget()
607 getTriple().getArch() == llvm::Triple::thumb) in AddDeploymentTarget()
678 if (iOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()
679 getTriple().getArch() == llvm::Triple::x86_64)) in AddDeploymentTarget()
681 if (TvOSVersion && (getTriple().getArch() == llvm::Triple::x86 || in AddDeploymentTarget()
[all …]
DMinGWToolChain.cpp117 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault()
120 bool MinGW::isPICDefault() const { return getArch() == llvm::Triple::x86_64; } in isPICDefault()
125 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
129 return getArch() == llvm::Triple::x86_64; in UseSEHExceptions()
DMSVCToolChain.cpp74 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault()
78 return getArch() == llvm::Triple::x86_64; in isPICDefault()
86 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
310 switch (getArch()) { in getWindowsSDKLibraryPath()
324 const StringRef archName = getWindowsSDKArch(getArch()); in getWindowsSDKLibraryPath()
364 StringRef ArchName = getWindowsSDKArch(getArch()); in getUniversalCRTLibraryPath()
438 switch (getArch()) { in getVisualStudioBinariesFolder()
644 bool SupportsForcingFramePointer = getArch() == llvm::Triple::x86; in TranslateArgs()
DTools.cpp57 if (Triple.getArch() == llvm::Triple::sparcv9) { in getSparcAsmModeForCPU()
494 switch (Triple.getArch()) { in isSignedCharDefault()
523 switch (Triple.getArch()) { in isNoCommonDefault()
1119 switch (Triple.getArch()) { in getMipsCPUAndABI()
1135 if (Triple.getArch() == llvm::Triple::mips || in getMipsCPUAndABI()
1136 Triple.getArch() == llvm::Triple::mipsel) in getMipsCPUAndABI()
1429 !(Triple.getArch() == llvm::Triple::ppc64 || in getPPCTargetFeatures()
1430 Triple.getArch() == llvm::Triple::ppc64le)) in getPPCTargetFeatures()
1433 (Triple.getArch() == llvm::Triple::ppc64 || in getPPCTargetFeatures()
1434 Triple.getArch() == llvm::Triple::ppc64le)) in getPPCTargetFeatures()
[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()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp23 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin()
24 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin()
46 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo()
47 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
/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()
DX86MCTargetDesc.cpp47 if (TT.getArch() == Triple::x86_64) in ParseX86Triple()
58 if (TT.getArch() == Triple::x86_64) in getDwarfRegFlavour()
101 unsigned RA = (TT.getArch() == Triple::x86_64) in createX86MCRegisterInfo()
114 bool is64Bit = TheTriple.getArch() == Triple::x86_64; in createX86MCAsmInfo()
160 bool is64Bit = TT.getArch() == Triple::x86_64; in createX86MCCodeGenInfo()
218 if (TheTriple.isOSBinFormatMachO() && TheTriple.getArch() == Triple::x86_64) in createX86MCRelocationInfo()
/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()
200 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86) in initMachOMCObjectFileInfo()
202 else if (T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
204 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
278 switch (T.getArch()) { in initELFMCObjectFileInfo()
297 switch (T.getArch()) { in initELFMCObjectFileInfo()
423 unsigned EHSectionType = T.getArch() == Triple::x86_64 in initELFMCObjectFileInfo()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp56 (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le); in createPPCMCRegisterInfo()
72 bool isPPC64 = (TheTriple.getArch() == Triple::ppc64 || in createPPCMCAsmInfo()
73 TheTriple.getArch() == Triple::ppc64le); in createPPCMCAsmInfo()
103 (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le)) in createPPCMCCodeGenInfo()
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp81 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString()
85 if (T.getArch() == Triple::ppc64le) in getDataLayoutString()
118 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions()
162 switch (TT.getArch()) { in computeTargetABI()
370 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
DPPCSubtarget.cpp53 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget()
54 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget()
113 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures()
142 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
DPPCTargetMachine.h56 return (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le); in isPPC64()
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp39 if (T.getArch() == Triple::x86) in hasSinCosPiStret()
64 if (T.getArch() == Triple::r600 || in initialize()
65 T.getArch() == Triple::amdgcn) { in initialize()
73 if (T.getArch() == Triple::r600 || in initialize()
74 T.getArch() == Triple::amdgcn || in initialize()
75 T.getArch() == Triple::wasm32 || in initialize()
76 T.getArch() == Triple::wasm64) { in initialize()
104 if (T.isMacOSX() && T.getArch() == Triple::x86 && in initialize()
116 if (T.getArch() != Triple::xcore && T.getArch() != Triple::tce) { in initialize()
195 if (T.getArch() == Triple::x86) { in initialize()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.cpp22 switch (T.getArch()) { in createCompileCallbackMgr()
34 switch (T.getArch()) { in createIndirectStubsMgrBuilder()
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp27 Triple T = Obj.getArch(nullptr, &ThumbTriple); in getTriple()
28 return ThumbTriple.getArch() ? ThumbTriple : T; in getTriple()
180 } else if (Obj->getArch() == T.getArch()) in getObjfileForArch()
/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.cpp312 In64BitMode(TargetTriple.getArch() == Triple::x86_64), in X86Subtarget()
313 In32BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
315 In16BitMode(TargetTriple.getArch() == Triple::x86 && in X86Subtarget()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.h116 bool isThumb = TT.getArch() == Triple::thumb || in getISAEncoding()
117 TT.getArch() == Triple::thumbeb || in getISAEncoding()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp51 switch (T.getArch()) { in createCompileCallbackMgr()
63 switch (T.getArch()) { in createIndirectStubsMgrBuilder()
/external/llvm/include/llvm/Object/
DRelocVisitor.h72 switch (ObjToVisit.getArch()) { in visitELF()
148 switch (ObjToVisit.getArch()) { in visitELF()
206 switch (ObjToVisit.getArch()) { in visitCOFF()
229 switch (ObjToVisit.getArch()) { in visitMachO()

12345