Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.h319 mutable DarwinEnvironmentKind TargetEnvironment; variable
385 TargetEnvironment == Environment && in setTarget()
393 TargetEnvironment = Environment; in setTarget()
408 TargetEnvironment == NativeEnvironment; in isTargetIPhoneOS()
414 TargetEnvironment == Simulator; in isTargetIOSSimulator()
423 return TargetPlatform == XROS && TargetEnvironment == NativeEnvironment; in isTargetXROSDevice()
427 return TargetPlatform == XROS && TargetEnvironment == Simulator; in isTargetXROSSimulator()
434 return TargetPlatform == TvOS && TargetEnvironment == NativeEnvironment; in isTargetTvOS()
439 return TargetPlatform == TvOS && TargetEnvironment == Simulator; in isTargetTvOSSimulator()
449 return TargetPlatform == WatchOS && TargetEnvironment == NativeEnvironment; in isTargetWatchOS()
[all …]
H A DLinux.cpp44 llvm::Triple::EnvironmentType TargetEnvironment = in getMultiarchTriple() local
64 if (TargetEnvironment == llvm::Triple::GNUEABIHF || in getMultiarchTriple()
65 TargetEnvironment == llvm::Triple::MuslEABIHF || in getMultiarchTriple()
66 TargetEnvironment == llvm::Triple::EABIHF) in getMultiarchTriple()
71 if (TargetEnvironment == llvm::Triple::GNUEABIHF || in getMultiarchTriple()
72 TargetEnvironment == llvm::Triple::MuslEABIHF || in getMultiarchTriple()
73 TargetEnvironment == llvm::Triple::EABIHF) in getMultiarchTriple()
83 if (TargetEnvironment == llvm::Triple::GNUX32) in getMultiarchTriple()
108 switch (TargetEnvironment) { in getMultiarchTriple()
H A DDarwin.cpp1348 if (TargetEnvironment == MacCatalyst) in getPlatformFamily()
1380 if (TargetEnvironment == MacCatalyst) in getOSLibraryNameSuffix()
1382 return TargetEnvironment == NativeEnvironment || IgnoreSim ? "ios" in getOSLibraryNameSuffix()
1385 return TargetEnvironment == NativeEnvironment || IgnoreSim ? "tvos" in getOSLibraryNameSuffix()
1388 return TargetEnvironment == NativeEnvironment || IgnoreSim ? "watchos" in getOSLibraryNameSuffix()
1391 return TargetEnvironment == NativeEnvironment || IgnoreSim ? "xros" in getOSLibraryNameSuffix()
2928 const Darwin::DarwinEnvironmentKind &TargetEnvironment, in sdkSupportsBuiltinModules() argument
2930 if (TargetEnvironment == Darwin::NativeEnvironment || in sdkSupportsBuiltinModules()
2931 TargetEnvironment == Darwin::Simulator || in sdkSupportsBuiltinModules()
2932 TargetEnvironment == Darwin::MacCatalyst) { in sdkSupportsBuiltinModules()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp451 llvm::StringRef TargetEnvironment( in DoEmitAvailabilityWarning() local
456 (!AttrEnvironment.empty() && !TargetEnvironment.empty()); in DoEmitAvailabilityWarning()
464 << TargetEnvironment; in DoEmitAvailabilityWarning()
470 << UseEnvironment << AttrEnvironment << TargetEnvironment; in DoEmitAvailabilityWarning()
869 llvm::StringRef TargetEnvironment(TI.getTriple().getEnvironmentName()); in DiagnoseDeclAvailability() local
873 (!AttrEnvironment.empty() && !TargetEnvironment.empty()); in DiagnoseDeclAvailability()
882 << UseEnvironment << TargetEnvironment; in DiagnoseDeclAvailability()
888 << UseEnvironment << AttrEnvironment << TargetEnvironment; in DiagnoseDeclAvailability()