pub struct Legal {
pub operands: Vec<Operand>,
pub before: Vec<(Move<Place>, RegClass)>,
pub after: Vec<(Move<Place>, RegClass)>,
}Expand description
What one instruction becomes.
Fields§
§operands: Vec<Operand>The operands, each naming the physical register the instruction reads or writes it in.
before: Vec<(Move<Place>, RegClass)>The moves in front of the instruction, with the class of each, in the order they are made.
after: Vec<(Move<Place>, RegClass)>The moves behind it, the same way.
Trait Implementations§
impl Eq for Legal
impl StructuralPartialEq for Legal
Auto Trait Implementations§
impl Freeze for Legal
impl RefUnwindSafe for Legal
impl Send for Legal
impl Sync for Legal
impl Unpin for Legal
impl UnsafeUnpin for Legal
impl UnwindSafe for Legal
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