Expand description
LLVM target triple types.
Macros§
- triple
- A convenient syntax for triple literals.
Structs§
- Default
ToHost - A simple wrapper around
Triple
that provides an implementation ofDefault
which defaults toTriple::host()
. - Default
ToUnknown - A simple wrapper around
Triple
that provides an implementation ofDefault
which defaults toTriple::unknown()
. - Deployment
Target - The minimum OS version that we’re compiling for.
- Triple
- An LLVM target “triple”. Historically such things had three fields, though they’ve added additional fields over time.
Enums§
- Aarch64
Architecture - Architecture
- The “architecture” field, which in some cases also specifies a specific subarchitecture.
- ArmArchitecture
- Binary
Format - The “binary format” field, which is usually omitted, and the binary format is implied by the other fields.
- CData
Model - The C data model used on a target.
- Calling
Convention - The calling convention, which specifies things like which registers are used for passing arguments, which registers are callee-saved, and so on.
- Clever
Architecture - Custom
Vendor - A string for a
Vendor::Custom
that can either be used inconst
contexts or hold dynamic strings. - Endianness
- The target memory endianness.
- Environment
- The “environment” field, which specifies an ABI environment on top of the operating system. In many configurations, this field is omitted, and the environment is implied by the operating system.
- Mips32
Architecture - An enum for all 32-bit MIPS architectures (not just “MIPS32”).
- Mips64
Architecture - An enum for all 64-bit MIPS architectures (not just “MIPS64”).
- Operating
System - The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.
- Parse
Error - An error returned from parsing a triple.
- Pointer
Width - The width of a pointer (in the default address space).
- Riscv32
Architecture - An enum for all 32-bit RISC-V architectures.
- Riscv64
Architecture - An enum for all 64-bit RISC-V architectures.
- Size
- The size of a type.
- Vendor
- The “vendor” field, which in practice is little more than an arbitrary modifier.
- X86_
32Architecture - An enum for all 32-bit x86 architectures.
Constants§
- HOST
- The
Triple
of the current host.