From: Chris Lattner
- [40 x i32 ] - [41 x i32 ] - [40 x i8] - |
-
- Array of 40 32-bit integer values. - Array of 41 32-bit integer values. - Array of 40 8-bit integer values. - |
+ [40 x i32] | +Array of 40 32-bit integer values. | +
[41 x i32] | +Array of 41 32-bit integer values. | +||
[4 x i8] | +Array of 4 8-bit integer values. |
Here are some examples of multidimensional arrays:
- [3 x [4 x i32]] - [12 x [10 x float]] - [2 x [3 x [4 x i16]]] - |
-
- 3x4 array of 32-bit integer values. - 12x10 array of single precision floating point values. - 2x3x4 array of 16-bit integer values. - |
+ [3 x [4 x i32]] | +3x4 array of 32-bit integer values. | +
[12 x [10 x float]] | +12x10 array of single precision floating point values. | +||
[2 x [3 x [4 x i16]]] | +2x3x4 array of 16-bit integer values. |
- [4x i32]* - i32 (i32 *) * - i32 addrspace(5)* - |
-
- A pointer to array of
- four i32 values - A pointer to a [4x i32]* |
+ A pointer to array of four i32 values. | +
i32 (i32 *) * | + A pointer to a function that takes an i32*, returning an
- i32. - A pointer to an i32 value that resides - in address space 5. - |
+ i32.
+ |
i32 addrspace(5)* | +A pointer to an i32 value + that resides in address space #5. |
- <4 x i32> - <8 x float> - <2 x i64> - |
-
- Vector of 4 32-bit integer values. - Vector of 8 floating-point values. - Vector of 2 64-bit integer values. - |
+ <4 x i32> | +Vector of 4 32-bit integer values. | +
<8 x float> | +Vector of 8 32-bit floating-point values. | +||
<2 x i64> | +Vector of 2 64-bit integer values. |
- opaque - | -
- An opaque type. - |
+ opaque | +An opaque type. |