Struct llvm_ir::instruction::ShuffleVector
source · [−]pub struct ShuffleVector {
pub operand0: Operand,
pub operand1: Operand,
pub dest: Name,
pub mask: ConstantRef,
pub debugloc: Option<DebugLoc>,
}
Expand description
Permute elements from two input vectors into a single output vector. See LLVM 14 docs on the ‘shufflevector’ instruction
Fields
operand0: Operand
operand1: Operand
dest: Name
mask: ConstantRef
debugloc: Option<DebugLoc>
Trait Implementations
sourceimpl Clone for ShuffleVector
impl Clone for ShuffleVector
sourcefn clone(&self) -> ShuffleVector
fn clone(&self) -> ShuffleVector
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShuffleVector
impl Debug for ShuffleVector
sourceimpl Display for ShuffleVector
impl Display for ShuffleVector
sourceimpl From<ShuffleVector> for Instruction
impl From<ShuffleVector> for Instruction
sourcefn from(inst: ShuffleVector) -> Instruction
fn from(inst: ShuffleVector) -> Instruction
Converts to this type from the input type.
sourceimpl HasDebugLoc for ShuffleVector
impl HasDebugLoc for ShuffleVector
sourcefn get_debug_loc(&self) -> &Option<DebugLoc>
fn get_debug_loc(&self) -> &Option<DebugLoc>
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
sourceimpl HasResult for ShuffleVector
impl HasResult for ShuffleVector
fn get_result(&self) -> &Name
sourceimpl PartialEq<ShuffleVector> for ShuffleVector
impl PartialEq<ShuffleVector> for ShuffleVector
sourcefn eq(&self, other: &ShuffleVector) -> bool
fn eq(&self, other: &ShuffleVector) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryFrom<Instruction> for ShuffleVector
impl TryFrom<Instruction> for ShuffleVector
impl StructuralPartialEq for ShuffleVector
Auto Trait Implementations
impl RefUnwindSafe for ShuffleVector
impl Send for ShuffleVector
impl Sync for ShuffleVector
impl Unpin for ShuffleVector
impl UnwindSafe for ShuffleVector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more