6.79/3.25 MAYBE 6.95/3.34 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 6.95/3.34 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 6.95/3.34 6.95/3.34 6.95/3.34 Termination of the given C Problem could not be shown: 6.95/3.34 6.95/3.34 (0) C Problem 6.95/3.34 (1) CToLLVMProof [EQUIVALENT, 261 ms] 6.95/3.34 (2) LLVM problem 6.95/3.34 6.95/3.34 6.95/3.34 ---------------------------------------- 6.95/3.34 6.95/3.34 (0) 6.95/3.34 Obligation: 6.95/3.34 c file /export/starexec/sandbox/benchmark/theBenchmark.c 6.95/3.34 ---------------------------------------- 6.95/3.34 6.95/3.34 (1) CToLLVMProof (EQUIVALENT) 6.95/3.34 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 6.95/3.34 ---------------------------------------- 6.95/3.34 6.95/3.34 (2) 6.95/3.34 Obligation: 6.95/3.34 LLVM Problem 6.95/3.34 6.95/3.34 Aliases: 6.95/3.34 6.95/3.34 Data layout: 6.95/3.34 6.95/3.34 "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-n8:16:32:64-S128" 6.95/3.34 6.95/3.34 Machine: 6.95/3.34 6.95/3.34 "x86_64-pc-linux-gnu" 6.95/3.34 6.95/3.34 Type definitions: 6.95/3.34 6.95/3.34 union.__CS__u --> BasicStructureType(elementType: [3 x i32]) 6.95/3.34 6.95/3.34 Global variables: 6.95/3.34 6.95/3.34 Name: __CS_round initVal: 0 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_ret initVal: 0 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_ret_PREEMPTED initVal: 1 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_ret_ERROR initVal: 2 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_ret_FINISHED initVal: 4 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_error initVal: 0 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __THREAD_UNUSED initVal: 0 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __THREAD_RUNNING initVal: 1 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __THREAD_FINISHED initVal: 2 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: true linkageType: null section: null 6.95/3.34 6.95/3.34 Name: __CS_thread_index initVal: 0 type: i8 addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_thread_lockedon initVal: ((null,null,null),(null,null,null),(null,null,null)) type: [3 x [3 x *i8]] addrSpace: null alignment: 16 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_thread_status initVal: ((0,0,0),(0,0,0),(0,0,0)) type: [3 x [3 x i8]] addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_thread_allocated initVal: (0,0,0) type: [3 x i8] addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_thread_born_round initVal: (0,0,0) type: [3 x i8] addrSpace: null alignment: 1 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_thread initVal: (null,null,null) type: [3 x *BasicFunctionType varArgs: falsereturnType: *i8paramTypes: (*i8)] addrSpace: null alignment: 16 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: flag1 initVal: (0,0,0) type: [3 x i32] addrSpace: null alignment: 4 threadLocal: false constant: false linkageType: null section: null 6.95/3.34 6.95/3.34 Name: flag2 initVal: (0,0,0) type: [3 x i32] addrSpace: null alignment: 4 threadLocal: false constant: false linkageType: null section: null 6.95/3.34 6.95/3.34 Name: turn initVal: (0,0,0) type: [3 x i32] addrSpace: null alignment: 4 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: x initVal: (0,0,0) type: [3 x i32] addrSpace: null alignment: 4 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Name: __CS_u initVal: {(0,0,0)} type: BasicTypeName typeName: union.__CS__uBasicStructureType(elementType: [3 x i32]) addrSpace: null alignment: 4 threadLocal: false constant: false linkageType: COMMON section: null 6.95/3.34 6.95/3.34 Function declarations and definitions: 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__VERIFIER_error" returnParam: BasicVoidType parameters: () variableLength: true visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 *BasicFunctionTypename: "__VERIFIER_assume" returnParam: BasicVoidType parameters: (i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 *BasicFunctionTypename: "nondet_int" returnParam: i32 parameters: () variableLength: true visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 *BasicFunctionTypename: "__VERIFIER_assert" linkageType: EXTERNALLY_VISIBLE returnParam: BasicVoidType parameters: (cond i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 store %cond, %1 6.95/3.34 %2 = load %1 6.95/3.34 %3 = icmp ne %2 0 6.95/3.34 br %3, %6, %4 6.95/3.34 4: 6.95/3.34 br %5 6.95/3.34 5: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType (...)* @__VERIFIER_error() noreturn 6.95/3.34 unreachable 6.95/3.34 6: 6.95/3.34 ret void 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_cs" linkageType: EXTERNALLY_VISIBLE returnParam: BasicVoidType parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %k = alloca i8, align 1 6.95/3.34 %1 = load @__CS_round 6.95/3.34 %2 = zext i8 %1 to i32 6.95/3.34 %3 = load %k 6.95/3.34 %4 = zext i8 %3 to i32 6.95/3.34 %5 = add %2 %4 6.95/3.34 %6 = icmp slt %5 3 6.95/3.34 %7 = zext i1 %6 to i32 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %7) 6.95/3.34 %8 = load %k 6.95/3.34 %9 = zext i8 %8 to i32 6.95/3.34 %10 = load @__CS_round 6.95/3.34 %11 = zext i8 %10 to i32 6.95/3.34 %12 = add %11 %9 6.95/3.34 %13 = trunc i32 %12 to i8 6.95/3.34 store %13, @__CS_round 6.95/3.34 %14 = call i32 (...)* @nondet_int() 6.95/3.34 %15 = icmp ne %14 0 6.95/3.34 br %15, %16, %21 6.95/3.34 16: 6.95/3.34 %17 = load @__CS_round 6.95/3.34 %18 = zext i8 %17 to i32 6.95/3.34 %19 = icmp eq %18 2 6.95/3.34 br %19, %20, %21 6.95/3.34 20: 6.95/3.34 br %24 6.95/3.34 21: 6.95/3.34 %22 = load @__CS_ret 6.95/3.34 %23 = zext i8 %22 to i32 6.95/3.34 br %24 6.95/3.34 24: 6.95/3.34 %25 = phi [1, %20], [%23, %21] 6.95/3.34 %26 = trunc i32 %25 to i8 6.95/3.34 store %26, @__CS_ret 6.95/3.34 ret void 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_mutex_init" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (mutex *i8, attr *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 store %mutex, %1 6.95/3.34 store %attr, %2 6.95/3.34 ret 0 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_mutex_destroy" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (lock *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 store %lock, %1 6.95/3.34 %2 = load %1 6.95/3.34 %3 = load %2 6.95/3.34 %4 = zext i8 %3 to i32 6.95/3.34 %5 = load @__CS_thread_index 6.95/3.34 %6 = zext i8 %5 to i32 6.95/3.34 %7 = icmp ne %4 %6 6.95/3.34 br %7, %8, %14 6.95/3.34 8: 6.95/3.34 %9 = load %1 6.95/3.34 %10 = load %9 6.95/3.34 %11 = zext i8 %10 to i32 6.95/3.34 %12 = icmp ne %11 0 6.95/3.34 br %12, %13, %14 6.95/3.34 13: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 br %16 6.95/3.34 14: 6.95/3.34 %15 = load %1 6.95/3.34 store 0, %15 6.95/3.34 br %16 6.95/3.34 16: 6.95/3.34 ret 0 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_mutex_lock" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (lock *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 store %lock, %2 6.95/3.34 %3 = load %2 6.95/3.34 %4 = load %3 6.95/3.34 %5 = zext i8 %4 to i32 6.95/3.34 %6 = icmp eq %5 0 6.95/3.34 br %6, %7, %13 6.95/3.34 7: 6.95/3.34 %8 = load @__CS_thread_index 6.95/3.34 %9 = zext i8 %8 to i32 6.95/3.34 %10 = add %9 1 6.95/3.34 %11 = trunc i32 %10 to i8 6.95/3.34 %12 = load %2 6.95/3.34 store %11, %12 6.95/3.34 br %14 6.95/3.34 13: 6.95/3.34 store 1, @__CS_ret 6.95/3.34 store 1, %1 6.95/3.34 br %15 6.95/3.34 14: 6.95/3.34 store 0, %1 6.95/3.34 br %15 6.95/3.34 15: 6.95/3.34 %16 = load %1 6.95/3.34 ret %16 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_mutex_unlock" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (lock *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 store %lock, %2 6.95/3.34 %3 = load %2 6.95/3.34 %4 = load %3 6.95/3.34 %5 = zext i8 %4 to i32 6.95/3.34 %6 = load @__CS_thread_index 6.95/3.34 %7 = zext i8 %6 to i32 6.95/3.34 %8 = add %7 1 6.95/3.34 %9 = icmp ne %5 %8 6.95/3.34 br %9, %10, %11 6.95/3.34 10: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store 1, %1 6.95/3.34 br %14 6.95/3.34 11: 6.95/3.34 %12 = load %2 6.95/3.34 store 0, %12 6.95/3.34 br %13 6.95/3.34 13: 6.95/3.34 store 0, %1 6.95/3.34 br %14 6.95/3.34 14: 6.95/3.34 %15 = load %1 6.95/3.34 ret %15 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_cond_init" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (cond *i8, attr *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 store %cond, %1 6.95/3.34 store %attr, %2 6.95/3.34 ret 0 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_cond_signal" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (cond *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 %j = alloca i32, align 4 6.95/3.34 store %cond, %1 6.95/3.34 store 0, %j 6.95/3.34 br %2 6.95/3.34 2: 6.95/3.34 %3 = load %j 6.95/3.34 %4 = icmp sle %3 2 6.95/3.34 br %4, %5, %26 6.95/3.34 5: 6.95/3.34 %6 = load %j 6.95/3.34 %7 = sext i32 %6 to i64 6.95/3.34 %8 = load @__CS_round 6.95/3.34 %9 = zext i8 %8 to i64 6.95/3.34 %10 = getelementptr @__CS_thread_lockedon, 0, %9 6.95/3.34 %11 = getelementptr %10, 0, %7 6.95/3.34 %12 = load %11 6.95/3.34 %13 = load %1 6.95/3.34 %14 = icmp eq %12 %13 6.95/3.34 br %14, %15, %22 6.95/3.34 15: 6.95/3.34 %16 = load %j 6.95/3.34 %17 = sext i32 %16 to i64 6.95/3.34 %18 = load @__CS_round 6.95/3.34 %19 = zext i8 %18 to i64 6.95/3.34 %20 = getelementptr @__CS_thread_lockedon, 0, %19 6.95/3.34 %21 = getelementptr %20, 0, %17 6.95/3.34 store null, %21 6.95/3.34 br %22 6.95/3.34 22: 6.95/3.34 br %23 6.95/3.34 23: 6.95/3.34 %24 = load %j 6.95/3.34 %25 = add %24 1 6.95/3.34 store %25, %j 6.95/3.34 br %2 6.95/3.34 26: 6.95/3.34 ret 0 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_cond_broadcast" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (cond *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 %j = alloca i32, align 4 6.95/3.34 store %cond, %1 6.95/3.34 store 0, %j 6.95/3.34 br %2 6.95/3.34 2: 6.95/3.34 %3 = load %j 6.95/3.34 %4 = icmp sle %3 2 6.95/3.34 br %4, %5, %26 6.95/3.34 5: 6.95/3.34 %6 = load %j 6.95/3.34 %7 = sext i32 %6 to i64 6.95/3.34 %8 = load @__CS_round 6.95/3.34 %9 = zext i8 %8 to i64 6.95/3.34 %10 = getelementptr @__CS_thread_lockedon, 0, %9 6.95/3.34 %11 = getelementptr %10, 0, %7 6.95/3.34 %12 = load %11 6.95/3.34 %13 = load %1 6.95/3.34 %14 = icmp eq %12 %13 6.95/3.34 br %14, %15, %22 6.95/3.34 15: 6.95/3.34 %16 = load %j 6.95/3.34 %17 = sext i32 %16 to i64 6.95/3.34 %18 = load @__CS_round 6.95/3.34 %19 = zext i8 %18 to i64 6.95/3.34 %20 = getelementptr @__CS_thread_lockedon, 0, %19 6.95/3.34 %21 = getelementptr %20, 0, %17 6.95/3.34 store null, %21 6.95/3.34 br %22 6.95/3.34 22: 6.95/3.34 br %23 6.95/3.34 23: 6.95/3.34 %24 = load %j 6.95/3.34 %25 = add %24 1 6.95/3.34 store %25, %j 6.95/3.34 br %2 6.95/3.34 26: 6.95/3.34 ret 0 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_cond_wait" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (cond *i8, lock *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 %3 = alloca *i8, align 8 6.95/3.34 store %cond, %2 6.95/3.34 store %lock, %3 6.95/3.34 %4 = load %3 6.95/3.34 %5 = load %4 6.95/3.34 %6 = zext i8 %5 to i32 6.95/3.34 %7 = load @__CS_thread_index 6.95/3.34 %8 = zext i8 %7 to i32 6.95/3.34 %9 = add %8 1 6.95/3.34 %10 = icmp ne %6 %9 6.95/3.34 br %10, %11, %12 6.95/3.34 11: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store 1, %1 6.95/3.34 br %34 6.95/3.34 12: 6.95/3.34 %13 = load %3 6.95/3.34 store 0, %13 6.95/3.34 br %14 6.95/3.34 14: 6.95/3.34 %15 = load %2 6.95/3.34 %16 = load @__CS_thread_index 6.95/3.34 %17 = zext i8 %16 to i64 6.95/3.34 %18 = load @__CS_round 6.95/3.34 %19 = zext i8 %18 to i64 6.95/3.34 %20 = getelementptr @__CS_thread_lockedon, 0, %19 6.95/3.34 %21 = getelementptr %20, 0, %17 6.95/3.34 store %15, %21 6.95/3.34 store 1, @__CS_ret 6.95/3.34 %22 = load %3 6.95/3.34 %23 = load %22 6.95/3.34 %24 = zext i8 %23 to i32 6.95/3.34 %25 = icmp eq %24 0 6.95/3.34 br %25, %26, %32 6.95/3.34 26: 6.95/3.34 %27 = load @__CS_thread_index 6.95/3.34 %28 = zext i8 %27 to i32 6.95/3.34 %29 = add %28 1 6.95/3.34 %30 = trunc i32 %29 to i8 6.95/3.34 %31 = load %3 6.95/3.34 store %30, %31 6.95/3.34 br %33 6.95/3.34 32: 6.95/3.34 store 1, @__CS_ret 6.95/3.34 store 1, %1 6.95/3.34 br %34 6.95/3.34 33: 6.95/3.34 store 0, %1 6.95/3.34 br %34 6.95/3.34 34: 6.95/3.34 %35 = load %1 6.95/3.34 ret %35 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_assert" linkageType: EXTERNALLY_VISIBLE returnParam: BasicVoidType parameters: (expr i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 store %expr, %1 6.95/3.34 %2 = load %1 6.95/3.34 %3 = icmp ne %2 0 6.95/3.34 br %3, %5, %4 6.95/3.34 4: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 br %5 6.95/3.34 5: 6.95/3.34 ret void 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_assume" linkageType: EXTERNALLY_VISIBLE returnParam: BasicVoidType parameters: (expr i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 store %expr, %1 6.95/3.34 %2 = load %1 6.95/3.34 %3 = icmp ne %2 0 6.95/3.34 br %3, %5, %4 6.95/3.34 4: 6.95/3.34 store 1, @__CS_ret 6.95/3.34 br %5 6.95/3.34 5: 6.95/3.34 ret void 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_join" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (thread i8 zeroext, value_ptr **i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %2 = alloca i8, align 1 6.95/3.34 %3 = alloca **i8, align 8 6.95/3.34 store %thread, %2 6.95/3.34 store %value_ptr, %3 6.95/3.34 %4 = load %2 6.95/3.34 %5 = zext i8 %4 to i32 6.95/3.34 %6 = icmp ne %5 123 6.95/3.34 br %6, %7, %12 6.95/3.34 7: 6.95/3.34 %8 = load %2 6.95/3.34 %9 = zext i8 %8 to i32 6.95/3.34 %10 = icmp sgt %9 3 6.95/3.34 br %10, %11, %12 6.95/3.34 11: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store 0, %1 6.95/3.34 br %49 6.95/3.34 12: 6.95/3.34 %13 = load %2 6.95/3.34 %14 = zext i8 %13 to i32 6.95/3.34 %15 = icmp eq %14 123 6.95/3.34 br %15, %26, %16 6.95/3.34 16: 6.95/3.34 %17 = load %2 6.95/3.34 %18 = zext i8 %17 to i64 6.95/3.34 %19 = load @__CS_round 6.95/3.34 %20 = zext i8 %19 to i64 6.95/3.34 %21 = getelementptr @__CS_thread_status, 0, %20 6.95/3.34 %22 = getelementptr %21, 0, %18 6.95/3.34 %23 = load %22 6.95/3.34 %24 = zext i8 %23 to i32 6.95/3.34 %25 = icmp eq %24 1 6.95/3.34 br %25, %26, %27 6.95/3.34 26: 6.95/3.34 store 1, @__CS_ret 6.95/3.34 store 0, %1 6.95/3.34 br %49 6.95/3.34 27: 6.95/3.34 %28 = load %2 6.95/3.34 %29 = zext i8 %28 to i64 6.95/3.34 %30 = load @__CS_round 6.95/3.34 %31 = zext i8 %30 to i64 6.95/3.34 %32 = getelementptr @__CS_thread_status, 0, %31 6.95/3.34 %33 = getelementptr %32, 0, %29 6.95/3.34 %34 = load %33 6.95/3.34 %35 = zext i8 %34 to i32 6.95/3.34 %36 = icmp eq %35 0 6.95/3.34 br %36, %37, %38 6.95/3.34 37: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store 0, %1 6.95/3.34 br %49 6.95/3.34 38: 6.95/3.34 %39 = load %2 6.95/3.34 %40 = zext i8 %39 to i64 6.95/3.34 %41 = load @__CS_round 6.95/3.34 %42 = zext i8 %41 to i64 6.95/3.34 %43 = getelementptr @__CS_thread_status, 0, %42 6.95/3.34 %44 = getelementptr %43, 0, %40 6.95/3.34 %45 = load %44 6.95/3.34 %46 = zext i8 %45 to i32 6.95/3.34 %47 = icmp eq %46 2 6.95/3.34 %48 = zext i1 %47 to i32 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %48) 6.95/3.34 store 0, %1 6.95/3.34 br %49 6.95/3.34 49: 6.95/3.34 %50 = load %1 6.95/3.34 ret %50 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "__CS_pthread_create" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (id1 *i8, attr *i8, t1 *BasicFunctionType varArgs: falsereturnType: *i8paramTypes: (*i8), arg *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 %3 = alloca *i8, align 8 6.95/3.34 %4 = alloca *BasicFunctionType varArgs: falsereturnType: *i8paramTypes: (*i8), align 8 6.95/3.34 %5 = alloca *i8, align 8 6.95/3.34 store %id1, %2 6.95/3.34 store %attr, %3 6.95/3.34 store %t1, %4 6.95/3.34 store %arg, %5 6.95/3.34 %6 = load @__CS_thread_index 6.95/3.34 %7 = zext i8 %6 to i32 6.95/3.34 %8 = icmp eq %7 2 6.95/3.34 br %8, %9, %11 6.95/3.34 9: 6.95/3.34 %10 = load %2 6.95/3.34 store 123, %10 6.95/3.34 store -1, %1 6.95/3.34 br %35 6.95/3.34 11: 6.95/3.34 %12 = load @__CS_thread_index 6.95/3.34 %13 = add %12 1 6.95/3.34 store %13, @__CS_thread_index 6.95/3.34 %14 = load @__CS_thread_index 6.95/3.34 %15 = zext i8 %14 to i64 6.95/3.34 %16 = getelementptr @__CS_thread_allocated, 0, %15 6.95/3.34 store 1, %16 6.95/3.34 %17 = load @__CS_round 6.95/3.34 %18 = load @__CS_thread_index 6.95/3.34 %19 = zext i8 %18 to i64 6.95/3.34 %20 = getelementptr @__CS_thread_born_round, 0, %19 6.95/3.34 store %17, %20 6.95/3.34 %21 = load %4 6.95/3.34 %22 = load @__CS_thread_index 6.95/3.34 %23 = zext i8 %22 to i64 6.95/3.34 %24 = getelementptr @__CS_thread, 0, %23 6.95/3.34 store %21, %24 6.95/3.34 %25 = load @__CS_thread_index 6.95/3.34 %26 = zext i8 %25 to i64 6.95/3.34 %27 = load @__CS_round 6.95/3.34 %28 = zext i8 %27 to i64 6.95/3.34 %29 = getelementptr @__CS_thread_status, 0, %28 6.95/3.34 %30 = getelementptr %29, 0, %26 6.95/3.34 store 1, %30 6.95/3.34 %31 = load @__CS_thread_index 6.95/3.34 %32 = load %2 6.95/3.34 store %31, %32 6.95/3.34 %33 = load @__CS_thread_index 6.95/3.34 %34 = zext i8 %33 to i32 6.95/3.34 store %34, %1 6.95/3.34 br %35 6.95/3.34 35: 6.95/3.34 %36 = load %1 6.95/3.34 ret %36 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "thr1" linkageType: EXTERNALLY_VISIBLE returnParam: *i8 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %2 = load @__CS_ret 6.95/3.34 %3 = zext i8 %2 to i32 6.95/3.34 %4 = icmp ne %3 0 6.95/3.34 br %4, %5, %6 6.95/3.34 5: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 6: 6.95/3.34 %7 = load @__CS_round 6.95/3.34 %8 = zext i8 %7 to i64 6.95/3.34 %9 = getelementptr @flag1, 0, %8 6.95/3.34 store 1, %9 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %10 = load @__CS_ret 6.95/3.34 %11 = zext i8 %10 to i32 6.95/3.34 %12 = icmp ne %11 0 6.95/3.34 br %12, %13, %14 6.95/3.34 13: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 14: 6.95/3.34 %15 = load @__CS_round 6.95/3.34 %16 = zext i8 %15 to i64 6.95/3.34 %17 = getelementptr @turn, 0, %16 6.95/3.34 store 1, %17 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %18 = load @__CS_ret 6.95/3.34 %19 = zext i8 %18 to i32 6.95/3.34 %20 = icmp ne %19 0 6.95/3.34 br %20, %21, %22 6.95/3.34 21: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 22: 6.95/3.34 br %23 6.95/3.34 23: 6.95/3.34 %24 = load @__CS_round 6.95/3.34 %25 = zext i8 %24 to i64 6.95/3.34 %26 = getelementptr @flag2, 0, %25 6.95/3.34 %27 = load %26 6.95/3.34 %28 = icmp eq %27 1 6.95/3.34 br %28, %29, %35 6.95/3.34 29: 6.95/3.34 %30 = load @__CS_round 6.95/3.34 %31 = zext i8 %30 to i64 6.95/3.34 %32 = getelementptr @turn, 0, %31 6.95/3.34 %33 = load %32 6.95/3.34 %34 = icmp eq %33 1 6.95/3.34 br %35 6.95/3.34 35: 6.95/3.34 %36 = phi [0, %23], [%34, %29] 6.95/3.34 br %36, %37, %43 6.95/3.34 37: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %38 = load @__CS_ret 6.95/3.34 %39 = zext i8 %38 to i32 6.95/3.34 %40 = icmp ne %39 0 6.95/3.34 br %40, %41, %42 6.95/3.34 41: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 42: 6.95/3.34 br %23 6.95/3.34 43: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %44 = load @__CS_ret 6.95/3.34 %45 = zext i8 %44 to i32 6.95/3.34 %46 = icmp ne %45 0 6.95/3.34 br %46, %47, %48 6.95/3.34 47: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 48: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %49 = load @__CS_ret 6.95/3.34 %50 = zext i8 %49 to i32 6.95/3.34 %51 = icmp ne %50 0 6.95/3.34 br %51, %52, %53 6.95/3.34 52: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 53: 6.95/3.34 %54 = load @__CS_round 6.95/3.34 %55 = zext i8 %54 to i64 6.95/3.34 %56 = getelementptr @x, 0, %55 6.95/3.34 store 0, %56 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %57 = load @__CS_ret 6.95/3.34 %58 = zext i8 %57 to i32 6.95/3.34 %59 = icmp ne %58 0 6.95/3.34 br %59, %60, %61 6.95/3.34 60: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 61: 6.95/3.34 %62 = load @__CS_round 6.95/3.34 %63 = zext i8 %62 to i64 6.95/3.34 %64 = getelementptr @x, 0, %63 6.95/3.34 %65 = load %64 6.95/3.34 %66 = icmp sle %65 0 6.95/3.34 br %66, %74, %67 6.95/3.34 67: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %68 = load @__CS_ret 6.95/3.34 %69 = zext i8 %68 to i32 6.95/3.34 %70 = icmp ne %69 0 6.95/3.34 br %70, %71, %72 6.95/3.34 71: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 72: 6.95/3.34 br %73 6.95/3.34 73: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 74: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %75 = load @__CS_ret 6.95/3.34 %76 = zext i8 %75 to i32 6.95/3.34 %77 = icmp ne %76 0 6.95/3.34 br %77, %78, %79 6.95/3.34 78: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 79: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %80 = load @__CS_ret 6.95/3.34 %81 = zext i8 %80 to i32 6.95/3.34 %82 = icmp ne %81 0 6.95/3.34 br %82, %83, %84 6.95/3.34 83: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 84: 6.95/3.34 %85 = load @__CS_round 6.95/3.34 %86 = zext i8 %85 to i64 6.95/3.34 %87 = getelementptr @flag1, 0, %86 6.95/3.34 store 0, %87 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %88 = load @__CS_ret 6.95/3.34 %89 = zext i8 %88 to i32 6.95/3.34 %90 = icmp ne %89 0 6.95/3.34 br %90, %91, %92 6.95/3.34 91: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 92: 6.95/3.34 %93 = load %1 6.95/3.34 ret %93 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "thr2" linkageType: EXTERNALLY_VISIBLE returnParam: *i8 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %2 = load @__CS_ret 6.95/3.34 %3 = zext i8 %2 to i32 6.95/3.34 %4 = icmp ne %3 0 6.95/3.34 br %4, %5, %6 6.95/3.34 5: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 6: 6.95/3.34 %7 = load @__CS_round 6.95/3.34 %8 = zext i8 %7 to i64 6.95/3.34 %9 = getelementptr @flag2, 0, %8 6.95/3.34 store 1, %9 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %10 = load @__CS_ret 6.95/3.34 %11 = zext i8 %10 to i32 6.95/3.34 %12 = icmp ne %11 0 6.95/3.34 br %12, %13, %14 6.95/3.34 13: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 14: 6.95/3.34 %15 = load @__CS_round 6.95/3.34 %16 = zext i8 %15 to i64 6.95/3.34 %17 = getelementptr @turn, 0, %16 6.95/3.34 store 0, %17 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %18 = load @__CS_ret 6.95/3.34 %19 = zext i8 %18 to i32 6.95/3.34 %20 = icmp ne %19 0 6.95/3.34 br %20, %21, %22 6.95/3.34 21: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 22: 6.95/3.34 br %23 6.95/3.34 23: 6.95/3.34 %24 = load @__CS_round 6.95/3.34 %25 = zext i8 %24 to i64 6.95/3.34 %26 = getelementptr @flag1, 0, %25 6.95/3.34 %27 = load %26 6.95/3.34 %28 = icmp eq %27 1 6.95/3.34 br %28, %29, %35 6.95/3.34 29: 6.95/3.34 %30 = load @__CS_round 6.95/3.34 %31 = zext i8 %30 to i64 6.95/3.34 %32 = getelementptr @turn, 0, %31 6.95/3.34 %33 = load %32 6.95/3.34 %34 = icmp eq %33 0 6.95/3.34 br %35 6.95/3.34 35: 6.95/3.34 %36 = phi [0, %23], [%34, %29] 6.95/3.34 br %36, %37, %43 6.95/3.34 37: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %38 = load @__CS_ret 6.95/3.34 %39 = zext i8 %38 to i32 6.95/3.34 %40 = icmp ne %39 0 6.95/3.34 br %40, %41, %42 6.95/3.34 41: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 42: 6.95/3.34 br %23 6.95/3.34 43: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %44 = load @__CS_ret 6.95/3.34 %45 = zext i8 %44 to i32 6.95/3.34 %46 = icmp ne %45 0 6.95/3.34 br %46, %47, %48 6.95/3.34 47: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 48: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %49 = load @__CS_ret 6.95/3.34 %50 = zext i8 %49 to i32 6.95/3.34 %51 = icmp ne %50 0 6.95/3.34 br %51, %52, %53 6.95/3.34 52: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 53: 6.95/3.34 %54 = load @__CS_round 6.95/3.34 %55 = zext i8 %54 to i64 6.95/3.34 %56 = getelementptr @x, 0, %55 6.95/3.34 store 1, %56 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %57 = load @__CS_ret 6.95/3.34 %58 = zext i8 %57 to i32 6.95/3.34 %59 = icmp ne %58 0 6.95/3.34 br %59, %60, %61 6.95/3.34 60: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 61: 6.95/3.34 %62 = load @__CS_round 6.95/3.34 %63 = zext i8 %62 to i64 6.95/3.34 %64 = getelementptr @x, 0, %63 6.95/3.34 %65 = load %64 6.95/3.34 %66 = icmp sge %65 1 6.95/3.34 br %66, %74, %67 6.95/3.34 67: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %68 = load @__CS_ret 6.95/3.34 %69 = zext i8 %68 to i32 6.95/3.34 %70 = icmp ne %69 0 6.95/3.34 br %70, %71, %72 6.95/3.34 71: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 72: 6.95/3.34 br %73 6.95/3.34 73: 6.95/3.34 store 1, @__CS_error 6.95/3.34 store 2, @__CS_ret 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 74: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %75 = load @__CS_ret 6.95/3.34 %76 = zext i8 %75 to i32 6.95/3.34 %77 = icmp ne %76 0 6.95/3.34 br %77, %78, %79 6.95/3.34 78: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 79: 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %80 = load @__CS_ret 6.95/3.34 %81 = zext i8 %80 to i32 6.95/3.34 %82 = icmp ne %81 0 6.95/3.34 br %82, %83, %84 6.95/3.34 83: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 84: 6.95/3.34 %85 = load @__CS_round 6.95/3.34 %86 = zext i8 %85 to i64 6.95/3.34 %87 = getelementptr @flag2, 0, %86 6.95/3.34 store 0, %87 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %88 = load @__CS_ret 6.95/3.34 %89 = zext i8 %88 to i32 6.95/3.34 %90 = icmp ne %89 0 6.95/3.34 br %90, %91, %92 6.95/3.34 91: 6.95/3.34 store null, %1 6.95/3.34 br %92 6.95/3.34 92: 6.95/3.34 %93 = load %1 6.95/3.34 ret %93 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "main_thread" linkageType: EXTERNALLY_VISIBLE returnParam: *i8 parameters: (arg *i8) variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca *i8, align 8 6.95/3.34 %2 = alloca *i8, align 8 6.95/3.34 %t1 = alloca i8, align 1 6.95/3.34 %t2 = alloca i8, align 1 6.95/3.34 store %arg, %2 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %3 = load @__CS_ret 6.95/3.34 %4 = zext i8 %3 to i32 6.95/3.34 %5 = icmp ne %4 0 6.95/3.34 br %5, %6, %7 6.95/3.34 6: 6.95/3.34 store null, %1 6.95/3.34 br %33 6.95/3.34 7: 6.95/3.34 %8 = call i32 @__CS_pthread_create(*i8 %t1, *i8 null, *BasicFunctionType varArgs: falsereturnType: *i8paramTypes: (*i8) aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMConversionConstExpr@77afc829, *i8 null) 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %9 = load @__CS_ret 6.95/3.34 %10 = zext i8 %9 to i32 6.95/3.34 %11 = icmp ne %10 0 6.95/3.34 br %11, %12, %13 6.95/3.34 12: 6.95/3.34 store null, %1 6.95/3.34 br %33 6.95/3.34 13: 6.95/3.34 %14 = call i32 @__CS_pthread_create(*i8 %t2, *i8 null, *BasicFunctionType varArgs: falsereturnType: *i8paramTypes: (*i8) aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMConversionConstExpr@797fb52f, *i8 null) 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %15 = load @__CS_ret 6.95/3.34 %16 = zext i8 %15 to i32 6.95/3.34 %17 = icmp ne %16 0 6.95/3.34 br %17, %18, %19 6.95/3.34 18: 6.95/3.34 store null, %1 6.95/3.34 br %33 6.95/3.34 19: 6.95/3.34 %20 = load %t1 6.95/3.34 %21 = call i32 @__CS_pthread_join(i8 zeroext %20, **i8 null) 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %22 = load @__CS_ret 6.95/3.34 %23 = zext i8 %22 to i32 6.95/3.34 %24 = icmp ne %23 0 6.95/3.34 br %24, %25, %26 6.95/3.34 25: 6.95/3.34 store null, %1 6.95/3.34 br %33 6.95/3.34 26: 6.95/3.34 %27 = load %t2 6.95/3.34 %28 = call i32 @__CS_pthread_join(i8 zeroext %27, **i8 null) 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__CS_cs() 6.95/3.34 %29 = load @__CS_ret 6.95/3.34 %30 = zext i8 %29 to i32 6.95/3.34 %31 = icmp ne %30 0 6.95/3.34 br %31, %32, %33 6.95/3.34 32: 6.95/3.34 store null, %1 6.95/3.34 br %33 6.95/3.34 33: 6.95/3.34 %34 = load %1 6.95/3.34 ret %34 6.95/3.34 6.95/3.34 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.95/3.34 0: 6.95/3.34 %1 = alloca i32, align 4 6.95/3.34 %__CS_cp___CS_thread_status = alloca [3 x [3 x i8]], align 1 6.95/3.34 %__CS_cp___CS_thread_lockedon = alloca [3 x [3 x *i8]], align 16 6.95/3.34 %__CS_cp_flag1 = alloca [3 x i32], align 4 6.95/3.34 %__CS_cp_flag2 = alloca [3 x i32], align 4 6.95/3.34 %__CS_cp_turn = alloca [3 x i32], align 4 6.95/3.34 %__CS_cp_x = alloca [3 x i32], align 4 6.95/3.34 store 0, %1 6.95/3.34 %2 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.34 %3 = getelementptr %2, 0, 0 6.95/3.34 %4 = load %3 6.95/3.34 store %4, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@761759df 6.95/3.34 %5 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.34 %6 = getelementptr %5, 0, 0 6.95/3.34 %7 = load %6 6.95/3.34 store %7, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@7be71713 6.95/3.34 %8 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.34 %9 = getelementptr %8, 0, 1 6.95/3.34 %10 = load %9 6.95/3.34 store %10, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@cc3a128 6.95/3.34 %11 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.34 %12 = getelementptr %11, 0, 1 6.95/3.34 %13 = load %12 6.95/3.34 store %13, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@345aa2b0 6.95/3.34 %14 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.34 %15 = getelementptr %14, 0, 2 6.95/3.34 %16 = load %15 6.95/3.34 store %16, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@78cfdc45 6.95/3.34 %17 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.34 %18 = getelementptr %17, 0, 2 6.95/3.34 %19 = load %18 6.95/3.34 store %19, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@3bd303c0 6.95/3.34 %20 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.34 %21 = getelementptr %20, 0, 0 6.95/3.34 %22 = load %21 6.95/3.34 store %22, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2a082f73 6.95/3.34 %23 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.34 %24 = getelementptr %23, 0, 0 6.95/3.34 %25 = load %24 6.95/3.34 store %25, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@4ba647a0 6.95/3.34 %26 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.34 %27 = getelementptr %26, 0, 1 6.95/3.34 %28 = load %27 6.95/3.34 store %28, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@4d8d8765 6.95/3.34 %29 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.34 %30 = getelementptr %29, 0, 1 6.95/3.34 %31 = load %30 6.95/3.34 store %31, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@6ee35017 6.95/3.34 %32 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.34 %33 = getelementptr %32, 0, 2 6.95/3.34 %34 = load %33 6.95/3.34 store %34, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@5fb990f 6.95/3.34 %35 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.34 %36 = getelementptr %35, 0, 2 6.95/3.34 %37 = load %36 6.95/3.34 store %37, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@7c994557 6.95/3.34 %38 = getelementptr %__CS_cp_flag1, 0, 1 6.95/3.34 %39 = load %38 6.95/3.34 store %39, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@5d8e430e 6.95/3.34 %40 = getelementptr %__CS_cp_flag1, 0, 2 6.95/3.34 %41 = load %40 6.95/3.34 store %41, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2999c340 6.95/3.34 %42 = getelementptr %__CS_cp_flag2, 0, 1 6.95/3.34 %43 = load %42 6.95/3.34 store %43, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@7073149d 6.95/3.34 %44 = getelementptr %__CS_cp_flag2, 0, 2 6.95/3.34 %45 = load %44 6.95/3.34 store %45, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@46f64439 6.95/3.34 %46 = getelementptr %__CS_cp_turn, 0, 1 6.95/3.34 %47 = load %46 6.95/3.34 store %47, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@694ff9da 6.95/3.34 %48 = getelementptr %__CS_cp_turn, 0, 2 6.95/3.34 %49 = load %48 6.95/3.34 store %49, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@e2ba470 6.95/3.34 %50 = getelementptr %__CS_cp_x, 0, 1 6.95/3.34 %51 = load %50 6.95/3.34 store %51, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@66948ed4 6.95/3.34 %52 = getelementptr %__CS_cp_x, 0, 2 6.95/3.34 %53 = load %52 6.95/3.34 store %53, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@1237d9b3 6.95/3.34 store 0, @__CS_round 6.95/3.34 store 0, @__CS_thread_index 6.95/3.34 %54 = load @__CS_round 6.95/3.34 store %54, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@4207306 6.95/3.34 store 1, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@577b4fd6 6.95/3.34 store @main_thread, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@155b99c3 6.95/3.34 store 1, aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@390d209a 6.95/3.34 %55 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@3e32ccfe 6.95/3.34 %56 = zext i8 %55 to i32 6.95/3.34 %57 = icmp eq %56 1 6.95/3.34 br %57, %58, %71 6.95/3.34 58: 6.95/3.34 %59 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@333a3111 6.95/3.34 store %59, @__CS_round 6.95/3.34 store 0, @__CS_ret 6.95/3.34 %60 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@7a662334 6.95/3.34 %61 = call *i8 %60(*i8 null) 6.95/3.34 %62 = load @__CS_ret 6.95/3.34 %63 = zext i8 %62 to i32 6.95/3.34 %64 = icmp ne %63 1 6.95/3.34 br %64, %65, %70 6.95/3.34 65: 6.95/3.34 %66 = load @__CS_round 6.95/3.34 %67 = zext i8 %66 to i64 6.95/3.34 %68 = getelementptr @__CS_thread_status, 0, %67 6.95/3.34 %69 = getelementptr %68, 0, 0 6.95/3.34 store 2, %69 6.95/3.34 br %70 6.95/3.34 70: 6.95/3.34 br %71 6.95/3.34 71: 6.95/3.34 %72 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2abfc512 6.95/3.34 %73 = zext i8 %72 to i32 6.95/3.34 %74 = icmp eq %73 1 6.95/3.34 br %74, %75, %88 6.95/3.34 75: 6.95/3.34 %76 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@242a987 6.95/3.34 store %76, @__CS_round 6.95/3.34 store 0, @__CS_ret 6.95/3.34 %77 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@6012b267 6.95/3.34 %78 = call *i8 %77(*i8 null) 6.95/3.34 %79 = load @__CS_ret 6.95/3.34 %80 = zext i8 %79 to i32 6.95/3.34 %81 = icmp ne %80 1 6.95/3.34 br %81, %82, %87 6.95/3.34 82: 6.95/3.34 %83 = load @__CS_round 6.95/3.34 %84 = zext i8 %83 to i64 6.95/3.34 %85 = getelementptr @__CS_thread_status, 0, %84 6.95/3.34 %86 = getelementptr %85, 0, 1 6.95/3.34 store 2, %86 6.95/3.34 br %87 6.95/3.34 87: 6.95/3.34 br %88 6.95/3.34 88: 6.95/3.34 %89 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2ba642d2 6.95/3.34 %90 = zext i8 %89 to i32 6.95/3.34 %91 = icmp eq %90 1 6.95/3.34 br %91, %92, %105 6.95/3.34 92: 6.95/3.34 %93 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@7fe595e1 6.95/3.34 store %93, @__CS_round 6.95/3.34 store 0, @__CS_ret 6.95/3.34 %94 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@687c050b 6.95/3.34 %95 = call *i8 %94(*i8 null) 6.95/3.34 %96 = load @__CS_ret 6.95/3.34 %97 = zext i8 %96 to i32 6.95/3.34 %98 = icmp ne %97 1 6.95/3.34 br %98, %99, %104 6.95/3.34 99: 6.95/3.34 %100 = load @__CS_round 6.95/3.34 %101 = zext i8 %100 to i64 6.95/3.34 %102 = getelementptr @__CS_thread_status, 0, %101 6.95/3.34 %103 = getelementptr %102, 0, 2 6.95/3.34 store 2, %103 6.95/3.34 br %104 6.95/3.34 104: 6.95/3.34 br %105 6.95/3.34 105: 6.95/3.34 %106 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@1d0813e9 6.95/3.34 %107 = zext i8 %106 to i32 6.95/3.34 %108 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.34 %109 = getelementptr %108, 0, 0 6.95/3.34 %110 = load %109 6.95/3.34 %111 = zext i8 %110 to i32 6.95/3.34 %112 = icmp eq %107 %111 6.95/3.34 %113 = zext i1 %112 to i32 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %113) 6.95/3.34 %114 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@4217248 6.95/3.34 %115 = zext i8 %114 to i32 6.95/3.34 %116 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.34 %117 = getelementptr %116, 0, 0 6.95/3.34 %118 = load %117 6.95/3.34 %119 = zext i8 %118 to i32 6.95/3.34 %120 = icmp eq %115 %119 6.95/3.34 %121 = zext i1 %120 to i32 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %121) 6.95/3.34 %122 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@5738b5b0 6.95/3.34 %123 = zext i8 %122 to i32 6.95/3.34 %124 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.34 %125 = getelementptr %124, 0, 1 6.95/3.34 %126 = load %125 6.95/3.34 %127 = zext i8 %126 to i32 6.95/3.34 %128 = icmp eq %123 %127 6.95/3.34 %129 = zext i1 %128 to i32 6.95/3.34 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %129) 6.95/3.34 %130 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@5f64a601 6.95/3.35 %131 = zext i8 %130 to i32 6.95/3.35 %132 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.35 %133 = getelementptr %132, 0, 1 6.95/3.35 %134 = load %133 6.95/3.35 %135 = zext i8 %134 to i32 6.95/3.35 %136 = icmp eq %131 %135 6.95/3.35 %137 = zext i1 %136 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %137) 6.95/3.35 %138 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2ae715f 6.95/3.35 %139 = zext i8 %138 to i32 6.95/3.35 %140 = getelementptr %__CS_cp___CS_thread_status, 0, 1 6.95/3.35 %141 = getelementptr %140, 0, 2 6.95/3.35 %142 = load %141 6.95/3.35 %143 = zext i8 %142 to i32 6.95/3.35 %144 = icmp eq %139 %143 6.95/3.35 %145 = zext i1 %144 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %145) 6.95/3.35 %146 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@d92e070 6.95/3.35 %147 = zext i8 %146 to i32 6.95/3.35 %148 = getelementptr %__CS_cp___CS_thread_status, 0, 2 6.95/3.35 %149 = getelementptr %148, 0, 2 6.95/3.35 %150 = load %149 6.95/3.35 %151 = zext i8 %150 to i32 6.95/3.35 %152 = icmp eq %147 %151 6.95/3.35 %153 = zext i1 %152 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %153) 6.95/3.35 %154 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@1f154147 6.95/3.35 %155 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.35 %156 = getelementptr %155, 0, 0 6.95/3.35 %157 = load %156 6.95/3.35 %158 = icmp eq %154 %157 6.95/3.35 %159 = zext i1 %158 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %159) 6.95/3.35 %160 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@65bbb80a 6.95/3.35 %161 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.35 %162 = getelementptr %161, 0, 0 6.95/3.35 %163 = load %162 6.95/3.35 %164 = icmp eq %160 %163 6.95/3.35 %165 = zext i1 %164 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %165) 6.95/3.35 %166 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@146e096b 6.95/3.35 %167 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.35 %168 = getelementptr %167, 0, 1 6.95/3.35 %169 = load %168 6.95/3.35 %170 = icmp eq %166 %169 6.95/3.35 %171 = zext i1 %170 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %171) 6.95/3.35 %172 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@e65faf6 6.95/3.35 %173 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.35 %174 = getelementptr %173, 0, 1 6.95/3.35 %175 = load %174 6.95/3.35 %176 = icmp eq %172 %175 6.95/3.35 %177 = zext i1 %176 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %177) 6.95/3.35 %178 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@3bcf8d04 6.95/3.35 %179 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 1 6.95/3.35 %180 = getelementptr %179, 0, 2 6.95/3.35 %181 = load %180 6.95/3.35 %182 = icmp eq %178 %181 6.95/3.35 %183 = zext i1 %182 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %183) 6.95/3.35 %184 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@38c199f 6.95/3.35 %185 = getelementptr %__CS_cp___CS_thread_lockedon, 0, 2 6.95/3.35 %186 = getelementptr %185, 0, 2 6.95/3.35 %187 = load %186 6.95/3.35 %188 = icmp eq %184 %187 6.95/3.35 %189 = zext i1 %188 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %189) 6.95/3.35 %190 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@67cd6dd4 6.95/3.35 %191 = getelementptr %__CS_cp_flag1, 0, 1 6.95/3.35 %192 = load %191 6.95/3.35 %193 = icmp eq %190 %192 6.95/3.35 %194 = zext i1 %193 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %194) 6.95/3.35 %195 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@46de9991 6.95/3.35 %196 = getelementptr %__CS_cp_flag1, 0, 2 6.95/3.35 %197 = load %196 6.95/3.35 %198 = icmp eq %195 %197 6.95/3.35 %199 = zext i1 %198 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %199) 6.95/3.35 %200 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@13e8be3 6.95/3.35 %201 = getelementptr %__CS_cp_flag2, 0, 1 6.95/3.35 %202 = load %201 6.95/3.35 %203 = icmp eq %200 %202 6.95/3.35 %204 = zext i1 %203 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %204) 6.95/3.35 %205 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@621d3aba 6.95/3.35 %206 = getelementptr %__CS_cp_flag2, 0, 2 6.95/3.35 %207 = load %206 6.95/3.35 %208 = icmp eq %205 %207 6.95/3.35 %209 = zext i1 %208 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %209) 6.95/3.35 %210 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@6eb248e0 6.95/3.35 %211 = getelementptr %__CS_cp_turn, 0, 1 6.95/3.35 %212 = load %211 6.95/3.35 %213 = icmp eq %210 %212 6.95/3.35 %214 = zext i1 %213 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %214) 6.95/3.35 %215 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@5c9256b6 6.95/3.35 %216 = getelementptr %__CS_cp_turn, 0, 2 6.95/3.35 %217 = load %216 6.95/3.35 %218 = icmp eq %215 %217 6.95/3.35 %219 = zext i1 %218 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %219) 6.95/3.35 %220 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@2986bf54 6.95/3.35 %221 = getelementptr %__CS_cp_x, 0, 1 6.95/3.35 %222 = load %221 6.95/3.35 %223 = icmp eq %220 %222 6.95/3.35 %224 = zext i1 %223 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %224) 6.95/3.35 %225 = load aprove.InputModules.Programs.llvm.internalStructures.literals.const_expr.LLVMGetElementPtrConstExpr@22458834 6.95/3.35 %226 = getelementptr %__CS_cp_x, 0, 2 6.95/3.35 %227 = load %226 6.95/3.35 %228 = icmp eq %225 %227 6.95/3.35 %229 = zext i1 %228 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assume(i32 %229) 6.95/3.35 %230 = load @__CS_error 6.95/3.35 %231 = zext i8 %230 to i32 6.95/3.35 %232 = icmp ne %231 1 6.95/3.35 %233 = zext i1 %232 to i32 6.95/3.35 Unnamed Call-Instruction = call BasicVoidType @__VERIFIER_assert(i32 %233) 6.95/3.35 %234 = load %1 6.95/3.35 ret %234 6.95/3.35 6.95/3.35 6.95/3.35 Analyze Termination of all function calls matching the pattern: 6.95/3.35 main() 7.11/6.19 EOF