LLVM 22.0.0git
Architecture.h File Reference
#include "llvm/Support/Compiler.h"
#include <cstdint>
#include <utility>
#include "llvm/TextAPI/Architecture.def"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::MachO

Macros

#define ARCHINFO(Arch, Name, Type, SubType, NumBits)

Enumerations

enum  llvm::MachO::Architecture : uint8_t { llvm::MachO::AK_unknown }
 Defines the architecture slices that are supported by Text-based Stub files. More...

Functions

LLVM_ABI Architecture llvm::MachO::getArchitectureFromCpuType (uint32_t CPUType, uint32_t CPUSubType)
 Convert a CPU Type and Subtype pair to an architecture slice.
LLVM_ABI Architecture llvm::MachO::getArchitectureFromName (StringRef Name)
 Convert a name to an architecture slice.
LLVM_ABI StringRef llvm::MachO::getArchitectureName (Architecture Arch)
 Convert an architecture slice to a string.
LLVM_ABI std::pair< uint32_t, uint32_tllvm::MachO::getCPUTypeFromArchitecture (Architecture Arch)
 Convert an architecture slice to a CPU Type and Subtype pair.
LLVM_ABI Architecture llvm::MachO::mapToArchitecture (const llvm::Triple &Target)
 Convert a target to an architecture slice.
LLVM_ABI bool llvm::MachO::is64Bit (Architecture)
 Check if architecture is 64 bit.
LLVM_ABI raw_ostreamllvm::MachO::operator<< (raw_ostream &OS, Architecture Arch)

Macro Definition Documentation

◆ ARCHINFO

#define ARCHINFO ( Arch,
Name,
Type,
SubType,
NumBits )
Value:
AK_##Arch,

Definition at line 29 of file Architecture.h.