3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
4 target triple = "x86_64-unknown-linux-gnu"
5 @0 = external global i32 ; <ptr>:0 [#uses=1]
7 declare i64 @strlen(ptr nocapture) nounwind readonly
9 define fastcc ptr @1(ptr) nounwind {
10 br i1 false, label %3, label %2
12 ; <label>:2 ; preds = %1
15 ; <label>:3 ; preds = %1
16 %4 = call i64 @strlen(ptr %0) nounwind readonly ; <i64> [#uses=1]
17 %5 = trunc i64 %4 to i32 ; <i32> [#uses=2]
18 %6 = load i32, ptr @0, align 4 ; <i32> [#uses=1]
19 %7 = sub i32 %5, %6 ; <i32> [#uses=2]
20 %8 = sext i32 %5 to i64 ; <i64> [#uses=1]
21 %9 = sext i32 %7 to i64 ; <i64> [#uses=1]
22 %10 = sub i64 %8, %9 ; <i64> [#uses=1]
23 %11 = getelementptr i8, ptr %0, i64 %10 ; <ptr> [#uses=1]
24 %12 = icmp sgt i32 %7, 0 ; <i1> [#uses=1]
25 br i1 %12, label %13, label %14
27 ; <label>:13 ; preds = %13, %3
30 ; <label>:14 ; preds = %3
31 %15 = call noalias ptr @make_temp_file(ptr %11) nounwind ; <ptr> [#uses=0]
35 declare noalias ptr @make_temp_file(ptr)