#include "llvm/TextAPI/Architecture.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Triple.h"
namespace llvm {
namespace MachO {
Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { … }
Architecture getArchitectureFromName(StringRef Name) { … }
StringRef getArchitectureName(Architecture Arch) { … }
std::pair<uint32_t, uint32_t> getCPUTypeFromArchitecture(Architecture Arch) { … }
Architecture mapToArchitecture(const Triple &Target) { … }
bool is64Bit(Architecture Arch) { … }
raw_ostream &operator<<(raw_ostream &OS, Architecture Arch) { … }
}
}