• Home
  • Raw
  • Download

Lines Matching refs:PlatformKind

20 PlatformKind mapToPlatformKind(PlatformKind Platform, bool WantSim) {  in mapToPlatformKind()
24 case PlatformKind::iOS: in mapToPlatformKind()
25 return WantSim ? PlatformKind::iOSSimulator : PlatformKind::iOS; in mapToPlatformKind()
26 case PlatformKind::tvOS: in mapToPlatformKind()
27 return WantSim ? PlatformKind::tvOSSimulator : PlatformKind::tvOS; in mapToPlatformKind()
28 case PlatformKind::watchOS: in mapToPlatformKind()
29 return WantSim ? PlatformKind::watchOSSimulator : PlatformKind::watchOS; in mapToPlatformKind()
34 PlatformKind mapToPlatformKind(const Triple &Target) { in mapToPlatformKind()
37 return PlatformKind::unknown; in mapToPlatformKind()
39 return PlatformKind::macOS; in mapToPlatformKind()
42 return PlatformKind::iOSSimulator; in mapToPlatformKind()
44 return PlatformKind::macCatalyst; in mapToPlatformKind()
45 return PlatformKind::iOS; in mapToPlatformKind()
47 return Target.isSimulatorEnvironment() ? PlatformKind::tvOSSimulator in mapToPlatformKind()
48 : PlatformKind::tvOS; in mapToPlatformKind()
50 return Target.isSimulatorEnvironment() ? PlatformKind::watchOSSimulator in mapToPlatformKind()
51 : PlatformKind::watchOS; in mapToPlatformKind()
64 StringRef getPlatformName(PlatformKind Platform) { in getPlatformName()
66 case PlatformKind::unknown: in getPlatformName()
68 case PlatformKind::macOS: in getPlatformName()
70 case PlatformKind::iOS: in getPlatformName()
72 case PlatformKind::tvOS: in getPlatformName()
74 case PlatformKind::watchOS: in getPlatformName()
76 case PlatformKind::bridgeOS: in getPlatformName()
78 case PlatformKind::macCatalyst: in getPlatformName()
80 case PlatformKind::iOSSimulator: in getPlatformName()
82 case PlatformKind::tvOSSimulator: in getPlatformName()
84 case PlatformKind::watchOSSimulator: in getPlatformName()
86 case PlatformKind::driverKit: in getPlatformName()