Lines Matching +full:x86_64 +full:- +full:6
1 //===--- Triple.cpp - Target triple helper class --------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
86 case x86_64: return "x86_64"; in getArchTypeName()
134 return "dxilv1.6"; in getArchName()
194 case x86_64: return "x86"; in getArchTypePrefix()
436 .Case("x86-64", x86_64) in getArchTypeForLLVMName()
522 if (Profile == ARM::ProfileKind::M && Version == 6) { in parseARMArch()
538 .Cases("amd64", "x86_64", "x86_64h", Triple::x86_64) in parseArch()
590 .Cases("spirv", "spirv1.5", "spirv1.6", Triple::spirv) in parseArch()
593 "spirv32v1.6", Triple::spirv32) in parseArch()
596 "spirv64v1.6", Triple::spirv64) in parseArch()
609 "dxilv1.4", "dxilv1.5", "dxilv1.6", "dxilv1.7", "dxilv1.8", in parseArch()
745 // "xcoff" must come before "coff" because of the order-dependendent in parseFormat()
779 .EndsWith("v1.6", Triple::SPIRVSubArch_v16) in parseSubArch()
790 .EndsWith("v1.6", Triple::DXILSubArch_v1_6) in parseSubArch()
894 case Triple::x86_64: in getDefaultFormat()
988 StringRef(Data).split(Components, '-', /*MaxSplit*/ 3); in Triple()
1023 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr).str()), in Triple()
1039 : Data((ArchStr + Twine('-') + VendorStr + Twine('-') + OSStr + Twine('-') + in Triple()
1057 // than 6.[0...8] or 6.x (which translates to latest current SM version) in getDXILArchNameFromShaderModel()
1058 const unsigned SMMajor = 6; in getDXILArchNameFromShaderModel()
1075 case 6: in getDXILArchNameFromShaderModel()
1093 // DXIL version corresponding to Shader Model version other than 6.Minor in getDXILArchNameFromShaderModel()
1104 Str.split(Components, '-'); in normalize()
1181 // Move the component to the target position, pushing any non-fixed in normalize()
1187 // example, a-b-i386 -> i386-a-b when moving i386 to the front. in normalize()
1198 // that was at this position - it will be moved right. in normalize()
1203 // reaches the target position Pos. For example, pc-a -> -pc-a when in normalize()
1210 // that was at this position - it will be moved right. in normalize()
1219 // The last component was pushed off the end - append it. in normalize()
1235 // If "none" is in the middle component in a three-component triple, treat it in normalize()
1294 // SM 6.Y. E.g., dxilv1.Y-unknown-shadermodelX.Y-hull in normalize()
1305 return join(Components, "-"); in normalize()
1309 return StringRef(Data).split('-').first; // Isolate first component in getArchName()
1313 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component in getVendorName()
1314 return Tmp.split('-').first; // Isolate second component in getVendorName()
1318 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component in getOSName()
1319 Tmp = Tmp.split('-').second; // Strip second component in getOSName()
1320 return Tmp.split('-').first; // Isolate third component in getOSName()
1324 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component in getEnvironmentName()
1325 Tmp = Tmp.split('-').second; // Strip second component in getEnvironmentName()
1326 return Tmp.split('-').second; // Strip third component in getEnvironmentName()
1330 StringRef Tmp = StringRef(Data).split('-').second; // Strip first component in getOSAndEnvironmentName()
1331 return Tmp.split('-').second; // Strip second component in getOSAndEnvironmentName()
1347 // none is a valid environment type - it basically amounts to a freestanding in getEnvironmentVersionString()
1355 if (EnvironmentName.contains("-")) { in getEnvironmentVersionString()
1356 // -obj is the suffix in getEnvironmentVersionString()
1360 const std::string tmp = (Twine("-") + ObjectFormatTypeName).str(); in getEnvironmentVersionString()
1395 Version = VersionTuple(10, Version.getMajor() - 4); in getMacOSXVersion()
1398 Version = VersionTuple(11 + Version.getMajor() - 20); in getMacOSXVersion()
1495 llvm_unreachable("invalid Vulkan SPIR-V triple"); in getVulkanVersion()
1501 // Vulkan 1.2 -> SPIR-V 1.5. in getVulkanVersion()
1503 // Vulkan 1.3 -> SPIR-V 1.6. in getVulkanVersion()
1527 // Tracked by https://github.com/llvm/llvm-project/issues/91388 in getDXILVersion()
1551 setEnvironmentName((getEnvironmentTypeName(Kind) + Twine("-") + in setEnvironment()
1559 setEnvironmentName((getEnvironmentTypeName(Environment) + Twine("-") + in setObjectFormat()
1567 Triple += "-"; in setArchName()
1569 Triple += "-"; in setArchName()
1575 setTriple(getArchName() + "-" + Str + "-" + getOSAndEnvironmentName()); in setVendorName()
1580 setTriple(getArchName() + "-" + getVendorName() + "-" + Str + in setOSName()
1581 "-" + getEnvironmentName()); in setOSName()
1583 setTriple(getArchName() + "-" + getVendorName() + "-" + Str); in setOSName()
1587 setTriple(getArchName() + "-" + getVendorName() + "-" + getOSName() + in setEnvironmentName()
1588 "-" + Str); in setEnvironmentName()
1592 setTriple(getArchName() + "-" + getVendorName() + "-" + Str); in setOSAndEnvironmentName()
1664 case llvm::Triple::x86_64: in getArchPointerBitWidth()
1731 // Already 32-bit. in get32BitArchVariant()
1758 case Triple::x86_64: T.setArch(Triple::x86); break; in get32BitArchVariant()
1808 case Triple::x86_64: in get64BitArchVariant()
1809 // Already 64-bit. in get64BitArchVariant()
1839 case Triple::x86: T.setArch(Triple::x86_64); break; in get64BitArchVariant()
1881 case Triple::x86_64: in getBigEndianArchVariant()
1994 case Triple::x86_64: in isLittleEndian()
2049 return isOSVersionLT(Major - 11 + 20, Minor, Micro); in isMacOSXVersionLT()
2101 static_assert(Triple::Vertex - Triple::Pixel == 1,
2103 static_assert(Triple::Geometry - Triple::Pixel == 2,
2105 static_assert(Triple::Hull - Triple::Pixel == 3,
2107 static_assert(Triple::Domain - Triple::Pixel == 4,
2109 static_assert(Triple::Compute - Triple::Pixel == 5,
2111 static_assert(Triple::Library - Triple::Pixel == 6,
2113 static_assert(Triple::RayGeneration - Triple::Pixel == 7,
2115 static_assert(Triple::Intersection - Triple::Pixel == 8,
2117 static_assert(Triple::AnyHit - Triple::Pixel == 9,
2119 static_assert(Triple::ClosestHit - Triple::Pixel == 10,
2121 static_assert(Triple::Miss - Triple::Pixel == 11,
2123 static_assert(Triple::Callable - Triple::Pixel == 12,
2125 static_assert(Triple::Mesh - Triple::Pixel == 13,
2127 static_assert(Triple::Amplification - Triple::Pixel == 14,