Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/llvm-7.0/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, T.getArch()); in TEST()
97 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST()
103 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST()
109 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
115 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
121 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
127 EXPECT_EQ(Triple::ppc, T.getArch()); in TEST()
133 EXPECT_EQ(Triple::ppc64, T.getArch()); in TEST()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DTriple.h285 ArchType getArch() const { return Arch; } in getArch() function
609 return getArch() == Triple::x86_64 && in isPS4CPU()
645 return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; in isNVPTX()
650 return getArch() == Triple::thumb || getArch() == Triple::thumbeb; in isThumb()
655 return getArch() == Triple::arm || getArch() == Triple::armeb; in isARM()
660 return getArch() == Triple::aarch64 || getArch() == Triple::aarch64_be; in isAArch64()
665 return getArch() == Triple::mips || getArch() == Triple::mipsel; in isMIPS32()
670 return getArch() == Triple::mips64 || getArch() == Triple::mips64el; in isMIPS64()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp112 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString()
116 if (T.getArch() == Triple::ppc64le) in getDataLayoutString()
149 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions()
195 switch (TT.getArch()) { in computeTargetABI()
215 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) in getEffectiveRelocModel()
228 (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le)) in getEffectiveCodeModel()
404 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
DPPCSubtarget.cpp53 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget()
54 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget()
120 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures()
159 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
/external/swiftshader/third_party/llvm-7.0/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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp41 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin()
86 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo()
126 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft()
153 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoGNUCOFF()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCObjectFileInfo.cpp31 if (T.getArch() == Triple::aarch64) in useCompactUnwind()
44 (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86)) in useCompactUnwind()
60 if (T.isOSDarwin() && T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
136 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo()
198 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86) in initMachOMCObjectFileInfo()
200 else if (T.getArch() == Triple::aarch64) in initMachOMCObjectFileInfo()
202 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo()
295 switch (T.getArch()) { in initELFMCObjectFileInfo()
319 switch (T.getArch()) { in initELFMCObjectFileInfo()
469 unsigned EHSectionType = T.getArch() == Triple::x86_64 in initELFMCObjectFileInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUMCTargetDesc.cpp60 if (TT.getArch() == Triple::r600) in createAMDGPUMCRegisterInfo()
69 if (TT.getArch() == Triple::r600) in createAMDGPUMCSubtargetInfo()
79 if (T.getArch() == Triple::r600) in createAMDGPUMCInstPrinter()
DAMDGPUMCAsmInfo.cpp17 CodePointerSize = (TT.getArch() == Triple::amdgcn) ? 8 : 4; in AMDGPUMCAsmInfo()
22 MaxInstLength = (TT.getArch() == Triple::amdgcn) ? 8 : 16; in AMDGPUMCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTriple.cpp620 switch (T.getArch()) { in getDefaultFormat()
1086 Major = (getArch() == aarch64) ? 7 : 5; in getiOSVersion()
1246 return getArchPointerBitWidth(getArch()) == 64; in isArch64Bit()
1250 return getArchPointerBitWidth(getArch()) == 32; in isArch32Bit()
1254 return getArchPointerBitWidth(getArch()) == 16; in isArch16Bit()
1259 switch (getArch()) { in get32BitArchVariant()
1323 switch (getArch()) { in get64BitArchVariant()
1390 switch (getArch()) { in getBigEndianArchVariant()
1445 switch (getArch()) { in getLittleEndianArchVariant()
1473 switch (getArch()) { in isLittleEndian()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp97 if (TT.getArch() == Triple::x86_64) in createTLOF()
165 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel()
224 getEffectiveCodeModel(CM, JIT, TT.getArch() == Triple::x86_64), OL), in X86TargetMachine()
235 if ((TT.isOSWindows() && TT.getArch() == Triple::x86_64) || TT.isPS4() || in X86TargetMachine()
242 if (TT.getArch() == Triple::x86_64) in X86TargetMachine()
462 if (TT.isOSWindows() && TT.getArch() == Triple::x86) in addPreISel()
/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()

1234567891011