llvm Assembly Language Reference Manual
  1. Abstract
  2. Introduction
  3. Identifiers
  4. Type System
    1. Primitive Types
      1. Type Classifications
    2. Derived Types
      1. Array Type
      2. Method Type
      3. Pointer Type
      4. Structure Type
      5. Packed Type
  5. High Level Structure
    1. Module Structure
    2. Method Structure
  6. Instruction Reference
    1. Terminator Instructions
      1. 'ret' Instruction
      2. 'br' Instruction
      3. 'switch' Instruction
      4. 'call .. with' Instruction
    2. Unary Operations
      1. 'not' Instruction
    3. Binary Operations
      1. 'add' Instruction
      2. 'sub' Instruction
      3. 'mul' Instruction
      4. 'div' Instruction
      5. 'rem' Instruction
      6. 'setcc' Instructions
    4. Bitwise Binary Operations
      1. 'and' Instruction
      2. 'or' Instruction
      3. 'xor' Instruction
      4. 'shl' Instruction
      5. 'shr' Instruction
    5. Memory Access Operations
      1. 'malloc' Instruction
      2. 'free' Instruction
      3. 'alloca' Instruction
      4. 'load' Instruction
      5. 'store' Instruction
      6. 'getelementptr' Instruction
    6. Other Operations
      1. 'cast .. to' Instruction
      2. 'call' Instruction
      3. 'icall' Instruction
      4. 'phi' Instruction
    7. Builtin Functions
  7. TODO List
    1. Exception Handling Instructions
    2. Synchronization Instructions
  8. Possible Extensions
    1. 'tailcall' Instruction
    2. Global Variables
    3. Explicit Parrellelism
  9. Related Work

Abstract

Introduction


Well Formedness

Identifiers
Type System
   Primitive Types


Type Classifications

   Derived Types


Array Type


Method Type


Structure Type


Pointer Type


Packed Type

High Level Structure
   Module Structure
   Method Structure
Instruction Reference
   Terminator Instructions


'ret' Instruction


'br' Instruction


'switch' Instruction


'call .. with' Instruction

   Unary Operations


'not' Instruction

   Binary Operations


'add' Instruction


'sub' Instruction


'mul' Instruction


'div' Instruction


'rem' Instruction


'setcc' Instructions

   Bitwise Binary Operations


'and' Instruction


'or' Instruction


'xor' Instruction


'shl' Instruction


'shr' Instruction

   Memory Access Operations


'malloc' Instruction


'free' Instruction


'alloca' Instruction


'load' Instruction


'store' Instruction


'getelementptr' Instruction

   Other Operations


'cast .. to' Instruction


'call' Instruction


'icall' Instruction


'phi' Instruction

   Builtin Functions
TODO List


Synchronization Instructions

Possible Extensions


'tailcall' Instruction


Global Variables


Explicit Parrellelism

Related Work


Vectorized Architectures


Chris Lattner
Last modified: Sun Jul 8 19:25:56 CDT 2001