Home
last modified time | relevance | path

Searched refs:TargetPlatform (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DDarwin.h311 mutable DarwinPlatformKind TargetPlatform; variable
371 if (TargetInitialized && TargetPlatform == Platform && in setTarget()
379 TargetPlatform = Platform; in setTarget()
394 return (TargetPlatform == IPhoneOS || TargetPlatform == TvOS) && in isTargetIPhoneOS()
400 return (TargetPlatform == IPhoneOS || TargetPlatform == TvOS) && in isTargetIOSSimulator()
416 return TargetPlatform == TvOS && TargetEnvironment == Simulator; in isTargetTvOSSimulator()
421 return TargetPlatform == TvOS; in isTargetTvOSBased()
436 return TargetPlatform == WatchOS; in isTargetWatchOSBased()
441 return TargetPlatform == DriverKit; in isTargetDriverKit()
450 return TargetPlatform == MacOS; in isTargetMacOS()
[all …]
H A DDarwin.cpp1253 switch (TargetPlatform) { in getPlatformFamily()
1283 switch (TargetPlatform) { in getOSLibraryNameSuffix()
2731 switch (TargetPlatform) { in isAlignedAllocationUnavailable()
3021 [&](const VersionTuple &TV, Darwin::DarwinPlatformKind TargetPlatform, in addPlatformVersionArgs()
3028 getPlatformName(TargetPlatform, TargetEnvironment); in addPlatformVersionArgs()
3033 if ((TargetPlatform == Darwin::IPhoneOS || in addPlatformVersionArgs()
3034 TargetPlatform == Darwin::TvOS) && in addPlatformVersionArgs()
3045 if (TargetPlatform == IPhoneOS && TargetEnvironment == MacCatalyst) { in addPlatformVersionArgs()
3081 EmitPlatformVersionArg(getTripleTargetVersion(), TargetPlatform, in addPlatformVersionArgs()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp550 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in CheckAvailability() local
553 if (getRealizedPlatform(A, Context) != TargetPlatform) in CheckAvailability()
677 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getVersionIntroduced() local
680 if (getRealizedPlatform(Availability, Context) != TargetPlatform) in getVersionIntroduced()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp44 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getAttrForPlatform() local
47 if (RealizedPlatform == TargetPlatform) in getAttrForPlatform()