Go to the documentation of this file.
41 if (
Target.isSimulatorEnvironment())
58 for (
const auto &
Target : Targets)
80 return "iOS Simulator";
82 return "tvOS Simulator";
84 return "watchOS Simulator";
122 return "ios" +
Version +
"-macabi";
124 return "ios" +
Version +
"-simulator";
126 return "tvos" +
Version +
"-simulator";
128 return "watchos" +
Version +
"-simulator";
StringSwitch & Case(StringLiteral S, T Value)
This is an optimization pass for GlobalISel generic memory operations.
@ PLATFORM_WATCHOSSIMULATOR
LLVM_NODISCARD R Default(T Value)
Triple - Helper class for working with autoconf configuration names.
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
PlatformType mapToPlatformType(PlatformType Platform, bool WantSim)
std::string getOSAndEnvironmentName(PlatformType Platform, std::string Version="")
PlatformType getPlatformFromName(StringRef Name)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
PlatformSet mapToPlatformSet(ArrayRef< Triple > Targets)
A switch()-like statement whose cases are string literals.
StringRef getPlatformName(PlatformType Platform)