LLVM 22.0.0git
|
#include "llvm/TextAPI/Target.h"
Public Member Functions | |
Target ()=default | |
Target (Architecture Arch, PlatformType Platform, VersionTuple MinDeployment={}) | |
Target (const llvm::Triple &Triple) | |
LLVM_ABI | operator std::string () const |
Static Public Member Functions | |
static LLVM_ABI llvm::Expected< Target > | create (StringRef Target) |
Public Attributes | |
Architecture | Arch |
PlatformType | Platform |
VersionTuple | MinDeployment |
|
default |
Referenced by create().
|
inline |
Definition at line 32 of file Target.h.
References Arch, MinDeployment, and Platform.
|
inlineexplicit |
Definition at line 35 of file Target.h.
References Arch, llvm::MachO::mapToArchitecture(), llvm::MachO::mapToPlatformType(), llvm::MachO::mapToSupportedOSVersion(), MinDeployment, and Platform.
Definition at line 17 of file Target.cpp.
References llvm::StringSwitch< T, R >::Default(), llvm::MachO::getArchitectureFromName(), Platform, Target(), and llvm::TargetValue.
Referenced by llvm::yaml::ScalarTraits< Target >::input().
llvm::MachO::Target::operator std::string | ( | ) | const |
Definition at line 42 of file Target.cpp.
References Arch, llvm::MachO::getArchitectureName(), llvm::MachO::getPlatformName(), MinDeployment, Platform, and llvm::Version.
Architecture llvm::MachO::Target::Arch |
Definition at line 43 of file Target.h.
Referenced by llvm::MachO::InterfaceFile::extract(), llvm::MachO::getTargetTripleName(), llvm::MachO::mapToArchitectureSet(), operator std::string(), llvm::MachO::InterfaceFile::remove(), Target(), Target(), and llvm::MachO::Symbol::targets().
VersionTuple llvm::MachO::Target::MinDeployment |
Definition at line 45 of file Target.h.
Referenced by llvm::MachO::getTargetTripleName(), llvm::MachO::mapToPlatformVersionSet(), operator std::string(), Target(), and Target().
PlatformType llvm::MachO::Target::Platform |
Definition at line 44 of file Target.h.
Referenced by create(), llvm::MachO::getTargetTripleName(), llvm::MachO::mapToPlatformSet(), llvm::MachO::mapToPlatformVersionSet(), operator std::string(), Target(), and Target().