Home | History | Annotate | Download | only in IndVarSimplify
      1 ; RUN: opt < %s -indvars -disable-output
      2 
      3 define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() {
      4 entry:
      5         %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )
      6                         to label %invoke_cont.0 unwind label %cond_true.1               ; <i32> [#uses=2]
      7 
      8 invoke_cont.0:          ; preds = %entry
      9         %tmp.4.i = bitcast i32 %tmp.7 to i32            ; <i32> [#uses=0]
     10         %tmp.14.0.i5 = add i32 %tmp.7, -1               ; <i32> [#uses=1]
     11         br label %no_exit.i
     12 
     13 no_exit.i:              ; preds = %no_exit.i, %invoke_cont.0
     14         %tmp.14.0.i.0 = phi i32 [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ]           ; <i32> [#uses=1]
     15         %tmp.14.0.i = add i32 %tmp.14.0.i.0, -1         ; <i32> [#uses=1]
     16         br label %no_exit.i
     17 
     18 cond_true.1:            ; preds = %entry
     19         %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
     20                  cleanup
     21         resume { i8*, i32 } %exn
     22 }
     23 
     24 declare i32 @__gxx_personality_v0(...)
     25 
     26 declare i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector()
     27 
     28