9#ifndef LLVM_TEXTAPI_TARGET_H
10#define LLVM_TEXTAPI_TARGET_H
40 operator std::string()
const;
49 return std::tie(
LHS.Arch,
LHS.Platform) == std::tie(
RHS.Arch,
RHS.Platform);
58 return std::tie(
LHS.Arch,
LHS.Platform) < std::tie(
RHS.Arch,
RHS.Platform);
Defines the llvm::VersionTuple class, which represents a version in the form major[....
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Tagged union holding either a T or a Error.
Target(Architecture Arch, PlatformType Platform, VersionTuple MinDeployment={})
static llvm::Expected< Target > create(StringRef Target)
Target(const llvm::Triple &Triple)
VersionTuple MinDeployment
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
Represents a version number in the form major[.minor[.subminor[.build]]].
This class implements an extremely fast bulk output stream that can only output to a stream.
std::string getTargetTripleName(const Target &Targ)
VersionTuple mapToSupportedOSVersion(const Triple &Triple)
bool operator!=(const Target &LHS, const Target &RHS)
SmallSet< PlatformType, 3 > PlatformSet
PlatformSet mapToPlatformSet(ArrayRef< Triple > Targets)
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
PlatformType mapToPlatformType(PlatformType Platform, bool WantSim)
PlatformVersionSet mapToPlatformVersionSet(ArrayRef< Target > Targets)
raw_ostream & operator<<(raw_ostream &OS, Architecture Arch)
Architecture mapToArchitecture(const llvm::Triple &Target)
Convert a target to an architecture slice.
ArchitectureSet mapToArchitectureSet(ArrayRef< Target > Targets)
SmallSet< std::pair< PlatformType, VersionTuple >, 3 > PlatformVersionSet
bool operator<(const Target &LHS, const Target &RHS)
This is an optimization pass for GlobalISel generic memory operations.
bool operator==(const AddressRangeValuePair &LHS, const AddressRangeValuePair &RHS)