Displaying 4 results from an estimated 4 matches for "bb2_crit_edge".
2010 Mar 04
1
[LLVMdev] Doubt with GVNPRE
...; <i32*> [#uses=3]
%0 = call i32 (i8*, ...)* @scanf(i8* getelementptr inbounds ([5 x i8]*
@.str, i32 0, i32 0), i32* %a, i32* %b) nounwind ; <i32> [#uses=0]
%1 = icmp sgt i32 %argc, 1 ; <i1> [#uses=1]
br i1 %1, label %bb, label %entry.bb2_crit_edge
entry.bb2_crit_edge: ; preds = %entry
br label %bb2
bb: ; preds = %entry
%2 = load i32* %a, align 4 ; <i32> [#uses=1]
%3 = load i32* %b, align 4 ; <i32> [#uses=1]...
2010 Jun 12
0
[LLVMdev] experimenting with partial evaluation
...next part --------------
fib(2)=1
GV:0x309e20
FN:0x309e20
RAW:0xb40070
a0=0x311868
Ffib8=0x31f1d8<_Z3fibi1>
define internal i32 @_Z3fibi1() nounwind readnone {
entry:
%0 = icmp sgt i32 2, 2 ; <i1> [#uses=1]
br i1 %0, label %entry.bb_crit_edge, label %entry.bb2_crit_edge
entry.bb2_crit_edge: ; preds = %entry
br label %bb2
entry.bb_crit_edge: ; preds = %entry
br label %bb
bb: ; preds = %bb, %entry.bb_crit_edge
%lsr.iv = phi i32 [ %lsr.iv.next, %bb ], [ 2...
2010 Jun 11
2
[LLVMdev] experimenting with partial evaluation
Hello !
I wanted to experiment with partial evaluation and llvm seems to be the
right tool for this, but since I'm new to it of course I'm a bit lost !
I'll try to explain what I want to do in the simplest possible way :
I have a C program.
In this program, there is a function f( a,b ).
I have a value A for a.
I want to specialise f() so I get a function fA( b ) which is the same as
2010 Aug 11
1
[LLVMdev] Need advice on writing scheduling pass
...%reg1039<def> = MOVr %reg1030<kill>, pred:14, pred:%reg0, opt:%reg0
%reg1040<def> = MOVr %reg1029<kill>, pred:14, pred:%reg0, opt:%reg0
Bcc <BB#3>, pred:1, pred:%CPSR<kill>
Successors according to CFG: BB#4 BB#3
BB#4: derived from LLVM BB %bb.bb2_crit_edge
Predecessors according to CFG: BB#3
%reg1041<def> = MOVr %reg1028<kill>, pred:14, pred:%reg0, opt:%reg0
Successors according to CFG: BB#5
(after transformation)
BB#3:
%reg1028<def> = MOVr %reg1040<kill>, pred:14, pred:%reg0, opt:%reg0
%reg103...