/external/llvm/unittests/ADT/ |
D | TripleTest.cpp | 79 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Triple.h | 297 ArchType getArch() const { return Arch; } in getArch() function 650 return getArch() == Triple::x86_64 && in isPS4CPU() 686 return getArch() == Triple::spir || getArch() == Triple::spir64; in isSPIR() 691 return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; in isNVPTX() 696 return getArch() == Triple::thumb || getArch() == Triple::thumbeb; in isThumb() 701 return getArch() == Triple::arm || getArch() == Triple::armeb; in isARM() 706 return getArch() == Triple::aarch64 || getArch() == Triple::aarch64_be; in isAArch64() 711 return getArch() == Triple::mips || getArch() == Triple::mipsel; in isMIPS32() 716 return getArch() == Triple::mips64 || getArch() == Triple::mips64el; in isMIPS64() 726 return getArch() == Triple::ppc64 || getArch() == Triple::ppc64le; in isPPC64() [all …]
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCAsmInfo.cpp | 22 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/ |
D | ToolChain.cpp | 193 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 …]
|
D | CrossWindowsToolChain.cpp | 35 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()
|
D | ToolChains.cpp | 154 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 …]
|
D | MinGWToolChain.cpp | 123 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()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 22 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-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 21 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin() 22 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin() 47 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo() 48 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUMCAsmInfo.cpp | 20 CodePointerSize = (TT.getArch() == Triple::amdgcn) ? 8 : 4; in AMDGPUMCAsmInfo() 28 MaxInstLength = (TT.getArch() == Triple::amdgcn) ? 20 : 16; in AMDGPUMCAsmInfo() 56 if (!STI || STI->getTargetTriple().getArch() == Triple::r600) in getMaxInstLength()
|
D | AMDGPUMCTargetDesc.cpp | 61 if (TT.getArch() == Triple::r600) in createAMDGPUMCRegisterInfo() 70 if (TT.getArch() == Triple::r600) in createAMDGPUMCSubtargetInfo() 80 if (T.getArch() == Triple::r600) in createAMDGPUMCInstPrinter()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCAsmInfo.cpp | 45 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCAsmInfo.cpp | 40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() 85 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() 125 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft() 152 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoGNUCOFF()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 55 (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/MC/ |
D | MCObjectFileInfo.cpp | 29 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/ |
D | PPCTargetMachine.cpp | 87 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()
|
D | PPCSubtarget.cpp | 53 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-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.cpp | 127 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString() 131 if (T.getArch() == Triple::ppc64le) in getDataLayoutString() 164 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions() 214 switch (TT.getArch()) { in computeTargetABI() 234 if (TT.getArch() == Triple::ppc64) in getEffectiveRelocModel() 471 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
|
D | PPCSubtarget.cpp | 57 IsPPC64(TargetTriple.getArch() == Triple::ppc64 || in PPCSubtarget() 58 TargetTriple.getArch() == Triple::ppc64le), in PPCSubtarget() 128 if (TargetTriple.getArch() == Triple::ppc64le) in initSubtargetFeatures() 174 IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le); in initSubtargetFeatures()
|
D | PPCTargetMachine.h | 59 return (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le); in isPPC64()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | MCObjectFileInfo.cpp | 31 if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in useCompactUnwind() 60 (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32)) in initMachOMCObjectFileInfo() 132 Triple::ArchType ArchTy = T.getArch(); in initMachOMCObjectFileInfo() 196 else if (T.getArch() == Triple::aarch64 || T.getArch() == Triple::aarch64_32) in initMachOMCObjectFileInfo() 198 else if (T.getArch() == Triple::arm || T.getArch() == Triple::thumb) in initMachOMCObjectFileInfo() 301 switch (T.getArch()) { in initELFMCObjectFileInfo() 334 unsigned EHSectionType = T.getArch() == Triple::x86_64 in initELFMCObjectFileInfo() 341 if (T.isOSSolaris() && T.getArch() != Triple::x86_64) in initELFMCObjectFileInfo() 503 const bool IsThumb = T.getArch() == Triple::thumb; in initCOFFMCObjectFileInfo() 526 if (T.getArch() == Triple::x86_64 || T.getArch() == Triple::aarch64) { in initCOFFMCObjectFileInfo()
|
D | SubtargetFeature.cpp | 73 if (Triple.getArch() == Triple::ppc) { in getDefaultSubtargetFeatures() 76 } else if (Triple.getArch() == Triple::ppc64) { in getDefaultSubtargetFeatures()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Triple.cpp | 654 switch (T.getArch()) { in getDefaultFormat() 1138 Major = (getArch() == aarch64) ? 7 : 5; in getiOSVersion() 1299 return getArchPointerBitWidth(getArch()) == 64; in isArch64Bit() 1303 return getArchPointerBitWidth(getArch()) == 32; in isArch32Bit() 1307 return getArchPointerBitWidth(getArch()) == 16; in isArch16Bit() 1312 switch (getArch()) { in get32BitArchVariant() 1377 switch (getArch()) { in get64BitArchVariant() 1445 switch (getArch()) { in getBigEndianArchVariant() 1500 switch (getArch()) { in getLittleEndianArchVariant() 1528 switch (getArch()) { in isLittleEndian() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetMachine.cpp | 90 if (TT.getArch() == Triple::x86_64) in createTLOF() 161 bool is64Bit = TT.getArch() == Triple::x86_64; in getEffectiveRelocModel() 223 getEffectiveX86CodeModel(CM, JIT, TT.getArch() == Triple::x86_64), in X86TargetMachine() 420 if (TT.getArch() == Triple::x86_64) { in addIRPasses() 474 if (TT.isOSWindows() && TT.getArch() == Triple::x86) in addPreISel() 532 if (TT.isOSWindows() && TT.getArch() == Triple::x86_64) in addPreEmitPass2()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCAsmInfo.cpp | 24 bool isV9 = (TheTriple.getArch() == Triple::sparcv9); in SparcELFMCAsmInfo() 25 IsLittleEndian = (TheTriple.getArch() == Triple::sparcel); in SparcELFMCAsmInfo()
|