pub enum MOperand {
VReg(VReg),
PReg(PReg),
Imm(i64),
Block(usize),
}Expand description
An operand in a machine instruction.
Variants§
VReg(VReg)
Virtual register (pre-allocation).
PReg(PReg)
Physical register (post-allocation or ABI-fixed).
Imm(i64)
Immediate integer constant.
Block(usize)
Branch target: index into MachineFunction::blocks.
Trait Implementations§
impl Eq for MOperand
impl StructuralPartialEq for MOperand
Auto Trait Implementations§
impl Freeze for MOperand
impl RefUnwindSafe for MOperand
impl Send for MOperand
impl Sync for MOperand
impl Unpin for MOperand
impl UnsafeUnpin for MOperand
impl UnwindSafe for MOperand
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