/external/llvm-project/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 63 VersionTuple Version; 68 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() 71 void set(Kind kind, VersionTuple version) { in set() 77 const VersionTuple &getVersion() const { return Version; } in getVersion() 102 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch() 109 (getVersion() >= VersionTuple(10, 0)) && in isLegacyDispatchDefaultForArch() 110 (getVersion() < VersionTuple(10, 6))) in isLegacyDispatchDefaultForArch() 145 return getVersion() >= VersionTuple(10, 7); in allowsARC() 163 case FragileMacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC() 164 case MacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC() [all …]
|
D | AlignedAllocation.h | 24 inline llvm::VersionTuple alignedAllocMinVersion(llvm::Triple::OSType OS) { in alignedAllocMinVersion() 30 return llvm::VersionTuple(10U, 14U); in alignedAllocMinVersion() 33 return llvm::VersionTuple(11U); in alignedAllocMinVersion() 35 return llvm::VersionTuple(4U); in alignedAllocMinVersion() 37 return llvm::VersionTuple(); // All z/OS versions have no support. in alignedAllocMinVersion()
|
D | Cuda.h | 15 class VersionTuple; variable 117 CudaVersion ToCudaVersion(llvm::VersionTuple); 118 bool CudaFeatureEnabled(llvm::VersionTuple, CudaFeature);
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | VersionTuple.h | 27 class VersionTuple { 40 VersionTuple() in VersionTuple() function 44 explicit VersionTuple(unsigned Major) in VersionTuple() function 48 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() function 52 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() function 56 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, in VersionTuple() function 92 VersionTuple withoutBuild() const { in withoutBuild() 94 return VersionTuple(Major, Minor, Subminor); in withoutBuild() 100 friend bool operator==(const VersionTuple &X, const VersionTuple &Y) { 109 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | VersionTuple.h | 26 class VersionTuple { 39 VersionTuple() in VersionTuple() function 43 explicit VersionTuple(unsigned Major) in VersionTuple() function 47 explicit VersionTuple(unsigned Major, unsigned Minor) in VersionTuple() function 51 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor) in VersionTuple() function 55 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, in VersionTuple() function 91 VersionTuple withoutBuild() const { in withoutBuild() 93 return VersionTuple(Major, Minor, Subminor); in withoutBuild() 99 friend bool operator==(const VersionTuple &X, const VersionTuple &Y) { 108 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) { [all …]
|
/external/clang/include/clang/Basic/ |
D | ObjCRuntime.h | 61 VersionTuple Version; 67 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() 70 void set(Kind kind, VersionTuple version) { in set() 76 const VersionTuple &getVersion() const { return Version; } in getVersion() 101 if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) { in isLegacyDispatchDefaultForArch() 108 (getVersion() >= VersionTuple(10, 0)) && in isLegacyDispatchDefaultForArch() 109 (getVersion() < VersionTuple(10, 6))) in isLegacyDispatchDefaultForArch() 144 return getVersion() >= VersionTuple(10, 7); in allowsARC() 162 case FragileMacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC() 163 case MacOSX: return getVersion() >= VersionTuple(10, 7); in hasNativeARC() [all …]
|
D | VersionTuple.h | 26 class VersionTuple { 41 VersionTuple() in VersionTuple() function 45 explicit VersionTuple(unsigned Major) in VersionTuple() function 49 explicit VersionTuple(unsigned Major, unsigned Minor, 55 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, 61 explicit VersionTuple(unsigned Major, unsigned Minor, unsigned Subminor, 107 friend bool operator==(const VersionTuple& X, const VersionTuple &Y) { 116 friend bool operator!=(const VersionTuple &X, const VersionTuple &Y) { 124 friend bool operator<(const VersionTuple &X, const VersionTuple &Y) { 133 friend bool operator>(const VersionTuple &X, const VersionTuple &Y) { [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | VersionTupleTest.cpp | 14 TEST(VersionTuple, getAsString) { in TEST() argument 15 EXPECT_EQ("0", VersionTuple().getAsString()); in TEST() 16 EXPECT_EQ("1", VersionTuple(1).getAsString()); in TEST() 17 EXPECT_EQ("1.2", VersionTuple(1, 2).getAsString()); in TEST() 18 EXPECT_EQ("1.2.3", VersionTuple(1, 2, 3).getAsString()); in TEST() 19 EXPECT_EQ("1.2.3.4", VersionTuple(1, 2, 3, 4).getAsString()); in TEST() 22 TEST(VersionTuple, tryParse) { in TEST() argument 23 VersionTuple VT; in TEST()
|
/external/llvm-project/lldb/unittests/Platform/ |
D | PlatformDarwinTest.cpp | 26 llvm::VersionTuple V; in TEST() 30 EXPECT_EQ(llvm::VersionTuple(1, 2, 3), V); in TEST() 34 EXPECT_EQ(llvm::VersionTuple(2, 3), V); in TEST() 38 EXPECT_EQ(llvm::VersionTuple(3), V); in TEST() 42 EXPECT_EQ(llvm::VersionTuple(1, 2, 3), V); in TEST() 46 EXPECT_EQ(llvm::VersionTuple(2, 3, 4), V); in TEST() 50 EXPECT_EQ(llvm::VersionTuple(3, 4, 5), V); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | VersionTuple.cpp | 18 std::string VersionTuple::getAsString() const { in getAsString() 27 raw_ostream &llvm::operator<<(raw_ostream &Out, const VersionTuple &V) { in operator <<() 60 bool VersionTuple::tryParse(StringRef input) { in tryParse() 68 *this = VersionTuple(major); in tryParse() 80 *this = VersionTuple(major, minor); in tryParse() 92 *this = VersionTuple(major, minor, micro); in tryParse() 107 *this = VersionTuple(major, minor, micro, build); in tryParse()
|
/external/llvm-project/llvm/lib/Support/ |
D | VersionTuple.cpp | 21 std::string VersionTuple::getAsString() const { in getAsString() 30 raw_ostream &llvm::operator<<(raw_ostream &Out, const VersionTuple &V) { in operator <<() 63 bool VersionTuple::tryParse(StringRef input) { in tryParse() 71 *this = VersionTuple(major); in tryParse() 83 *this = VersionTuple(major, minor); in tryParse() 95 *this = VersionTuple(major, minor, micro); in tryParse() 110 *this = VersionTuple(major, minor, micro, build); in tryParse()
|
/external/clang/lib/Basic/ |
D | VersionTuple.cpp | 19 std::string VersionTuple::getAsString() const { in getAsString() 29 const VersionTuple &V) { in operator <<() 59 bool VersionTuple::tryParse(StringRef input) { in tryParse() 66 *this = VersionTuple(major); in tryParse() 76 *this = VersionTuple(major, minor); in tryParse() 86 *this = VersionTuple(major, minor, micro); in tryParse() 98 *this = VersionTuple(major, minor, micro, build); in tryParse()
|
D | ObjCRuntime.cpp | 38 if (value.getVersion() > VersionTuple(0)) { in operator <<() 59 Version = VersionTuple(0); in tryParse() 71 Version = VersionTuple(1, 6); in tryParse() 77 Version = VersionTuple(0, 8); in tryParse() 89 if (kind == ObjCRuntime::ObjFW && Version > VersionTuple(0, 8)) in tryParse() 90 Version = VersionTuple(0, 8); in tryParse()
|
/external/llvm-project/lldb/source/Host/netbsd/ |
D | HostInfoNetBSD.cpp | 23 llvm::VersionTuple HostInfoNetBSD::GetOSVersion() { in GetOSVersion() 28 return llvm::VersionTuple(); in GetOSVersion() 36 return llvm::VersionTuple(major); in GetOSVersion() 38 return llvm::VersionTuple(major, minor); in GetOSVersion() 40 return llvm::VersionTuple(major, minor, update); in GetOSVersion() 42 return llvm::VersionTuple(); in GetOSVersion()
|
/external/llvm-project/clang/lib/Basic/ |
D | ObjCRuntime.cpp | 42 if (value.getVersion() > VersionTuple(0)) { in operator <<() 63 Version = VersionTuple(0); in tryParse() 75 Version = VersionTuple(1, 6); in tryParse() 81 Version = VersionTuple(0, 8); in tryParse() 93 if (kind == ObjCRuntime::ObjFW && Version > VersionTuple(0, 8)) in tryParse() 94 Version = VersionTuple(0, 8); in tryParse()
|
/external/llvm-project/lldb/source/Utility/ |
D | XcodeSDK.cpp | 90 static llvm::VersionTuple ParseSDKVersion(llvm::StringRef &name) { in ParseSDKVersion() 101 llvm::VersionTuple version; in ParseSDKVersion() 127 llvm::VersionTuple XcodeSDK::GetVersion() const { in GetVersion() 206 llvm::VersionTuple version) { in SDKSupportsModules() 209 return version >= llvm::VersionTuple(10, 10); in SDKSupportsModules() 214 return version >= llvm::VersionTuple(8); in SDKSupportsModules() 217 return version >= llvm::VersionTuple(6); in SDKSupportsModules() 229 return info.version.empty() || info.version >= llvm::VersionTuple(10, 10); in SupportsSwift() 232 return info.version.empty() || info.version >= llvm::VersionTuple(8); in SupportsSwift() 235 return info.version.empty() || info.version >= llvm::VersionTuple(9); in SupportsSwift() [all …]
|
/external/llvm-project/lldb/source/Host/openbsd/ |
D | HostInfoOpenBSD.cpp | 19 llvm::VersionTuple HostInfoOpenBSD::GetOSVersion() { in GetOSVersion() 24 return llvm::VersionTuple(); in GetOSVersion() 28 return llvm::VersionTuple(major, minor); in GetOSVersion() 29 return llvm::VersionTuple(); in GetOSVersion()
|
/external/llvm-project/lldb/source/Host/freebsd/ |
D | HostInfoFreeBSD.cpp | 20 llvm::VersionTuple HostInfoFreeBSD::GetOSVersion() { in GetOSVersion() 25 return llvm::VersionTuple(); in GetOSVersion() 29 return llvm::VersionTuple(major, minor); in GetOSVersion() 30 return llvm::VersionTuple(); in GetOSVersion()
|
/external/llvm-project/lldb/unittests/Utility/ |
D | XcodeSDKTest.cpp | 31 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetVersion(), llvm::VersionTuple()); in TEST() 32 EXPECT_EQ(XcodeSDK("MacOSX10.9.sdk").GetVersion(), llvm::VersionTuple(10, 9)); in TEST() 33 EXPECT_EQ(XcodeSDK("MacOSX10.15.4.sdk").GetVersion(), llvm::VersionTuple(10, 15)); in TEST() 37 llvm::VersionTuple(10, 15)); in TEST() 40 EXPECT_EQ(XcodeSDK().GetVersion(), llvm::VersionTuple()); in TEST() 52 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(1, 1)); in TEST() 54 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(2, 0)); in TEST() 56 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(2, 0)); in TEST() 168 info.version = llvm::VersionTuple(10, 9); in TEST() 173 info.version = llvm::VersionTuple(7, 0); in TEST()
|
/external/llvm-project/clang/include/clang/Driver/ |
D | DarwinSDKInfo.h | 23 DarwinSDKInfo(llvm::VersionTuple Version) : Version(Version) {} in DarwinSDKInfo() 25 const llvm::VersionTuple &getVersion() const { return Version; } in getVersion() 28 llvm::VersionTuple Version;
|
/external/llvm-project/clang/include/clang/AST/ |
D | Availability.h | 34 VersionTuple Version; 42 AvailabilitySpec(VersionTuple Version, StringRef Platform, in AvailabilitySpec() 51 VersionTuple getVersion() const { return Version; } in getVersion()
|
/external/llvm-project/lldb/source/Host/windows/ |
D | HostInfoWindows.cpp | 58 llvm::VersionTuple HostInfoWindows::GetOSVersion() { in GetOSVersion() 70 return llvm::VersionTuple(); in GetOSVersion() 73 return llvm::VersionTuple(info.dwMajorVersion, info.dwMinorVersion, in GetOSVersion() 79 llvm::VersionTuple version = GetOSVersion(); in GetOSBuildString()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | XcodeSDK.h | 46 llvm::VersionTuple version; 77 llvm::VersionTuple GetVersion() const; 84 static bool SDKSupportsModules(Type type, llvm::VersionTuple version);
|
/external/llvm-project/lldb/include/lldb/Symbol/ |
D | ObjectFile.h | 572 virtual llvm::VersionTuple GetVersion() { return llvm::VersionTuple(); } in GetVersion() 583 virtual llvm::VersionTuple GetMinimumOSVersion() { in GetMinimumOSVersion() 584 return llvm::VersionTuple(); in GetMinimumOSVersion() 593 virtual llvm::VersionTuple GetSDKVersion() { return llvm::VersionTuple(); } in GetSDKVersion()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/ELF/ |
D | TBEHandler.h | 27 class VersionTuple; variable 33 const VersionTuple TBEVersionCurrent(1, 0);
|