Displaying 2 results from an estimated 2 matches for "ret_0".
Did you mean:
ret__
2016 Feb 07
5
Assigning constant value without alloca/load/store
...i32 %var_c) {
; Initializing registers
%reg_a_0 = select i1 true, i32 0, i32 0
%reg_b_0 = select i1 true, i32 0, i32 0
%reg_c_0 = select i1 true, i32 0, i32 0
; Translated instructions
%reg_a_1 = add i32 %var_c, 2
%reg_a_2 = select i1 true, i32 12, i32 0
; Prepare return values
%ret_0 = insertvalue { i32, i32, i32 } undef, i32 %reg_a_2, 0
%ret_1 = insertvalue { i32, i32, i32 } %ret_0, i32 %reg_b_0, 1
%ret_2 = insertvalue { i32, i32, i32 } %ret_1, i32 %reg_c_0, 2
ret { i32, i32, i32 } %ret_2
}
I am basically using "select i1 true, i32 1, i32 0" so after optimiza...
2016 Feb 08
2
Assigning constant value without alloca/load/store
...2 0
>> %reg_b_0 = select i1 true, i32 0, i32 0
>> %reg_c_0 = select i1 true, i32 0, i32 0
>>
>> ; Translated instructions
>> %reg_a_1 = add i32 %var_c, 2
>> %reg_a_2 = select i1 true, i32 12, i32 0
>>
>> ; Prepare return values
>> %ret_0 = insertvalue { i32, i32, i32 } undef, i32 %reg_a_2, 0
>> %ret_1 = insertvalue { i32, i32, i32 } %ret_0, i32 %reg_b_0, 1
>> %ret_2 = insertvalue { i32, i32, i32 } %ret_1, i32 %reg_c_0, 2
>>
>> ret { i32, i32, i32 } %ret_2
>> }
>>
>> I am basically usi...