Go to the documentation of this file.
9 #ifndef LLVM_TEXTAPI_TARGET_H
10 #define LLVM_TEXTAPI_TARGET_H
36 operator std::string()
const;
43 return std::tie(
LHS.Arch,
LHS.Platform) == std::tie(
RHS.Arch,
RHS.Platform);
47 return std::tie(
LHS.Arch,
LHS.Platform) != std::tie(
RHS.Arch,
RHS.Platform);
51 return std::tie(
LHS.Arch,
LHS.Platform) < std::tie(
RHS.Arch,
RHS.Platform);
72 #endif // LLVM_TEXTAPI_TARGET_H
bool operator==(const DenseMapBase< DerivedT, SymbolsMapKey, MachO::Symbol *, KeyInfoT, BucketT > &LHS, const DenseMapBase< DerivedT, SymbolsMapKey, MachO::Symbol *, KeyInfoT, BucketT > &RHS)
This is an optimization pass for GlobalISel generic memory operations.
ArchitectureSet mapToArchitectureSet(ArrayRef< Target > Targets)
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
Tagged union holding either a T or a Error.
bool operator<(const Target &LHS, const Target &RHS)
static llvm::Expected< Target > create(StringRef Target)
PlatformType mapToPlatformType(PlatformType Platform, bool WantSim)
This class implements an extremely fast bulk output stream that can only output to a stream.
Architecture
Defines the architecture slices that are supported by Text-based Stub files.
raw_ostream & operator<<(raw_ostream &OS, Architecture Arch)
bool operator!=(const Target &LHS, const Target &RHS)
Target(Architecture Arch, PlatformType Platform)
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.
SmallSet< PlatformType, 3 > PlatformSet
Architecture mapToArchitecture(const llvm::Triple &Target)
Convert a target to an architecture slice.
std::string getTargetTripleName(const Target &Targ)
PlatformSet mapToPlatformSet(ArrayRef< Triple > Targets)
Target(const llvm::Triple &Triple)