Home
last modified time | relevance | path

Searched refs:VersionTuple (Results 1 – 25 of 53) sorted by relevance

123

/external/clang/include/clang/Basic/
DObjCRuntime.h61 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 …]
DVersionTuple.h26 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DVersionTuple.h26 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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVersionTuple.cpp18 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/clang/lib/Basic/
DVersionTuple.cpp19 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()
DObjCRuntime.cpp38 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()
DCMakeLists.txt89 VersionTuple.cpp
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TextAPI/ELF/
DTBEHandler.h27 class VersionTuple; variable
33 const VersionTuple TBEVersionCurrent(1, 0);
DELFStub.h55 VersionTuple TbeVersion;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCAssembler.h98 VersionTuple SDKVersion;
258 VersionTuple SDKVersion = VersionTuple()) {
268 VersionTuple SDKVersion = VersionTuple()) {
DMCObjectFileInfo.h408 VersionTuple SDKVersion;
420 void setSDKVersion(const VersionTuple &TheSDKVersion) { in setSDKVersion()
424 const VersionTuple &getSDKVersion() const { return SDKVersion; } in getSDKVersion()
DMCStreamer.h473 VersionTuple SDKVersion) {} in EmitVersionMin()
479 VersionTuple SDKVersion) {} in EmitBuildVersion()
482 const VersionTuple &SDKVersion);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
DTBEHandler.cpp73 template <> struct ScalarTraits<VersionTuple> {
74 static void output(const VersionTuple &Value, void *, in output()
79 static StringRef input(StringRef Scalar, void *, VersionTuple &Value) { in input()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp575 void Module::setSDKVersion(const VersionTuple &V) { in setSDKVersion()
589 VersionTuple Module::getSDKVersion() const { in getSDKVersion()
604 VersionTuple Result = VersionTuple(*Major); in getSDKVersion()
606 Result = VersionTuple(*Major, *Minor); in getSDKVersion()
608 Result = VersionTuple(*Major, *Minor, *Subminor); in getSDKVersion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCMachOStreamer.cpp92 unsigned Update, VersionTuple SDKVersion) override;
94 unsigned Update, VersionTuple SDKVersion) override;
273 VersionTuple SDKVersion) { in EmitVersionMin()
279 VersionTuple SDKVersion) { in EmitBuildVersion()
/external/clang/lib/Driver/
DMSVCToolChain.cpp473 VersionTuple MSVCToolChain::getMSVCVersionFromExe() const { in getMSVCVersionFromExe()
474 VersionTuple Version; in getMSVCVersionFromExe()
507 Version = VersionTuple(Major, Minor, Micro); in getMSVCVersionFromExe()
672 VersionTuple MSVT = in ComputeEffectiveClangTriple()
678 MSVT = VersionTuple(MSVT.getMajor(), MSVT.getMinor().getValueOr(0), in ComputeEffectiveClangTriple()
DToolChains.h394 mutable VersionTuple TargetVersion;
436 TargetVersion == VersionTuple(Major, Minor, Micro)) in setTarget()
442 TargetVersion = VersionTuple(Major, Minor, Micro); in setTarget()
498 VersionTuple getTargetVersion() const { in getTargetVersion()
506 return TargetVersion < VersionTuple(V0, V1, V2);
511 return TargetVersion < VersionTuple(V0, V1, V2);
1061 VersionTuple getMSVCVersionFromExe() const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp466 bool parseSDKVersion(VersionTuple &SDKVersion);
1075 bool DarwinAsmParser::parseSDKVersion(VersionTuple &SDKVersion) { in parseSDKVersion()
1081 SDKVersion = VersionTuple(Major, Minor); in parseSDKVersion()
1088 SDKVersion = VersionTuple(Major, Minor, Subminor); in parseSDKVersion()
1131 VersionTuple SDKVersion; in parseVersionMin()
1187 VersionTuple SDKVersion; in parseBuildVersion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h53 class VersionTuple; variable
864 void setSDKVersion(const VersionTuple &V);
869 VersionTuple getSDKVersion() const;
/external/clang/include/clang/Driver/
DToolChain.h433 virtual VersionTuple getMSVCVersionFromExe() const { return VersionTuple(); } in getMSVCVersionFromExe()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProcess.inc459 llvm::VersionTuple llvm::GetWindowsOSVersion() {
467 return llvm::VersionTuple(info.dwMajorVersion, info.dwMinorVersion, 0,
472 return llvm::VersionTuple(0, 0, 0, 0);
477 return GetWindowsOSVersion() >= llvm::VersionTuple(6, 2, 0, 0);
/external/clang/include/clang/Serialization/
DASTWriter.h73 class VersionTuple; variable
607 void AddVersionTuple(const VersionTuple &Version, RecordDataImpl &Record);
901 void AddVersionTuple(const VersionTuple &Version) { in AddVersionTuple()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp1904 VersionTuple Introduced, in checkAvailabilityAttr()
1905 VersionTuple Deprecated, in checkAvailabilityAttr()
1906 VersionTuple Obsoleted) { in checkAvailabilityAttr()
1945 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y, in versionsMatch()
1962 VersionTuple Introduced, in mergeAvailabilityAttr()
1963 VersionTuple Deprecated, in mergeAvailabilityAttr()
1964 VersionTuple Obsoleted, in mergeAvailabilityAttr()
1971 VersionTuple MergedIntroduced = Introduced; in mergeAvailabilityAttr()
1972 VersionTuple MergedDeprecated = Deprecated; in mergeAvailabilityAttr()
1973 VersionTuple MergedObsoleted = Obsoleted; in mergeAvailabilityAttr()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/
DWindowsSupport.h66 llvm::VersionTuple GetWindowsOSVersion();
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1081 static bool versionsMatch(const VersionTuple &X, const VersionTuple &Y) { in versionsMatch()
1096 VersionTuple Introduced1 = AA1->getIntroduced(); in AvailabilityAttrsMatch()
1097 VersionTuple Deprecated1 = AA1->getDeprecated(); in AvailabilityAttrsMatch()
1098 VersionTuple Obsoleted1 = AA1->getObsoleted(); in AvailabilityAttrsMatch()
1100 VersionTuple Introduced2 = AA2->getIntroduced(); in AvailabilityAttrsMatch()
1101 VersionTuple Deprecated2 = AA2->getDeprecated(); in AvailabilityAttrsMatch()
1102 VersionTuple Obsoleted2 = AA2->getObsoleted(); in AvailabilityAttrsMatch()

123