Enum inkwell::values::InstructionOpcode
source · pub enum InstructionOpcode {
Show 67 variants
Add,
AddrSpaceCast,
Alloca,
And,
AShr,
AtomicCmpXchg,
AtomicRMW,
BitCast,
Br,
Call,
CallBr,
CatchPad,
CatchRet,
CatchSwitch,
CleanupPad,
CleanupRet,
ExtractElement,
ExtractValue,
FNeg,
FAdd,
FCmp,
FDiv,
Fence,
FMul,
FPExt,
FPToSI,
FPToUI,
FPTrunc,
Freeze,
FRem,
FSub,
GetElementPtr,
ICmp,
IndirectBr,
InsertElement,
InsertValue,
IntToPtr,
Invoke,
LandingPad,
Load,
LShr,
Mul,
Or,
Phi,
PtrToInt,
Resume,
Return,
SDiv,
Select,
SExt,
Shl,
ShuffleVector,
SIToFP,
SRem,
Store,
Sub,
Switch,
Trunc,
UDiv,
UIToFP,
Unreachable,
URem,
UserOp1,
UserOp2,
VAArg,
Xor,
ZExt,
}
Variants§
Add
AddrSpaceCast
Alloca
And
AShr
AtomicCmpXchg
AtomicRMW
BitCast
Br
Call
CallBr
CatchPad
CatchRet
CatchSwitch
CleanupPad
CleanupRet
ExtractElement
ExtractValue
FNeg
FAdd
FCmp
FDiv
Fence
FMul
FPExt
FPToSI
FPToUI
FPTrunc
Freeze
FRem
FSub
GetElementPtr
ICmp
IndirectBr
InsertElement
InsertValue
IntToPtr
Invoke
LandingPad
Load
LShr
Mul
Or
Phi
PtrToInt
Resume
Return
SDiv
Select
SExt
Shl
ShuffleVector
SIToFP
SRem
Store
Sub
Switch
Trunc
UDiv
UIToFP
Unreachable
URem
UserOp1
UserOp2
VAArg
Xor
ZExt
Trait Implementations§
source§impl Clone for InstructionOpcode
impl Clone for InstructionOpcode
source§fn clone(&self) -> InstructionOpcode
fn clone(&self) -> InstructionOpcode
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 InstructionOpcode
impl Debug for InstructionOpcode
source§impl From<LLVMOpcode> for InstructionOpcode
impl From<LLVMOpcode> for InstructionOpcode
source§fn from(src: LLVMOpcode) -> Self
fn from(src: LLVMOpcode) -> Self
Converts to this type from the input type.
source§impl Hash for InstructionOpcode
impl Hash for InstructionOpcode
source§impl Into<LLVMOpcode> for InstructionOpcode
impl Into<LLVMOpcode> for InstructionOpcode
source§fn into(self) -> LLVMOpcode
fn into(self) -> LLVMOpcode
Converts this type into the (usually inferred) input type.
source§impl PartialEq for InstructionOpcode
impl PartialEq for InstructionOpcode
source§fn eq(&self, other: &InstructionOpcode) -> bool
fn eq(&self, other: &InstructionOpcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InstructionOpcode
impl Eq for InstructionOpcode
impl StructuralPartialEq for InstructionOpcode
Auto Trait Implementations§
impl Freeze for InstructionOpcode
impl RefUnwindSafe for InstructionOpcode
impl Send for InstructionOpcode
impl Sync for InstructionOpcode
impl Unpin for InstructionOpcode
impl UnwindSafe for InstructionOpcode
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> 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 more