Chris Lattner | 1373d87 | 2002-07-09 19:58:06 +0000 | [diff] [blame] | 1 | ; This file takes about 48 __MINUTES__ to assemble using as. This is WAY too |
| 2 | ; long. The type resolution code needs to be sped up a lot. |
Reid Spencer | 90008f4 | 2007-04-15 10:07:55 +0000 | [diff] [blame] | 3 | ; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f |
| 4 | ; END. |
Chris Lattner | 4767e01 | 2003-01-23 16:52:04 +0000 | [diff] [blame] | 5 | |
Chris Lattner | 1373d87 | 2002-07-09 19:58:06 +0000 | [diff] [blame] | 6 | %ALL_INTERSECTIONS_METHOD = type int (%OBJECT*, %RAY*, %ISTACK*)* |
| 7 | %BBOX = type { %BBOX_VECT, %BBOX_VECT } |
| 8 | %BBOX_TREE = type { short, short, %BBOX, %BBOX_TREE** } |
| 9 | %BBOX_VECT = type [3 x float] |
| 10 | %BLEND_MAP = type { short, short, short, int, %BLEND_MAP_ENTRY* } |
| 11 | %BLEND_MAP_ENTRY = type { float, ubyte, { %COLOUR, %PIGMENT*, %TNORMAL*, %TEXTURE*, %UV_VECT } } |
| 12 | %CAMERA = type { %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, double, double, int, double, double, int, double, %TNORMAL* } |
| 13 | %COLOUR = type [5 x float] |
| 14 | %COPY_METHOD = type sbyte* (%OBJECT*)* |
| 15 | %COUNTER = type { uint, uint } |
| 16 | %DENSITY_FILE = type { int, %DENSITY_FILE_DATA* } |
| 17 | %DENSITY_FILE_DATA = type { int, sbyte*, int, int, int, ubyte*** } |
| 18 | %DESTROY_METHOD = type void (%OBJECT*)* |
| 19 | %FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint } |
| 20 | %FILE_HANDLE = type { sbyte*, int, int, int, int, sbyte*, %FILE*, int, int (%FILE_HANDLE*, sbyte*, int*, int*, int, int)*, void (%FILE_HANDLE*, %COLOUR*, int)*, int (%FILE_HANDLE*, %COLOUR*, int*)*, void (%IMAGE*, sbyte*)*, void (%FILE_HANDLE*)* } |
| 21 | %FINISH = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %BBOX_VECT, %BBOX_VECT } |
| 22 | %FOG = type { int, double, double, double, %COLOUR, %VECTOR, %TURB*, float, %FOG* } |
| 23 | %FRAME = type { %CAMERA*, int, int, int, %LIGHT_SOURCE*, %OBJECT*, double, double, %COLOUR, %COLOUR, %COLOUR, %IMEDIA*, %FOG*, %RAINBOW*, %SKYSPHERE* } |
| 24 | %FRAMESEQ = type { int, double, int, int, double, int, int, double, int, double, int, double, uint, uint } |
| 25 | %IMAGE = type { int, int, int, int, int, short, short, %VECTOR, float, float, int, int, short, %IMAGE_COLOUR*, { %IMAGE_LINE*, ubyte** } } |
| 26 | %IMAGE_COLOUR = type { ushort, ushort, ushort, ushort, ushort } |
| 27 | %IMAGE_LINE = type { ubyte*, ubyte*, ubyte*, ubyte* } |
| 28 | %IMEDIA = type { int, int, int, int, int, double, double, int, int, int, int, %COLOUR, %COLOUR, %COLOUR, %COLOUR, double, double, double, double*, %PIGMENT*, %IMEDIA* } |
| 29 | %INSIDE_METHOD = type int (double*, %OBJECT*)* |
| 30 | %INTERIOR = type { int, int, float, float, float, float, float, %IMEDIA* } |
| 31 | %INTERSECTION = type { double, %VECTOR, %VECTOR, %OBJECT*, int, int, double, double, sbyte* } |
| 32 | %INVERT_METHOD = type void (%OBJECT*)* |
| 33 | %ISTACK = type { %ISTACK*, %INTERSECTION*, uint } |
| 34 | %LIGHT_SOURCE = type { %METHODS*, int, %OBJECT*, %TEXTURE*, %INTERIOR*, %OBJECT*, %OBJECT*, %BBOX, uint, %OBJECT*, %COLOUR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, double, double, double, double, double, %LIGHT_SOURCE*, ubyte, ubyte, ubyte, ubyte, int, int, int, int, int, %COLOUR**, %OBJECT*, [6 x %PROJECT_TREE_NODE*] } |
| 35 | %MATRIX = type [4 x %VECTOR_4D] |
| 36 | %METHODS = type { %ALL_INTERSECTIONS_METHOD, %INSIDE_METHOD, %NORMAL_METHOD, %COPY_METHOD, %ROTATE_METHOD, %ROTATE_METHOD, %ROTATE_METHOD, %TRANSFORM_METHOD, %DESTROY_METHOD, %DESTROY_METHOD } |
| 37 | %NORMAL_METHOD = type void (double*, %OBJECT*, %INTERSECTION*)* |
| 38 | %OBJECT = type { %METHODS*, int, %OBJECT*, %TEXTURE*, %INTERIOR*, %OBJECT*, %OBJECT*, %BBOX, uint } |
| 39 | %Opts = type { int, uint, sbyte, sbyte, sbyte, int, [150 x sbyte], [150 x sbyte], [150 x sbyte], [150 x sbyte], [150 x sbyte], double, double, uint, int, double, double, int, [25 x sbyte*], int, int, int, double, double, int, int, double, double, double, uint, int, int, int, int, %FRAMESEQ, double, int, double, double, double, double, double, int, int, int, int, int, int, int, int, int, int, int, int, int, [150 x sbyte], %SHELLDATA*, [150 x sbyte], int, int } |
| 40 | %PIGMENT = type { ushort, ushort, ushort, int, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, short, short, short, { float, %VECTOR }, %complex.float }, %COLOUR } |
| 41 | %PRIORITY_QUEUE = type { uint, uint, %QELEM* } |
| 42 | %PROJECT = type { int, int, int, int } |
| 43 | %PROJECT_QUEUE = type { uint, uint, %PROJECT_TREE_NODE** } |
| 44 | %PROJECT_TREE_NODE = type { ushort, %BBOX_TREE*, %PROJECT, ushort, %PROJECT_TREE_NODE** } |
| 45 | %QELEM = type { double, %BBOX_TREE* } |
| 46 | %RAINBOW = type { double, double, double, double, double, double, double, %VECTOR, %VECTOR, %VECTOR, %PIGMENT*, %RAINBOW* } |
| 47 | %RAY = type { %VECTOR, %VECTOR, int, [100 x %INTERIOR*] } |
| 48 | %RAYINFO = type { %VECTOR, %VECTOR, %VECTORI, %VECTORI } |
| 49 | %RGB = type [3 x float] |
| 50 | %ROTATE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)* |
| 51 | %SCALE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)* |
| 52 | %SHELLDATA = type { int, int, [250 x sbyte] } |
| 53 | %SKYSPHERE = type { int, %PIGMENT**, %TRANSFORM* } |
| 54 | %SNGL_VECT = type [3 x float] |
| 55 | %TEXTURE = type { ushort, ushort, ushort, int, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, short, short, short, { float, %VECTOR }, %complex.float }, %TEXTURE*, %PIGMENT*, %TNORMAL*, %FINISH*, %TEXTURE*, int } |
| 56 | %TNORMAL = type { ushort, ushort, ushort, int, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, short, short, short, { float, %VECTOR }, %complex.float }, float } |
| 57 | %TPATTERN = type { ushort, ushort, ushort, int, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, short, short, short, { float, %VECTOR }, %complex.float } } |
| 58 | %TRANSFORM = type { %MATRIX, %MATRIX } |
| 59 | %TRANSFORM_METHOD = type void (%OBJECT*, %TRANSFORM*)* |
| 60 | %TRANSLATE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)* |
| 61 | %TURB = type { ushort, %WARP*, %VECTOR, int, float, float } |
| 62 | %UV_VECT = type [2 x double] |
| 63 | %VECTOR = type [3 x double] |
| 64 | %VECTORI = type [3 x int] |
| 65 | %VECTOR_4D = type [4 x double] |
| 66 | %WARP = type { ushort, %WARP* } |
| 67 | %__FILE = type { int, ubyte*, ubyte*, ubyte, ubyte, uint, uint, uint } |
| 68 | %_h_val = type { [2 x uint], double } |
| 69 | %complex.float = type { float, float } |