Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.h318 mutable DarwinPlatformKind TargetPlatform; variable
384 if (TargetInitialized && TargetPlatform == Platform && in setTarget()
392 TargetPlatform = Platform; in setTarget()
407 return (TargetPlatform == IPhoneOS || TargetPlatform == TvOS) && in isTargetIPhoneOS()
413 return (TargetPlatform == IPhoneOS || TargetPlatform == TvOS) && in isTargetIOSSimulator()
423 return TargetPlatform == XROS && TargetEnvironment == NativeEnvironment; in isTargetXROSDevice()
427 return TargetPlatform == XROS && TargetEnvironment == Simulator; in isTargetXROSSimulator()
430 bool isTargetXROS() const { return TargetPlatform == XROS; } in isTargetXROS()
434 return TargetPlatform == TvOS && TargetEnvironment == NativeEnvironment; in isTargetTvOS()
439 return TargetPlatform == TvOS && TargetEnvironment == Simulator; in isTargetTvOSSimulator()
[all …]
H A DDarwin.cpp1344 switch (TargetPlatform) { in getPlatformFamily()
1376 switch (TargetPlatform) { in getOSLibraryNameSuffix()
2904 switch (TargetPlatform) { in isAlignedAllocationUnavailable()
2927 const Darwin::DarwinPlatformKind &TargetPlatform, in sdkSupportsBuiltinModules() argument
2950 switch (TargetPlatform) { in sdkSupportsBuiltinModules()
3001 switch (TargetPlatform) { in isSizedDeallocationUnavailable()
3064 if (!sdkSupportsBuiltinModules(TargetPlatform, TargetEnvironment, SDKInfo)) in addClangTargetOptions()
3313 [&](const VersionTuple &TV, Darwin::DarwinPlatformKind TargetPlatform, in addPlatformVersionArgs()
3320 getPlatformName(TargetPlatform, TargetEnvironment); in addPlatformVersionArgs()
3325 if ((TargetPlatform == Darwin::IPhoneOS || in addPlatformVersionArgs()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp658 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in CheckAvailability() local
661 if (getRealizedPlatform(A, Context) != TargetPlatform) in CheckAvailability()
802 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getVersionIntroduced() local
805 if (getRealizedPlatform(Availability, Context) != TargetPlatform) in getVersionIntroduced()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaHLSL.cpp799 StringRef TargetPlatform = in FindAvailabilityAttr() local
803 if (AttrPlatform == TargetPlatform) { in FindAvailabilityAttr()
H A DSemaAvailability.cpp69 StringRef TargetPlatform = Context.getTargetInfo().getPlatformName(); in getAttrForPlatform() local
72 if (RealizedPlatform == TargetPlatform) { in getAttrForPlatform()