Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
417 bool isTargetXROS() const { return TargetPlatform == XROS; } in isTargetXROS()
431 return TargetPlatform == TvOS; in isTargetTvOSBased()
446 return TargetPlatform == WatchOS; in isTargetWatchOSBased()
451 return TargetPlatform == DriverKit; in isTargetDriverKit()
460 return TargetPlatform == MacOS; in isTargetMacOS()
[all …]
H A DDarwin.cpp1315 switch (TargetPlatform) { in getPlatformFamily()
1347 switch (TargetPlatform) { in getOSLibraryNameSuffix()
2892 switch (TargetPlatform) { in isAlignedAllocationUnavailable()
2919 switch (TargetPlatform) { in sdkSupportsBuiltinModules()
2969 if (!sdkSupportsBuiltinModules(TargetPlatform, SDKInfo)) in addClangTargetOptions()
3218 [&](const VersionTuple &TV, Darwin::DarwinPlatformKind TargetPlatform, in addPlatformVersionArgs()
3225 getPlatformName(TargetPlatform, TargetEnvironment); in addPlatformVersionArgs()
3230 if ((TargetPlatform == Darwin::IPhoneOS || in addPlatformVersionArgs()
3231 TargetPlatform == Darwin::TvOS) && in addPlatformVersionArgs()
3242 if (TargetPlatform == IPhoneOS && TargetEnvironment == MacCatalyst) { in addPlatformVersionArgs()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp636 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in CheckAvailability() local
639 if (getRealizedPlatform(A, Context) != TargetPlatform) in CheckAvailability()
763 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getVersionIntroduced() local
766 if (getRealizedPlatform(Availability, Context) != TargetPlatform) in getVersionIntroduced()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp45 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getAttrForPlatform() local
48 if (RealizedPlatform == TargetPlatform) in getAttrForPlatform()