Architecture
public enum Architecture : String, CaseIterable
Represents an architecture known to LLVM.
-
An unknown architecture or hardware platform.
Declaration
Swift
case unknown = "unknown"
-
ARM (little endian): arm, armv.*, xscale
Declaration
Swift
case arm = "arm"
-
ARM (big endian): armeb
Declaration
Swift
case armeb = "armeb"
-
AArch64 (little endian): aarch64
Declaration
Swift
case aarch64 = "aarch64"
-
AArch64 (big endian): aarch64_be
Declaration
Swift
case aarch64_be = "aarch64_be"
-
ARC: Synopsys ARC
Declaration
Swift
case arc = "arc"
-
AVR: Atmel AVR microcontroller
Declaration
Swift
case avr = "avr"
-
eBPF or extended BPF or 64-bit BPF (little endian)
Declaration
Swift
case bpfel = "bpfel"
-
eBPF or extended BPF or 64-bit BPF (big endian)
Declaration
Swift
case bpfeb = "bpfeb"
-
Hexagon: hexagon
Declaration
Swift
case hexagon = "hexagon"
-
MIPS: mips, mipsallegrex, mipsr6
Declaration
Swift
case mips = "mips"
-
MIPSEL: mipsel, mipsallegrexe, mipsr6el
Declaration
Swift
case mipsel = "mipsel"
-
MIPS64: mips64, mips64r6, mipsn32, mipsn32r6
Declaration
Swift
case mips64 = "mips64"
-
MIPS64EL: mips64el, mips64r6el, mipsn32el, mipsn32r6el
Declaration
Swift
case mips64el = "mips64el"
-
MSP430: msp430
Declaration
Swift
case msp430 = "msp430"
-
PPC: powerpc
Declaration
Swift
case ppc = "ppc"
-
PPC64: powerpc64, ppu
Declaration
Swift
case ppc64 = "ppc64"
-
PPC64LE: powerpc64le
Declaration
Swift
case ppc64le = "ppc64le"
-
R600: AMD GPUs HD2XXX - HD6XXX
Declaration
Swift
case r600 = "r600"
-
AMDGCN: AMD GCN GPUs
Declaration
Swift
case amdgcn = "amdgcn"
-
RISC-V (32-bit): riscv32
Declaration
Swift
case riscv32 = "riscv32"
-
RISC-V (64-bit): riscv64
Declaration
Swift
case riscv64 = "riscv64"
-
Sparc: sparc
Declaration
Swift
case sparc = "sparc"
-
Sparcv9: Sparcv9
Declaration
Swift
case sparcv9 = "sparcv9"
-
Sparc: (endianness = little). NB: ‘Sparcle’ is a CPU variant
Declaration
Swift
case sparcel = "sparcel"
-
SystemZ: s390x
Declaration
Swift
case systemz = "systemz"
-
TCE (http://tce.cs.tut.fi/): tce
Declaration
Swift
case tce = "tce"
-
TCE little endian (http://tce.cs.tut.fi/): tcele
Declaration
Swift
case tcele = "tcele"
-
Thumb (little endian): thumb, thumbv.*
Declaration
Swift
case thumb = "thumb"
-
Thumb (big endian): thumbeb
Declaration
Swift
case thumbeb = "thumbeb"
-
X86: i[3-9]86
Declaration
Swift
case x86 = "x86"
-
X86-64: amd64, x86_64
Declaration
Swift
case x86_64 = "x86_64"
-
XCore: xcore
Declaration
Swift
case xcore = "xcore"
-
NVPTX: 32-bit
Declaration
Swift
case nvptx = "nvptx"
-
NVPTX: 64-bit
Declaration
Swift
case nvptx64 = "nvptx64"
-
le32: generic little-endian 32-bit CPU (PNaCl)
Declaration
Swift
case le32 = "le32"
-
le64: generic little-endian 64-bit CPU (PNaCl)
Declaration
Swift
case le64 = "le64"
-
AMDIL
Declaration
Swift
case amdil = "amdil"
-
AMDIL with 64-bit pointers
Declaration
Swift
case amdil64 = "amdil64"
-
AMD HSAIL
Declaration
Swift
case hsail = "hsail"
-
AMD HSAIL with 64-bit pointers
Declaration
Swift
case hsail64 = "hsail64"
-
SPIR: standard portable IR for OpenCL 32-bit version
Declaration
Swift
case spir = "spir"
-
SPIR: standard portable IR for OpenCL 64-bit version
Declaration
Swift
case spir64 = "spir64"
-
Kalimba: generic kalimba
Declaration
Swift
case kalimba = "kalimba"
-
SHAVE: Movidius vector VLIW processors
Declaration
Swift
case shave = "shave"
-
Lanai: Lanai 32-bit
Declaration
Swift
case lanai = "lanai"
-
WebAssembly with 32-bit pointers
Declaration
Swift
case wasm32 = "wasm32"
-
WebAssembly with 64-bit pointers
Declaration
Swift
case wasm64 = "wasm64"
-
32-bit RenderScript
Declaration
Swift
case renderscript32 = "renderscript32"
-
64-bit RenderScript
Declaration
Swift
case renderscript64 = "renderscript64"
-
Returns the prefix for a family of related architectures.
Declaration
Swift
public var prefix: String { get }
-
Returns the width in bits for a pointer on this architecture.
Declaration
Swift
public var pointerBitWidth: Int { get }