Displaying 5 results from an estimated 5 matches for "add18".
Did you mean:
add1
2013 Oct 19
2
[LLVMdev] Name of Virtual Registers
How can I get the name of the virtual Registers present on an instruction.
eg. %add18 = add nsw i32 %mul17, %37
in this case I want to extract the name of the virutal registers as "add18",
"mul17","37".
This can easily be done in the case of store Instruction
eg. store i32 %add20, i32* %t, align 4
in this case functions like instr->getOperand(0)...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
..., align 1, !tbaa !0
%conv44 = zext i8 %tmp43 to i32
%tmp50 = load i8* %arrayidx49, align 1, !tbaa !0
%conv51 = zext i8 %tmp50 to i32
%sub.i183 = add nsw i32 %conv, -128
%sub6.i184 = add nsw i32 %conv51, -128
%tmp.i185 = mul i32 %conv44, 298
%mul17.i186 = mul nsw i32 %sub6.i184, 459
%add18.i187 = add i32 %tmp.i185, -4640
%add19.i188 = add i32 %mul17.i186, %add18.i187
%shr.i189 = ashr i32 %add19.i188, 8
%mul26.i190 = mul nsw i32 %sub.i183, -55
%mul30.i191 = mul nsw i32 %sub6.i184, -136
%add31.i192 = add i32 %add18.i187, %mul26.i190
%add32.i193 = add i32 %add31.i192, %mul30...
2011 Jul 17
0
[LLVMdev] Trying to optimize out store/load pair
...rayidx42, align 1, !tbaa !0
%conv44 = zext i8 %tmp43 to i32
%tmp50 = load i8* %arrayidx49, align 1, !tbaa !0
%conv51 = zext i8 %tmp50 to i32
%sub.i183 = add nsw i32 %conv, -128
%sub6.i184 = add nsw i32 %conv51, -128
%tmp.i185 = mul i32 %conv44, 298
%mul17.i186 = mul nsw i32 %sub6.i184, 459
%add18.i187 = add i32 %tmp.i185, -4640
%add19.i188 = add i32 %mul17.i186, %add18.i187
%shr.i189 = ashr i32 %add19.i188, 8
%mul26.i190 = mul nsw i32 %sub.i183, -55
%mul30.i191 = mul nsw i32 %sub6.i184, -136
%add31.i192 = add i32 %add18.i187, %mul26.i190
%add32.i193 = add i32 %add31.i192, %mul30.i191...
2013 Oct 21
0
[LLVMdev] How to fix the operand references of cloned instruction
...does not dominate all uses!".
example:-
original function and block:-
%a = alloca i32, align 4
%x = alloca i32, align 4
%y = alloca i32, align 4
%35 = load i32* %x, align 4
%36 = load i32* %y, align 4
%37 = load i32* %a, align 4
%mul17 = mul nsw i32 %35, %36
%add18 = add nsw i32 %mul17, %37
When cloned in a newly created basic block of newly created funtion :-
%0 = alloca i32, align 4
%1 = load i32* %a, align 4
%2 = alloca i32, align 4
%3 = load i32* %y, align 4
%4 = alloca i32, align 4
%5 = load i32* %x, align 4
%6 = mul nsw i32...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...%return.loopexit110, label %while.condthread-pre-split
while.cond20.preheader: ; preds = %while.body17, %while.cond12.preheader
%.lcssa = phi i16 [ %2, %while.cond12.preheader ], [ %12, %while.body17 ]
%sc.1.lcssa = phi i32 [ %sc.0.lcssa, %while.cond12.preheader ], [ %add18, %while.body17 ]
%cmp23104 = icmp sgt i16 %.lcssa, -1
br i1 %cmp23104, label %while.body25.lr.ph, label %return
while.body25.lr.ph: ; preds = %while.cond20.preheader
%add.ptr.i84 = getelementptr inbounds i16* %x, i32 12
br label %while.body25
while.body17:...