Displaying 3 results from an estimated 3 matches for "bb32".
Did you mean:
bb2
2008 Dec 01
2
[LLVMdev] Question in LLVM IR
...=0;
if(a+b>10){
x=b-a;
y=i-2*b;
}else{
x=2*a+b;
y=b-2*i;
}
return(x+y);
}
translates to
%tmp11 = add i32 %a.0, %b.0
%tmp12 = icmp sgt i32 %tmp11, 10
br i1 %tmp12, label %bb15, label %bb32
bb15: ; preds = %entry
%tmp29.pn38 = shl i32 %b.0, 1
%tmp18 = sub i32 %i, %a.0
%y.039 = add i32 %tmp18, %b.0
%tmp3540 = sub i32 %y.039, %tmp29.pn38
ret i32 %tmp3540
bb32: ; preds = %entry...
2007 Jul 12
1
[LLVMdev] backend problem with LiveInterval::removeRange
...TokenFactor 0x88ca740:1, 0x88ca840:1
0x88ca740: <multiple use>
0x88ca840: <multiple use>
0x88ca8d8: i32 = add 0x88ca740, 0x88ca840
0x88c9640: <multiple use>
0x88c9970: <multiple use>
0x88ca9a8: ch = store 0x88ca940, 0x88ca8d8, 0x88c9640, 0x88c9970
bb32: 0x88c8280, LLVM BB @0x88becf8, ID#10:
Successors according to CFG: 0x88c8310 (#11)
===== Instruction selection begins:
Selecting: 0x88ca9a8: ch = store 0x88ca940, 0x88ca8d8, 0x88c9640, 0x88c9970
=> 0x88c9d08: ch = SW 0x88ca8d8, 0x88c9540, 0x88ca6a8, 0x88ca940
Selecting: 0x88ca8d8: i32 = add...
2008 Jan 12
1
[LLVMdev] Labels
...%tmp3
cond_next:
%tmp25 = load i8** @yytext, align 4
store i8 0, i8* %tmp25, align 1
ret i32 0
}
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
define void @yyDone()
{
entry:
%tmp2740 = load i32* @yythunkpos, align 4
%tmp2942 = icmp sgt i32 %tmp2740, 0
br i1 %tmp2942, label %bb, label %bb32
bb:
%pos.033.0 = phi i32 [ 0, %entry ], [ %tmp25, %cond_next ]
%tmp = load %struct.yythunk** @yythunks, align 4
%tmp4 = getelementptr %struct.yythunk* %tmp, i32 %pos.033.0, i32 1
%tmp5 = load i32* %tmp4, align 4
%tmp6 = icmp eq i32 %tmp5, 0
%tmp16 = getelementptr %struct.yythunk* %tmp, i32 %...