/external/llvm-project/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, T.getArch()); in TEST() 97 EXPECT_EQ(Triple::x86, T.getArch()); in TEST() 103 EXPECT_EQ(Triple::x86_64, T.getArch()); in TEST() 109 EXPECT_EQ(Triple::x86_64, 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::ppc, T.getArch()); in TEST() [all …]
|
/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/llvm-project/llvm/include/llvm/ADT/ |
D | Triple.h | 302 ArchType getArch() const { return Arch; } in getArch() function 656 return getArch() == Triple::x86_64 && in isPS4CPU() 692 return getArch() == Triple::spir || getArch() == Triple::spir64; in isSPIR() 697 return getArch() == Triple::nvptx || getArch() == Triple::nvptx64; in isNVPTX() 701 bool isAMDGCN() const { return getArch() == Triple::amdgcn; } in isAMDGCN() 704 return getArch() == Triple::r600 || getArch() == Triple::amdgcn; in isAMDGPU() 709 return getArch() == Triple::thumb || getArch() == Triple::thumbeb; in isThumb() 714 return getArch() == Triple::arm || getArch() == Triple::armeb; in isARM() 719 return getArch() == Triple::aarch64 || getArch() == Triple::aarch64_be || in isAArch64() 720 getArch() == Triple::aarch64_32; in isAArch64() [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()
|
/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/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCAsmInfo.cpp | 21 if ((TheTriple.getArch() == Triple::armeb) || in ARMMCAsmInfoDarwin() 22 (TheTriple.getArch() == Triple::thumbeb)) in ARMMCAsmInfoDarwin() 45 if ((TheTriple.getArch() == Triple::armeb) || in ARMELFMCAsmInfo() 46 (TheTriple.getArch() == Triple::thumbeb)) in ARMELFMCAsmInfo()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | Linux.cpp | 51 switch (TargetTriple.getArch()) { in getMultiarchTriple() 197 if (Triple.getArch() == llvm::Triple::x86 || in getOSLibDir() 198 Triple.getArch() == llvm::Triple::ppc || in getOSLibDir() 199 Triple.getArch() == llvm::Triple::sparc) in getOSLibDir() 202 if (Triple.getArch() == llvm::Triple::x86_64 && in getOSLibDir() 206 if (Triple.getArch() == llvm::Triple::riscv32) in getOSLibDir() 217 llvm::Triple::ArchType Arch = Triple.getArch(); in Linux() 415 const llvm::Triple::ArchType Arch = getArch(); in getDynamicLinker() 657 switch (getTriple().getArch()) { in AddClangSystemIncludeArgs() 838 const bool IsX86 = getTriple().getArch() == llvm::Triple::x86; in getSupportedSanitizers() [all …]
|
D | NetBSD.cpp | 37 switch (getToolChain().getArch()) { in ConstructJob() 145 switch (ToolChain.getArch()) { in ConstructJob() 189 if (ToolChain.getArch() == llvm::Triple::mips64) in ConstructJob() 195 if (ToolChain.getArch() == llvm::Triple::mips64) in ConstructJob() 272 switch (ToolChain.getArch()) { in ConstructJob() 357 switch (Triple.getArch()) { in NetBSD() 410 switch (getArch()) { in GetDefaultCXXStdlibType() 461 llvm::Triple::ArchType TArch = getTriple().getArch(); in GetExceptionModel() 469 const bool IsX86 = getTriple().getArch() == llvm::Triple::x86; in getSupportedSanitizers() 470 const bool IsX86_64 = getTriple().getArch() == llvm::Triple::x86_64; in getSupportedSanitizers() [all …]
|
D | CrossWindows.cpp | 34 switch (TC.getArch()) { in ConstructJob() 95 switch (TC.getArch()) { in ConstructJob() 116 switch (T.getArch()) { in ConstructJob() 198 CmdArgs.push_back(Args.MakeArgString(TC.getArch() == llvm::Triple::x86 in ConstructJob() 219 return getArch() == llvm::Triple::x86_64; in IsUnwindTablesDefault() 223 return getArch() == llvm::Triple::x86_64; in isPICDefault() 227 return getArch() == llvm::Triple::x86_64; in isPIEDefault() 231 return getArch() == llvm::Triple::x86_64; in isPICDefaultForced()
|
/external/llvm-project/llvm/lib/BinaryFormat/ |
D | MachO.cpp | 88 if (T.getArch() == Triple::ppc) in getCPUType() 90 if (T.getArch() == Triple::ppc64) in getCPUType() 102 if (T.isAArch64() || T.getArch() == Triple::aarch64_32) in getCPUSubType() 104 if (T.getArch() == Triple::ppc || T.getArch() == Triple::ppc64) in getCPUSubType()
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | AMDGPU.h | 55 return getTriple().getArch() == llvm::Triple::amdgcn || in hasFP64() 66 return getTriple().getArch() == llvm::Triple::amdgcn; in hasFastFMA() 70 return getTriple().getArch() == llvm::Triple::amdgcn || in hasFMAF() 79 return getTriple().getArch() == llvm::Triple::amdgcn || in hasLDEXPF() 84 return TT.getArch() == llvm::Triple::amdgcn; in isAMDGCN() 88 return TT.getArch() == llvm::Triple::r600; in isR600() 113 return getTriple().getArch() == llvm::Triple::amdgcn ? 64 : 32; in getMaxPointerWidth() 266 if (getTriple().getArch() == llvm::Triple::amdgcn) in isValidCPUName() 274 if (getTriple().getArch() == llvm::Triple::amdgcn) { in setCPU()
|
/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()
|
/external/llvm-project/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() 58 if (!STI || STI->getTargetTriple().getArch() == Triple::r600) in getMaxInstLength()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.cpp | 130 bool is64Bit = T.getArch() == Triple::ppc64 || T.getArch() == Triple::ppc64le; in getDataLayoutString() 134 if (T.getArch() == Triple::ppc64le) in getDataLayoutString() 162 if ((T.getArch() == Triple::ppc64le || T.getArch() == Triple::ppc64) && in getDataLayoutString() 174 if (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le) { in computeFSAdditions() 224 switch (TT.getArch()) { in computeTargetABI() 247 if (TT.getArch() == Triple::ppc64 || TT.isOSAIX()) in getEffectiveRelocModel() 492 if (TM->getTargetTriple().getArch() == Triple::ppc64le && in addMachineSSAOptimization()
|
/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/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCAsmInfo.cpp | 40 bool is64Bit = T.getArch() == Triple::x86_64; in X86MCAsmInfoDarwin() 83 bool is64Bit = T.getArch() == Triple::x86_64; in X86ELFMCAsmInfo() 119 if (Triple.getArch() == Triple::x86_64) { in X86MCAsmInfoMicrosoft() 154 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-project/lldb/unittests/Utility/ |
D | ArchSpecTest.cpp | 119 EXPECT_EQ(llvm::Triple::x86, AS.GetTriple().getArch()); in TEST() 145 EXPECT_EQ(llvm::Triple::ArchType::x86_64, B.GetTriple().getArch()); in TEST() 152 EXPECT_EQ(llvm::Triple::ArchType::x86_64, A.GetTriple().getArch()); in TEST() 169 EXPECT_EQ(llvm::Triple::ArchType::aarch64, B.GetTriple().getArch()); in TEST() 177 EXPECT_EQ(llvm::Triple::ArchType::aarch64, A.GetTriple().getArch()); in TEST() 184 EXPECT_EQ(llvm::Triple::ArchType::aarch64_32, D.GetTriple().getArch()); in TEST() 190 EXPECT_EQ(llvm::Triple::ArchType::aarch64_32, C.GetTriple().getArch()); in TEST() 205 EXPECT_EQ(llvm::Triple::ArchType::arm, B.GetTriple().getArch()); in TEST() 213 EXPECT_EQ(llvm::Triple::ArchType::arm, A.GetTriple().getArch()); in TEST() 227 EXPECT_EQ(llvm::Triple::ArchType::arm, A.GetTriple().getArch()); in TEST() [all …]
|
/external/llvm-project/clang/lib/Driver/ |
D | ToolChain.cpp | 234 switch (Triple.getArch()) { in getDefaultUniversalArchName() 375 if (TC.getArch() == llvm::Triple::arm || TC.getArch() == llvm::Triple::armeb) in getArchNameForCompilerRTLib() 381 if (TC.getArch() == llvm::Triple::x86 && Triple.isAndroid()) in getArchNameForCompilerRTLib() 384 return llvm::Triple::getArchTypeName(TC.getArch()); in getArchNameForCompilerRTLib() 513 llvm::Triple::getArchTypeName(getArch())); in getArchSpecificLibPath() 650 switch (HostTriple.getArch()) { in isCrossCompiling() 657 return getArch() != llvm::Triple::arm && getArch() != llvm::Triple::thumb && in isCrossCompiling() 658 getArch() != llvm::Triple::armeb && getArch() != llvm::Triple::thumbeb; in isCrossCompiling() 660 return HostTriple.getArch() != getArch(); in isCrossCompiling() 677 return Triple.getArch() == llvm::Triple::arm || in isThreadModelSupported() [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()
|