# Enum llvm_sys::LLVMOpcode

source · ```
#[repr(C)]pub enum LLVMOpcode {
```## Show 67 variants

LLVMRet = 1,
LLVMBr = 2,
LLVMSwitch = 3,
LLVMIndirectBr = 4,
LLVMInvoke = 5,
LLVMUnreachable = 7,
LLVMCallBr = 67,
LLVMFNeg = 66,
LLVMAdd = 8,
LLVMFAdd = 9,
LLVMSub = 10,
LLVMFSub = 11,
LLVMMul = 12,
LLVMFMul = 13,
LLVMUDiv = 14,
LLVMSDiv = 15,
LLVMFDiv = 16,
LLVMURem = 17,
LLVMSRem = 18,
LLVMFRem = 19,
LLVMShl = 20,
LLVMLShr = 21,
LLVMAShr = 22,
LLVMAnd = 23,
LLVMOr = 24,
LLVMXor = 25,
LLVMAlloca = 26,
LLVMLoad = 27,
LLVMStore = 28,
LLVMGetElementPtr = 29,
LLVMTrunc = 30,
LLVMZExt = 31,
LLVMSExt = 32,
LLVMFPToUI = 33,
LLVMFPToSI = 34,
LLVMUIToFP = 35,
LLVMSIToFP = 36,
LLVMFPTrunc = 37,
LLVMFPExt = 38,
LLVMPtrToInt = 39,
LLVMIntToPtr = 40,
LLVMBitCast = 41,
LLVMAddrSpaceCast = 60,
LLVMICmp = 42,
LLVMFCmp = 43,
LLVMPHI = 44,
LLVMCall = 45,
LLVMSelect = 46,
LLVMUserOp1 = 47,
LLVMUserOp2 = 48,
LLVMVAArg = 49,
LLVMExtractElement = 50,
LLVMInsertElement = 51,
LLVMShuffleVector = 52,
LLVMExtractValue = 53,
LLVMInsertValue = 54,
LLVMFreeze = 68,
LLVMFence = 55,
LLVMAtomicCmpXchg = 56,
LLVMAtomicRMW = 57,
LLVMResume = 58,
LLVMLandingPad = 59,
LLVMCleanupRet = 61,
LLVMCatchRet = 62,
LLVMCatchPad = 63,
LLVMCleanupPad = 64,
LLVMCatchSwitch = 65,
}

## Variants§

### LLVMRet = 1

### LLVMBr = 2

### LLVMSwitch = 3

### LLVMIndirectBr = 4

### LLVMInvoke = 5

### LLVMUnreachable = 7

### LLVMCallBr = 67

### LLVMFNeg = 66

### LLVMAdd = 8

### LLVMFAdd = 9

### LLVMSub = 10

### LLVMFSub = 11

### LLVMMul = 12

### LLVMFMul = 13

### LLVMUDiv = 14

### LLVMSDiv = 15

### LLVMFDiv = 16

### LLVMURem = 17

### LLVMSRem = 18

### LLVMFRem = 19

### LLVMShl = 20

### LLVMLShr = 21

### LLVMAShr = 22

### LLVMAnd = 23

### LLVMOr = 24

### LLVMXor = 25

### LLVMAlloca = 26

### LLVMLoad = 27

### LLVMStore = 28

### LLVMGetElementPtr = 29

### LLVMTrunc = 30

### LLVMZExt = 31

### LLVMSExt = 32

### LLVMFPToUI = 33

### LLVMFPToSI = 34

### LLVMUIToFP = 35

### LLVMSIToFP = 36

### LLVMFPTrunc = 37

### LLVMFPExt = 38

### LLVMPtrToInt = 39

### LLVMIntToPtr = 40

### LLVMBitCast = 41

### LLVMAddrSpaceCast = 60

### LLVMICmp = 42

### LLVMFCmp = 43

### LLVMPHI = 44

### LLVMCall = 45

### LLVMSelect = 46

### LLVMUserOp1 = 47

### LLVMUserOp2 = 48

### LLVMVAArg = 49

### LLVMExtractElement = 50

### LLVMInsertElement = 51

### LLVMShuffleVector = 52

### LLVMExtractValue = 53

### LLVMInsertValue = 54

### LLVMFreeze = 68

### LLVMFence = 55

### LLVMAtomicCmpXchg = 56

### LLVMAtomicRMW = 57

### LLVMResume = 58

### LLVMLandingPad = 59

### LLVMCleanupRet = 61

### LLVMCatchRet = 62

### LLVMCatchPad = 63

### LLVMCleanupPad = 64

### LLVMCatchSwitch = 65

## Trait Implementations§

source§### impl Clone for LLVMOpcode

### impl Clone for LLVMOpcode

source§#### fn clone(&self) -> LLVMOpcode

#### fn clone(&self) -> LLVMOpcode

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 LLVMOpcode

### impl Debug for LLVMOpcode

source§### impl PartialEq for LLVMOpcode

### impl PartialEq for LLVMOpcode

source§#### fn eq(&self, other: &LLVMOpcode) -> bool

#### fn eq(&self, other: &LLVMOpcode) -> bool

This method tests for

`self`

and `other`

values to be equal, and is used
by `==`

.### impl Copy for LLVMOpcode

### impl StructuralPartialEq for LLVMOpcode

## Auto Trait Implementations§

### impl RefUnwindSafe for LLVMOpcode

### impl Send for LLVMOpcode

### impl Sync for LLVMOpcode

### impl Unpin for LLVMOpcode

### impl UnwindSafe for LLVMOpcode

## 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