Struct gimli::LoongArch

source ·
pub struct LoongArch;
Expand description

LoongArch architecture specific definitions.

See LoongArch ELF psABI specification.

Implementations§

source§

impl LoongArch

source

pub const R0: Register = _

source

pub const R1: Register = _

source

pub const R2: Register = _

source

pub const R3: Register = _

source

pub const R4: Register = _

source

pub const R5: Register = _

source

pub const R6: Register = _

source

pub const R7: Register = _

source

pub const R8: Register = _

source

pub const R9: Register = _

source

pub const R10: Register = _

source

pub const R11: Register = _

source

pub const R12: Register = _

source

pub const R13: Register = _

source

pub const R14: Register = _

source

pub const R15: Register = _

source

pub const R16: Register = _

source

pub const R17: Register = _

source

pub const R18: Register = _

source

pub const R19: Register = _

source

pub const R20: Register = _

source

pub const R21: Register = _

source

pub const R22: Register = _

source

pub const R23: Register = _

source

pub const R24: Register = _

source

pub const R25: Register = _

source

pub const R26: Register = _

source

pub const R27: Register = _

source

pub const R28: Register = _

source

pub const R29: Register = _

source

pub const R30: Register = _

source

pub const R31: Register = _

source

pub const F0: Register = _

source

pub const F1: Register = _

source

pub const F2: Register = _

source

pub const F3: Register = _

source

pub const F4: Register = _

source

pub const F5: Register = _

source

pub const F6: Register = _

source

pub const F7: Register = _

source

pub const F8: Register = _

source

pub const F9: Register = _

source

pub const F10: Register = _

source

pub const F11: Register = _

source

pub const F12: Register = _

source

pub const F13: Register = _

source

pub const F14: Register = _

source

pub const F15: Register = _

source

pub const F16: Register = _

source

pub const F17: Register = _

source

pub const F18: Register = _

source

pub const F19: Register = _

source

pub const F20: Register = _

source

pub const F21: Register = _

source

pub const F22: Register = _

source

pub const F23: Register = _

source

pub const F24: Register = _

source

pub const F25: Register = _

source

pub const F26: Register = _

source

pub const F27: Register = _

source

pub const F28: Register = _

source

pub const F29: Register = _

source

pub const F30: Register = _

source

pub const F31: Register = _

source

pub const FCC0: Register = _

source

pub const FCC1: Register = _

source

pub const FCC2: Register = _

source

pub const FCC3: Register = _

source

pub const FCC4: Register = _

source

pub const FCC5: Register = _

source

pub const FCC6: Register = _

source

pub const FCC7: Register = _

source

pub const ZERO: Register = _

source

pub const RA: Register = _

source

pub const TP: Register = _

source

pub const SP: Register = _

source

pub const A0: Register = _

source

pub const A1: Register = _

source

pub const A2: Register = _

source

pub const A3: Register = _

source

pub const A4: Register = _

source

pub const A5: Register = _

source

pub const A6: Register = _

source

pub const A7: Register = _

source

pub const T0: Register = _

source

pub const T1: Register = _

source

pub const T2: Register = _

source

pub const T3: Register = _

source

pub const T4: Register = _

source

pub const T5: Register = _

source

pub const T6: Register = _

source

pub const T7: Register = _

source

pub const T8: Register = _

source

pub const FP: Register = _

source

pub const S0: Register = _

source

pub const S1: Register = _

source

pub const S2: Register = _

source

pub const S3: Register = _

source

pub const S4: Register = _

source

pub const S5: Register = _

source

pub const S6: Register = _

source

pub const S7: Register = _

source

pub const S8: Register = _

source

pub const FA0: Register = _

source

pub const FA1: Register = _

source

pub const FA2: Register = _

source

pub const FA3: Register = _

source

pub const FA4: Register = _

source

pub const FA5: Register = _

source

pub const FA6: Register = _

source

pub const FA7: Register = _

source

pub const FT0: Register = _

source

pub const FT1: Register = _

source

pub const FT2: Register = _

source

pub const FT3: Register = _

source

pub const FT4: Register = _

source

pub const FT5: Register = _

source

pub const FT6: Register = _

source

pub const FT7: Register = _

source

pub const FT8: Register = _

source

pub const FT9: Register = _

source

pub const FT10: Register = _

source

pub const FT11: Register = _

source

pub const FT12: Register = _

source

pub const FT13: Register = _

source

pub const FT14: Register = _

source

pub const FT15: Register = _

source

pub const FS0: Register = _

source

pub const FS1: Register = _

source

pub const FS2: Register = _

source

pub const FS3: Register = _

source

pub const FS4: Register = _

source

pub const FS5: Register = _

source

pub const FS6: Register = _

source

pub const FS7: Register = _

source§

impl LoongArch

source

pub fn register_name(register: Register) -> Option<&'static str>

The name of a register, or None if the register number is unknown.

Only returns the primary name for registers that alias with others.

source

pub fn name_to_register(value: &str) -> Option<Register>

Converts a register name into a register number.

Trait Implementations§

source§

impl Clone for LoongArch

source§

fn clone(&self) -> LoongArch

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoongArch

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for LoongArch

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.