Displaying 4 results from an estimated 4 matches for "ivar2".
Did you mean:
var2
2016 Feb 09
2
Modified LLVM IR
Hi,
I want to edit LLVM generated IR file, like as given below,
Original LLVM IR file,
@.str2 = private unnamed_addr constant [17 x i8] c"\0AI am in
one_11\0A\00", align 1
; Function Attrs: nounwind
define i32 @one_1(i32 %ivar1, i32 %ivar2) #0 {
entry:
%ivar1.addr = alloca i32, align 4
%ivar2.addr = alloca i32, align 4
%isum = alloca i32, align 4
store i32 %ivar1, i32* %ivar1.addr, align 4
store i32 %ivar2, i32* %ivar2.addr, align 4
store i32 0, i32* %isum, align 4
%call = call i32 (i8*, ...)* @printf(i8* getelementptr...
2016 Feb 10
2
Modified LLVM IR
...ant to edit LLVM generated IR file, like as given below,
>>
>> Original LLVM IR file,
>> @.str2 = private unnamed_addr constant [17 x i8] c"\0AI am in
>> one_11\0A\00", align 1
>>
>> ; Function Attrs: nounwind
>> define i32 @one_1(i32 %ivar1, i32 %ivar2) #0 {
>> entry:
>> %ivar1.addr = alloca i32, align 4
>> %ivar2.addr = alloca i32, align 4
>> %isum = alloca i32, align 4
>> store i32 %ivar1, i32* %ivar1.addr, align 4
>> store i32 %ivar2, i32* %ivar2.addr, align 4
>> store i32 0, i32* %isum, al...
2016 Feb 10
2
Modified LLVM IR
...>>>>
>>>> Original LLVM IR file,
>>>> @.str2 = private unnamed_addr constant [17 x i8] c"\0AI am in
>>>> one_11\0A\00", align 1
>>>>
>>>> ; Function Attrs: nounwind
>>>> define i32 @one_1(i32 %ivar1, i32 %ivar2) #0 {
>>>> entry:
>>>> %ivar1.addr = alloca i32, align 4
>>>> %ivar2.addr = alloca i32, align 4
>>>> %isum = alloca i32, align 4
>>>> store i32 %ivar1, i32* %ivar1.addr, align 4
>>>> store i32 %ivar2, i32* %ivar2.addr...
2016 Feb 10
2
Modified LLVM IR
...nal LLVM IR file,
>>>>>> @.str2 = private unnamed_addr constant [17 x i8] c"\0AI am in
>>>>>> one_11\0A\00", align 1
>>>>>>
>>>>>> ; Function Attrs: nounwind
>>>>>> define i32 @one_1(i32 %ivar1, i32 %ivar2) #0 {
>>>>>> entry:
>>>>>> %ivar1.addr = alloca i32, align 4
>>>>>> %ivar2.addr = alloca i32, align 4
>>>>>> %isum = alloca i32, align 4
>>>>>> store i32 %ivar1, i32* %ivar1.addr, align 4
>>>&...