Enum rustc_target::asm::X86InlineAsmReg
source · pub enum X86InlineAsmReg {
Show 128 variants
ax,
bx,
cx,
dx,
si,
di,
r8,
r9,
r10,
r11,
r12,
r13,
r14,
r15,
al,
ah,
bl,
bh,
cl,
ch,
dl,
dh,
sil,
dil,
r8b,
r9b,
r10b,
r11b,
r12b,
r13b,
r14b,
r15b,
xmm0,
xmm1,
xmm2,
xmm3,
xmm4,
xmm5,
xmm6,
xmm7,
xmm8,
xmm9,
xmm10,
xmm11,
xmm12,
xmm13,
xmm14,
xmm15,
ymm0,
ymm1,
ymm2,
ymm3,
ymm4,
ymm5,
ymm6,
ymm7,
ymm8,
ymm9,
ymm10,
ymm11,
ymm12,
ymm13,
ymm14,
ymm15,
zmm0,
zmm1,
zmm2,
zmm3,
zmm4,
zmm5,
zmm6,
zmm7,
zmm8,
zmm9,
zmm10,
zmm11,
zmm12,
zmm13,
zmm14,
zmm15,
zmm16,
zmm17,
zmm18,
zmm19,
zmm20,
zmm21,
zmm22,
zmm23,
zmm24,
zmm25,
zmm26,
zmm27,
zmm28,
zmm29,
zmm30,
zmm31,
k0,
k1,
k2,
k3,
k4,
k5,
k6,
k7,
mm0,
mm1,
mm2,
mm3,
mm4,
mm5,
mm6,
mm7,
st0,
st1,
st2,
st3,
st4,
st5,
st6,
st7,
tmm0,
tmm1,
tmm2,
tmm3,
tmm4,
tmm5,
tmm6,
tmm7,
}
Variants§
ax
bx
cx
dx
si
di
r8
r9
r10
r11
r12
r13
r14
r15
al
ah
bl
bh
cl
ch
dl
dh
sil
dil
r8b
r9b
r10b
r11b
r12b
r13b
r14b
r15b
xmm0
xmm1
xmm2
xmm3
xmm4
xmm5
xmm6
xmm7
xmm8
xmm9
xmm10
xmm11
xmm12
xmm13
xmm14
xmm15
ymm0
ymm1
ymm2
ymm3
ymm4
ymm5
ymm6
ymm7
ymm8
ymm9
ymm10
ymm11
ymm12
ymm13
ymm14
ymm15
zmm0
zmm1
zmm2
zmm3
zmm4
zmm5
zmm6
zmm7
zmm8
zmm9
zmm10
zmm11
zmm12
zmm13
zmm14
zmm15
zmm16
zmm17
zmm18
zmm19
zmm20
zmm21
zmm22
zmm23
zmm24
zmm25
zmm26
zmm27
zmm28
zmm29
zmm30
zmm31
k0
k1
k2
k3
k4
k5
k6
k7
mm0
mm1
mm2
mm3
mm4
mm5
mm6
mm7
st0
st1
st2
st3
st4
st5
st6
st7
tmm0
tmm1
tmm2
tmm3
tmm4
tmm5
tmm6
tmm7
Implementations§
source§impl X86InlineAsmReg
impl X86InlineAsmReg
pub fn name(self) -> &'static str
pub fn reg_class(self) -> X86InlineAsmRegClass
pub fn parse(name: &str) -> Result<Self, &'static str>
pub fn validate( self, _arch: InlineAsmArch, _reloc_model: RelocModel, _target_features: &FxIndexSet<Symbol>, _target: &Target, _is_clobber: bool, ) -> Result<(), &'static str>
source§impl X86InlineAsmReg
impl X86InlineAsmReg
pub fn emit( self, out: &mut dyn Write, arch: InlineAsmArch, modifier: Option<char>, ) -> Result
pub fn overlapping_regs(self, cb: impl FnMut(X86InlineAsmReg))
Trait Implementations§
source§impl Clone for X86InlineAsmReg
impl Clone for X86InlineAsmReg
source§fn clone(&self) -> X86InlineAsmReg
fn clone(&self) -> X86InlineAsmReg
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for X86InlineAsmReg
impl Debug for X86InlineAsmReg
source§impl<__D: SpanDecoder> Decodable<__D> for X86InlineAsmReg
impl<__D: SpanDecoder> Decodable<__D> for X86InlineAsmReg
source§impl<__E: SpanEncoder> Encodable<__E> for X86InlineAsmReg
impl<__E: SpanEncoder> Encodable<__E> for X86InlineAsmReg
source§impl Hash for X86InlineAsmReg
impl Hash for X86InlineAsmReg
source§impl<__CTX> HashStable<__CTX> for X86InlineAsmRegwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for X86InlineAsmRegwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl PartialEq for X86InlineAsmReg
impl PartialEq for X86InlineAsmReg
source§impl PartialOrd for X86InlineAsmReg
impl PartialOrd for X86InlineAsmReg
impl Copy for X86InlineAsmReg
impl Eq for X86InlineAsmReg
impl StructuralPartialEq for X86InlineAsmReg
Auto Trait Implementations§
impl Freeze for X86InlineAsmReg
impl RefUnwindSafe for X86InlineAsmReg
impl Send for X86InlineAsmReg
impl Sync for X86InlineAsmReg
impl Unpin for X86InlineAsmReg
impl UnwindSafe for X86InlineAsmReg
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
ax
: 0 bytesbx
: 0 bytescx
: 0 bytesdx
: 0 bytessi
: 0 bytesdi
: 0 bytesr8
: 0 bytesr9
: 0 bytesr10
: 0 bytesr11
: 0 bytesr12
: 0 bytesr13
: 0 bytesr14
: 0 bytesr15
: 0 bytesal
: 0 bytesah
: 0 bytesbl
: 0 bytesbh
: 0 bytescl
: 0 bytesch
: 0 bytesdl
: 0 bytesdh
: 0 bytessil
: 0 bytesdil
: 0 bytesr8b
: 0 bytesr9b
: 0 bytesr10b
: 0 bytesr11b
: 0 bytesr12b
: 0 bytesr13b
: 0 bytesr14b
: 0 bytesr15b
: 0 bytesxmm0
: 0 bytesxmm1
: 0 bytesxmm2
: 0 bytesxmm3
: 0 bytesxmm4
: 0 bytesxmm5
: 0 bytesxmm6
: 0 bytesxmm7
: 0 bytesxmm8
: 0 bytesxmm9
: 0 bytesxmm10
: 0 bytesxmm11
: 0 bytesxmm12
: 0 bytesxmm13
: 0 bytesxmm14
: 0 bytesxmm15
: 0 bytesymm0
: 0 bytesymm1
: 0 bytesymm2
: 0 bytesymm3
: 0 bytesymm4
: 0 bytesymm5
: 0 bytesymm6
: 0 bytesymm7
: 0 bytesymm8
: 0 bytesymm9
: 0 bytesymm10
: 0 bytesymm11
: 0 bytesymm12
: 0 bytesymm13
: 0 bytesymm14
: 0 bytesymm15
: 0 byteszmm0
: 0 byteszmm1
: 0 byteszmm2
: 0 byteszmm3
: 0 byteszmm4
: 0 byteszmm5
: 0 byteszmm6
: 0 byteszmm7
: 0 byteszmm8
: 0 byteszmm9
: 0 byteszmm10
: 0 byteszmm11
: 0 byteszmm12
: 0 byteszmm13
: 0 byteszmm14
: 0 byteszmm15
: 0 byteszmm16
: 0 byteszmm17
: 0 byteszmm18
: 0 byteszmm19
: 0 byteszmm20
: 0 byteszmm21
: 0 byteszmm22
: 0 byteszmm23
: 0 byteszmm24
: 0 byteszmm25
: 0 byteszmm26
: 0 byteszmm27
: 0 byteszmm28
: 0 byteszmm29
: 0 byteszmm30
: 0 byteszmm31
: 0 bytesk0
: 0 bytesk1
: 0 bytesk2
: 0 bytesk3
: 0 bytesk4
: 0 bytesk5
: 0 bytesk6
: 0 bytesk7
: 0 bytesmm0
: 0 bytesmm1
: 0 bytesmm2
: 0 bytesmm3
: 0 bytesmm4
: 0 bytesmm5
: 0 bytesmm6
: 0 bytesmm7
: 0 bytesst0
: 0 bytesst1
: 0 bytesst2
: 0 bytesst3
: 0 bytesst4
: 0 bytesst5
: 0 bytesst6
: 0 bytesst7
: 0 bytestmm0
: 0 bytestmm1
: 0 bytestmm2
: 0 bytestmm3
: 0 bytestmm4
: 0 bytestmm5
: 0 bytestmm6
: 0 bytestmm7
: 0 bytes