Displaying 1 result from an estimated 1 matches for "i1_1".
Did you mean:
i11
2010 Aug 26
2
[LLVMdev] analysis and transformation of Machine IRs
...imes a loop is executed. In order to do
that, I am considering modifying the value of the induction variable or the
exit value before entering the loop. For example, if I wanted to execute the
loop (n - 3) times in the code above, I could modify it in the following
ways:
1) add 3 to v0
(I1) v0 :=
(I1_1) v0_1 := v0 + 3 <= add inserted here
...
(I2) v1 := phi(v0_1, v2) <= change operand
2) subtract 3 from v3.
(I0) v3 :=
(I0.a) v3_1 := v3 - 3 <= sub inserted here
...
(I4) cmp v2, v3_1 <= change operand
Is there a class or function that generates an add or sub instruction in a
target-i...