Displaying 2 results from an estimated 2 matches for "addnumbers".
2018 Dec 14
3
LLVM Alias Analysis problem
Dear LLVM developers,
My name is Artem Vopilov, I am a student at TU Darmstadt. I am writing to you again to ask about Alias Analysis.
Now I attached IR code and C code of program I analyze with Alias Analysis.
Running commands "opt -analyze -aa-eval -print-all-alias-modref-info" and for printing sets of alias "opt -analyze -aa-eval -print-alias-sets" gives me the results,
2018 Dec 14
2
LLVM Alias Analysis problem
...t;> %1 = load i32* %0, align 4
>> store i32 %1, i32* %b, align 4
>> %2 = load i32** %ptrb, align 8
>> store i32 4, i32* %2, align 4
>> %3 = load i32* %a, align 4
>> %4 = load i32** %ptrb, align 8
>> %5 = load i32* %4, align 4
>> %call = call i32 @addNumbers(i32 %3, i32 %5)
>> store i32 %call, i32* %sum, align 4
>> %6 = load i32* %sum, align 4
>> ret i32 %6
>> }
>>
>> ; Function Attrs: nounwind uwtable
>> define i32 @addNumbers(i32 %a, i32 %b) #0 {
>> entry:
>> %a.addr = alloca i32, align 4
>...