Struct rustc_target::abi::call::Uniform[][src]

pub struct Uniform {
    pub unit: Reg,
    pub total: Size,
}

An argument passed entirely registers with the same kind (e.g. HFA / HVA on PPC64 and AArch64).

Fields

The total size of the argument, which can be:

  • equal to unit.size (one scalar/vector)
  • a multiple of unit.size (an array of scalar/vectors)
  • if unit.kind is Integer, the last element can be shorter, i.e. { i64, i64, i32 } for 64-bit integers with a total size of 20 bytes

Methods

impl Uniform
[src]

Trait Implementations

impl Clone for Uniform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Uniform
[src]

impl PartialEq for Uniform
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Uniform
[src]

impl Debug for Uniform
[src]

Formats the value using the given formatter. Read more

impl From<Reg> for Uniform
[src]

Performs the conversion.

impl From<Uniform> for CastTarget
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Uniform

impl Sync for Uniform