diff --git a/docs/LangRef.html b/docs/LangRef.html index e7bfe91a661..a664f328d5d 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -311,8 +311,11 @@ These different primitive types fall into a few useful classifications:

first classbool, ubyte, sbyte, ushort, short,
uint, int, ulong, long, float, double,
pointer

- - +The first class types are perhaps the most +important. Values of these types are the only ones which can be produced by +instructions, passed as arguments, or used as operands to instructions. This +means that all structures and arrays must be manipulated either by pointer or by +component.

@@ -1053,10 +1056,10 @@ Forum.

boolean value based on a comparison of their two operands.

Arguments:
The two arguments to the 'setcc' -instructions must be of first class or pointer type (it is not possible to compare -'label's, 'array's, 'structure' or 'void' -values, etc...). Both arguments must have identical types.

+instructions must be of first class type (it is not +possible to compare 'label's, 'array's, 'structure' +or 'void' values, etc...). Both arguments must have identical +types.

Semantics:
@@ -1601,7 +1604,9 @@ graph representing the function.

The type of the incoming values are specified with the first type field. After this, the 'phi' instruction takes a list of pairs as arguments, with -one pair for each predecessor basic block of the current block.

+one pair for each predecessor basic block of the current block. Only values of +first class type may be used as the value arguments +to the PHI node. Only labels be used as the label arguments.

There must be no non-phi instructions between the start of a basic block and the PHI instructions: i.e. PHI instructions must be first in a basic block.

@@ -1639,7 +1644,8 @@ casting pointers).

Arguments:
The 'cast' instruction takes a value to cast, which must be a first -class value, and a type to cast it to, which must also be a first class type.

+class value, and a type to cast it to, which must also be a first class type.

Semantics:
@@ -1951,7 +1957,7 @@ arbitrarily complex and require memory allocation, for example.


-Last modified: Mon Oct 27 12:00:00 CDT 2003 +Last modified: Wed Oct 29 19:30:46 CST 2003