search for: tmp101

Displaying 3 results from an estimated 3 matches for "tmp101".

Did you mean: tmp10
2011 Aug 30
2
[LLVMdev] Getting rid of phi instructions?
Hi all, is there a pass to get rid of phi-instructions in a function? There's no loop involved. I have a function approx. like this: void @func() { entry: … bb1: … bb2: … %tmp100 = phi i32 [ 0, bb1 ], [ 1, bb2 ] … %tmp101 = getelementptr …, %tmp100 tail call void @anotherfunc(…, %tmp101) ret void } I would like it to rather be something like this: void @func() { entry: … bb1: ... %tmp90 = getelementptr …, %tmp89 tail call void @anotherfunc(%tmp90) ret void bb2: … %tmp101 = getelementptr …, %tmp100 tail c...
2011 Aug 30
0
[LLVMdev] Getting rid of phi instructions?
...ass to get rid of phi-instructions in a function? There's no loop involved. reg2mem. > I have a function approx. like this: > > void @func() { > entry: >        … > bb1: >        … > bb2: >        … >        %tmp100 = phi i32 [ 0, bb1 ], [ 1, bb2 ] … >        %tmp101 = getelementptr …, %tmp100 >        tail call void @anotherfunc(…, %tmp101) >        ret void > } > > I would like it to rather be something like this: > > void @func() { > entry: >        … > bb1: >        ... >        %tmp90 = getelementptr …, %tmp89 >      ...
2008 Jan 12
1
[LLVMdev] Labels
...%tmp22 = load i32* @yybegin, align 4 %tmp23 = load i32* @yyend, align 4 call void @yyDo(void (i8*, i32)* @yy_6_body, i32 %tmp22, i32 %tmp23) br label %l6 l7: store i32 %yypos6, i32* @yypos store i32 %yythunkpos6, i32 * @yythunkpos %tmp24 = call i32 @yymatchChar(i8 101) %tmp25 = icmp ne i32 %tmp101, 0 br i1 %tmp25, label %StringNotEqualZero6, label %StringEqualZero6 StringNotEqualZero6: br label %l5 StringEqualZero6: %tmp26 = load i32* @yybegin, align 4 %tmp27 = load i32* @yyend, align 4 call void @yyDo(void (i8*, i32)* @yy_7_body, i32 %tmp26, i32 %tmp27) l6: br label %l2 l5: store i...