Struct llvm_ir::instruction::ShuffleVector [−][src]
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 12 docs on the ‘shufflevector’ instruction
Fields
operand0: Operand
operand1: Operand
dest: Name
mask: ConstantRef
debugloc: Option<DebugLoc>
Trait Implementations
Performs the conversion.
Returns the DebugLoc
associated with the given Instruction
,
Terminator
, GlobalVariable
, or Function
; or None
if it doesn’t
have a DebugLoc
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more