search for: 22heya

Displaying 1 result from an estimated 1 matches for "22heya".

Did you mean: 20hey
2008 Jan 06
2
[LLVMdev] trouble with getelementptr
...ModuleID = 'sample.lz' @.str1 = internal constant [20 x i8] c"\22hello, cruel world\22" ; <[20 x i8]*> [#uses=1] @.str4 = internal constant [9 x i8] c"\22hello, \22" ; <[9 x i8]*> [#uses=1] @.str7 = internal constant [7 x i8] c"\22heya!\22" ; <[7 x i8]*> [#uses=1] declare i32 @puts(i8*) declare i8 @strcat(i8*, i8*) define i32 @main() { mainBlock: %tmp2 = getelementptr [20 x i8]* @.str1, i64 0, i64 0 ; <i8*> [#uses=1] %tmp3 = call i32 @puts( i8* %tmp2 ) ; <i...