File: 2005-02-11-InvokeCrash.ll

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (27 lines) | stat: -rw-r--r-- 1,089 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; RUN: opt < %s -passes=indvars -disable-output

define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() personality ptr @__gxx_personality_v0 {
entry:
        %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( )
                        to label %invoke_cont.0 unwind label %cond_true.1               ; <i32> [#uses=2]

invoke_cont.0:          ; preds = %entry
        %tmp.4.i = bitcast i32 %tmp.7 to i32            ; <i32> [#uses=0]
        %tmp.14.0.i5 = add i32 %tmp.7, -1               ; <i32> [#uses=1]
        br label %no_exit.i

no_exit.i:              ; preds = %no_exit.i, %invoke_cont.0
        %tmp.14.0.i.0 = phi i32 [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ]           ; <i32> [#uses=1]
        %tmp.14.0.i = add i32 %tmp.14.0.i.0, -1         ; <i32> [#uses=1]
        br label %no_exit.i

cond_true.1:            ; preds = %entry
        %exn = landingpad {ptr, i32}
                 cleanup
        resume { ptr, i32 } %exn
}

declare i32 @__gxx_personality_v0(...)

declare i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector()