From 85b9191ee48761857ae4c97d52b38648c4ea3f32 Mon Sep 17 00:00:00 2001
From: John Criswell
There are five different terminator instructions: the 'There are six different terminator instructions: the 'ret' instruction, the 'br'
instruction, the 'switch' instruction,
the 'invoke' instruction, the '
Binary operators are used to do most of the computation in a
program. They require two operands, execute an operation on them, and
-produce a single value. Although, that single value might represent
+produce a single value. The operands might represent
multiple data, as is the case with the packed data type.
The result value of a binary operator is not
necessarily the same type as its operands. Bitwise binary operators are used to do various forms of
bit-twiddling in a program. They are generally very efficient
-instructions, and can commonly be strength reduced from other
+instructions and can commonly be strength reduced from other
instructions. They require two operands, execute an operation on them,
and produce a single value. The resulting value of the bitwise binary
operators is always the same type as its first operand. A key design point of an SSA-based representation is how it
represents memory. In LLVM, no memory locations are in SSA form, which
makes things very simple. This section describes how to read, write,
-allocate and free memory in LLVM.
Access to the memory pointed to by the pointer is not longer defined +
Access to the memory pointed to by the pointer is no longer defined after this instruction executes.
%array = malloc [4 x ubyte] ; yields {[4 x ubyte]*}:array @@ -1428,7 +1428,7 @@ Instruction
The the 'alloca' instruction allocates sizeof(<type>)*NumElements +
The 'alloca' instruction allocates sizeof(<type>)*NumElements bytes of memory on the runtime stack, returning a pointer of the appropriate type to the program. The second form of the instruction is a shorter version of the first that defaults to allocating one element.
-- cgit v1.1