Displaying 3 results from an estimated 3 matches for "indvar26".
Did you mean:
indvar2
2007 Sep 05
2
[LLVMdev] reg2mem pass
...2;
}
return sum;
}
-------------------------------------------------------------
I could get the corresponding LLVM assembly with llvm-gcc and llvm-dis:
-------------------------------------------------------------
int %foo() {
entry:
br label %bb8.outer
bb8.outer: ; preds = %bb10, %entry
%indvar26 = phi uint [ 0, %entry ], [ %indvar.next27, %bb10 ] ; <uint> [#uses=2]
%sum.0.pn.ph = phi int [ 0, %entry ], [ %sum.1, %bb10 ] ; <int> [#uses=1]
%i.0.0.ph = cast uint %indvar26 to int ; <int> [#uses=1]
br label %bb8
bb3: ; preds = %bb8
%indvar.next = add uint %indvar, 1...
2008 Feb 04
0
[LLVMdev] Question to Chris
...C;
>
>(where the motion of B is copy it to the other side of all control
>flows into A)
>
>When you do this, you'll notice you get:
>
>$ cat t.c
>int foo() {
> unsigned indvar_next27, indvar_next;
> int sum_1, sum_0_pn, i_0_pn;
> //entry:
> unsigned indvar26 = 0;
> int sum_0_pn_ph = 0;
> //brlabel %bb8_outer
> //bb8_outer:
> for (indvar_next27=0; indvar_next27 != 10; ){
> int i_0_0_ph = (int) indvar26;
> unsigned indvar= 0;
> int sum_0_pn = sum_0_pn_ph;
> int i_0_pn = i_0_0_ph;
> //brlabel %bb8
>...
2008 Feb 02
4
[LLVMdev] Question to Chris
Dear Prof.Adve and Bill,
I deeply appreciate your comments and concerns.
(Please forgive my late response. I've tried some more cases to make this issue)
As Prof.Adve mentioned, I need to explain exactly what my problem is, but I have no good ability that I can explain it in this plain text space.
For this reason, I made a .pdf file and linked it as follows: