Module llvm_ir::instruction [−][src]
Modules
Structs
Arithmetic shift right. See LLVM 12 docs on the ‘ashr’ instruction
Integer add. See LLVM 12 docs on the ‘add’ instruction
Convert a pointer to a different address space. See LLVM 12 docs on the ‘addrspacecast’ instruction
Allocate memory on the stack. See LLVM 12 docs on the ‘alloca’ instruction
Bitwise logical and. See LLVM 12 docs on the ‘and’ instruction
Atomic read-modify-write. See LLVM 12 docs on the ‘atomicrmw’ instruction
Convert between types without changing any bits. See LLVM 12 docs on the ‘bitcast’ instruction
Function call. See LLVM 12 docs on the ‘call’ instruction
Used for exception handling. See LLVM 12 docs on the ‘catchpad’ instruction
Used for exception handling. See LLVM 12 docs on the ‘cleanuppad’ instruction
Atomic compare and exchange. See LLVM 12 docs on the ‘cmpxchg’ instruction
Get an element from a vector at a specified index. See LLVM 12 docs on the ‘extractelement’ instruction
Extract the value of a member field from an aggregate (struct or array) type. See LLVM 12 docs on the ‘extractvalue’ instruction
Floating-point add. See LLVM 12 docs on the ‘fadd’ instruction
Compare floating-point values or vectors of floating-point values. See LLVM 12 docs on the ‘fcmp’ instruction
Floating-point divide. See LLVM 12 docs on the ‘fdiv’ instruction
Floating-point multiply. See LLVM 12 docs on the ‘fmul’ instruction
Floating-point unary negation. See LLVM 12 docs on the ‘fneg’ instruction
Extend a floating-point value. See LLVM 12 docs on the ‘fpext’ instruction
Convert floating-point to signed integer. See LLVM 12 docs on the ‘fptosi’ instruction
Convert floating-point to unsigned integer. See LLVM 12 docs on the ‘fptoui’ instruction
Truncate a floating-point value. See LLVM 12 docs on the ‘fptrunc’ instruction
Floating-point remainder. See LLVM 12 docs on the ‘frem’ instruction
Floating-point subtract. See LLVM 12 docs on the ‘fsub’ instruction
Memory-ordering fence. See LLVM 12 docs on the ‘fence’ instruction
Stop the propagation of undef
or poison
values.
See LLVM 12 docs on the ‘freeze’ instruction
Get the address of a subelement of an aggregate data structure. Only performs address calculation, does not actually access memory. See LLVM 12 docs on the ‘getelementptr’ instruction
Compare integers, pointers, or vectors of integers or pointers. See LLVM 12 docs on the ‘icmp’ instruction
Insert an element into a vector at a specified index. See LLVM 12 docs on the ‘insertelement’ instruction
Insert a value into a member field of an aggregate (struct or array) type. See LLVM 12 docs on the ‘insertvalue’ instruction
Convert integer to pointer. See LLVM 12 docs on the ‘inttoptr’ instruction
Logical shift right. See LLVM 12 docs on the ‘lshr’ instruction
Used for exception handling. See LLVM 12 docs on the ‘landingpad’ instruction
Load a value from memory. See LLVM 12 docs on the ‘load’ instruction
Integer multiply. See LLVM 12 docs on the ‘mul’ instruction
Bitwise logical inclusive or. See LLVM 12 docs on the ‘or’ instruction
Convert pointer to integer. See LLVM 12 docs on the ‘ptrtoint’ instruction
Signed integer divide. See LLVM 12 docs on the ‘sdiv’ instruction
Sign-extend. See LLVM 12 docs on the ‘sext’ instruction
Convert signed integer to floating-point. See LLVM 12 docs on the ‘sitofp’ instruction
Signed integer remainder. See LLVM 12 docs on the ‘srem’ instruction
Choose between two values depending on a condition. See LLVM 12 docs on the ‘select’ instruction
Shift left. See LLVM 12 docs on the ‘shl’ instruction
Permute elements from two input vectors into a single output vector. See LLVM 12 docs on the ‘shufflevector’ instruction
Store a value to memory. See LLVM 12 docs on the ‘store’ instruction
Integer subtract. See LLVM 12 docs on the ‘sub’ instruction
Truncate. See LLVM 12 docs on the ‘trunc’ instruction
Unsigned integer divide. See LLVM 12 docs on the ‘udiv’ instruction
Convert unsigned integer to floating-point. See LLVM 12 docs on the ‘uitofp’ instruction
Unsigned integer remainder. See LLVM 12 docs on the ‘urem’ instruction
Used to access variadic arguments passed to a function. See LLVM 12 docs on the ‘va_arg’ instruction
Bitwise logical exclusive or. See LLVM 12 docs on the ‘xor’ instruction
Zero-extend. See LLVM 12 docs on the ‘zext’ instruction
Enums
Non-terminator instructions.