Andrew Lenharth | 24cc46e | 2006-03-27 23:38:48 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | analyze -datastructure |
| 2 | |
| 3 | target endian = little |
| 4 | target pointersize = 32 |
| 5 | target triple = "i686-pc-linux-gnu" |
| 6 | deplibs = [ "c", "crtend", "stdc++" ] |
| 7 | %struct.Blend_Map_Entry = type { float, ubyte, { [2 x double], [4 x ubyte] } } |
| 8 | %struct.Blend_Map_Struct = type { short, short, short, int, %struct.Blend_Map_Entry* } |
| 9 | %struct.Image_Colour_Struct = type { ushort, ushort, ushort, ushort, ushort } |
| 10 | %struct.Image_Struct = type { int, int, int, int, int, short, short, [3 x double], float, float, int, int, short, %struct.Image_Colour_Struct*, { ubyte** } } |
| 11 | %struct.Pattern_Struct = type { ushort, ushort, ushort, int, float, float, float, %struct.Warps_Struct*, %struct.Pattern_Struct*, %struct.Blend_Map_Struct*, { [3 x double], [4 x ubyte] } } |
| 12 | %struct.Tnormal_Struct = type { ushort, ushort, ushort, int, float, float, float, %struct.Warps_Struct*, %struct.Pattern_Struct*, %struct.Blend_Map_Struct*, { [3 x double], [4 x ubyte] }, float } |
| 13 | %struct.Warps_Struct = type { ushort, %struct.Warps_Struct* } |
| 14 | |
| 15 | implementation ; Functions: |
| 16 | |
| 17 | declare fastcc %struct.Image_Struct* %Parse_Image() |
| 18 | |
| 19 | fastcc void %Parse_Bump_Map(%struct.Tnormal_Struct* %Tnormal) { |
| 20 | entry: |
| 21 | %tmp.0 = tail call fastcc %struct.Image_Struct* %Parse_Image( ) ; <%struct.Image_Struct*> [#uses=1] |
| 22 | %tmp.28 = getelementptr %struct.Tnormal_Struct* %Tnormal, int 0, uint 10 ; <{ [3 x double], [4 x ubyte] }*> [#uses=1] |
| 23 | %tmp.32 = cast { [3 x double], [4 x ubyte] }* %tmp.28 to %struct.Image_Struct** ; <%struct.Image_Struct**> [#uses=1] |
| 24 | store %struct.Image_Struct* %tmp.0, %struct.Image_Struct** %tmp.32 |
| 25 | ret void |
| 26 | } |