search for: _crit_edge6

Displaying 1 result from an estimated 1 matches for "_crit_edge6".

Did you mean: _crit_edge
2010 Nov 23
1
[LLVMdev] Unrolling loops into constant-time expressions
...0; for(int i = 0; i < x; i++) { for(int j = 0; j < x; j++) { ret += 1; } } return ret; } and the generated code is: define i32 @loops(i32 %x) nounwind readnone { ; <label>:0 %1 = icmp sgt i32 %x, 0 br i1 %1, label %2, label %._crit_edge6 ; <label>:2 ; preds = %0, %2 %i.03.us = phi i32 [ %3, %2 ], [ 0, %0 ] %ret.14.us = phi i32 [ %tmp, %2 ], [ 0, %0 ] %tmp = add i32 %ret.14.us, %x %3 = add nsw i32 %i.03.us, 1 %exitcond = icmp eq i32 %3, %x br i1 %exitcond, label %....