Skip to main content

Module abi

Module abi 

Source

Structs§

AddressSpace
An identifier that specifies the address space that some operation should operate on. Special address spaces have an effect on code generation, depending on the target and the address spaces it implements.
ArgAbi
Information about the ABI of a function’s argument, or return value.
ArgAttributeFlags
Calling convention and optimization flags for a function argument or return value.
ArgAttributes
Attributes of a function argument or return value.
CastTarget
Describes the ABI type that an argument is transmuted to for PassMode::Cast.
FnAbi
A function ABI definition.
Layout
LayoutShape
The layout of a type, including its size, alignment, field offsets, and backend representation.
NumScalableVectors
The number of scalable vectors in a ValueRepr::ScalableVector.
Reg
A register type used in ABI calling conventions.
ReprFlags
ReprOptions
Representation options provided by the user
TyAndLayout
The layout of a type, alongside the type itself.
Uniform
A sequence of registers of the same kind used to pass an argument.
VariantFields
WrappingRange
Inclusive wrap-around range of valid values (bitwise representation), that is, if start > end, it represents start..=MAX, followed by 0..=end.

Enums§

ArgExtension
How a small integer argument should be extended to fill a register.
CallConvention
General language calling conventions.
FieldsShape
Describes the number and position of fields within a type’s layout.
FloatLength
Enum representing the existing float lengths.
IndirectMode
Different modes in which indirect arguments can be passed.
IntegerLength
Enum representing the existing integer lengths.
IntegerType
PassMode
How a function argument should be passed in to the target function.
Primitive
A primitive scalar type: integer, float, or pointer.
RegKind
The kind of a register used in calling conventions.
Scalar
Information about one scalar component of a Rust type.
TagEncoding
ValueRepr
A hint for how backends should represent values of this type.
VariantsShape