LLVM  10.0.0svn
Namespaces | Typedefs | Enumerations | Functions
Platform.h File Reference
#include "llvm/ADT/SmallSet.h"
#include "llvm/BinaryFormat/MachO.h"
Include dependency graph for Platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::MachO
 

Typedefs

using llvm::MachO::PlatformSet = SmallSet< PlatformKind, 3 >
 

Enumerations

enum  llvm::MachO::PlatformKind : unsigned {
  llvm::MachO::PlatformKind::unknown, llvm::MachO::PlatformKind::macOS = MachO::PLATFORM_MACOS, llvm::MachO::PlatformKind::iOS = MachO::PLATFORM_IOS, llvm::MachO::PlatformKind::tvOS = MachO::PLATFORM_TVOS,
  llvm::MachO::PlatformKind::watchOS = MachO::PLATFORM_WATCHOS, llvm::MachO::PlatformKind::bridgeOS = MachO::PLATFORM_BRIDGEOS, llvm::MachO::PlatformKind::macCatalyst = MachO::PLATFORM_MACCATALYST, llvm::MachO::PlatformKind::iOSSimulator = MachO::PLATFORM_IOSSIMULATOR,
  llvm::MachO::PlatformKind::tvOSSimulator = MachO::PLATFORM_TVOSSIMULATOR, llvm::MachO::PlatformKind::watchOSSimulator = MachO::PLATFORM_WATCHOSSIMULATOR
}
 Defines the list of MachO platforms. More...
 

Functions

PlatformKind llvm::MachO::mapToPlatformKind (PlatformKind Platform, bool WantSim)
 
PlatformKind llvm::MachO::mapToPlatformKind (const Triple &Target)
 
PlatformSet llvm::MachO::mapToPlatformSet (ArrayRef< Triple > Targets)
 
StringRef llvm::MachO::getPlatformName (PlatformKind Platform)