35 switch (Target.
getOS()) {
59 for (
const auto &
Target : Targets)
81 return "iOS Simulator";
83 return "tvOS Simulator";
85 return "watchOS Simulator";
PlatformKind
Defines the list of MachO platforms.
This class represents lattice values for constants.
OSType getOS() const
getOS - Get the parsed operating system type of this triple.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
StringRef getPlatformName(PlatformKind Platform)
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
PlatformKind mapToPlatformKind(PlatformKind Platform, bool WantSim)
std::pair< NoneType, bool > insert(const T &V)
insert - Insert an element into the set if it isn't already there.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Triple - Helper class for working with autoconf configuration names.
EnvironmentType getEnvironment() const
getEnvironment - Get the parsed environment type of this triple.
PlatformSet mapToPlatformSet(ArrayRef< Triple > Targets)
bool isSimulatorEnvironment() const
StringRef - Represent a constant reference to a string, i.e.