9 #ifndef LLVM_TEXTAPI_MACHO_TARGET_H 10 #define LLVM_TEXTAPI_MACHO_TARGET_H 28 : Arch(Arch), Platform(Platform) {}
34 operator std::string()
const;
53 return LHS.
Arch == RHS;
57 return LHS.
Arch != RHS;
68 #endif // LLVM_TEXTAPI_MACHO_TARGET_H PlatformKind
Defines the list of MachO platforms.
This class represents lattice values for constants.
ArchitectureSet mapToArchitectureSet(ArrayRef< Target > Targets)
Target(const llvm::Triple &Triple)
bool operator<(const Target &LHS, const Target &RHS)
Tagged union holding either a T or a Error.
Target(Architecture Arch, PlatformKind Platform)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
bool operator!=(const Target &LHS, const Target &RHS)
static llvm::Expected< Target > create(StringRef Target)
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
PlatformKind mapToPlatformKind(PlatformKind Platform, bool WantSim)
raw_ostream & operator<<(raw_ostream &OS, Architecture Arch)
Triple - Helper class for working with autoconf configuration names.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
bool operator==(const Target &LHS, const Target &RHS)
PlatformSet mapToPlatformSet(ArrayRef< Triple > Targets)
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
Architecture mapToArchitecture(const llvm::Triple &Target)
Convert a target to an architecture slice.