#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ abort();
scalar_t__ test_gangs_auto();
scalar_t__ test_gangs_independent();
scalar_t__ test_gangs_none();
scalar_t__ test_gangs_seq();
scalar_t__ test_none_auto();
scalar_t__ test_none_independent();
scalar_t__ test_none_none();
scalar_t__ test_none_seq();
int main() {
  if (test_none_none() || test_none_auto() || test_none_independent() ||
      test_none_seq() || test_gangs_none() || test_gangs_auto() ||
      test_gangs_independent() || test_gangs_seq())
    abort();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1080 <test_none_none@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   1030 <test_none_auto@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   10a0 <test_none_independent@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   10b0 <test_none_seq@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   1090 <test_gangs_none@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   1070 <test_gangs_auto@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   1060 <test_gangs_independent@plt>
cmp    $0x0,%rax
jne    1227 <main+0x97>
mov    $0x0,%al
call   1040 <test_gangs_seq@plt>
cmp    $0x0,%rax
je     122e <main+0x9e>
mov    $0x0,%al
call   1050 <abort@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1080 <test_none_none@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   1030 <test_none_auto@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   10a0 <test_none_independent@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   10b0 <test_none_seq@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   1090 <test_gangs_none@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   1070 <test_gangs_auto@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   1060 <test_gangs_independent@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
call   1040 <test_gangs_seq@plt>
test   %rax,%rax
jne    11f5 <main+0x65>
xor    %eax,%eax
pop    %rcx
ret
xor    %eax,%eax
call   1050 <abort@plt>

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i64 (...) @test_none_none()
%3 = icmp ne i64 %2, 0
br i1 %3, label %25, label %4
4: ; preds = %0
%5 = call i64 (...) @test_none_auto()
%6 = icmp ne i64 %5, 0
br i1 %6, label %25, label %7
7: ; preds = %4
%8 = call i64 (...) @test_none_independent()
%9 = icmp ne i64 %8, 0
br i1 %9, label %25, label %10
10: ; preds = %7
%11 = call i64 (...) @test_none_seq()
%12 = icmp ne i64 %11, 0
br i1 %12, label %25, label %13
13: ; preds = %10
%14 = call i64 (...) @test_gangs_none()
%15 = icmp ne i64 %14, 0
br i1 %15, label %25, label %16
16: ; preds = %13
%17 = call i64 (...) @test_gangs_auto()
%18 = icmp ne i64 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %16
%20 = call i64 (...) @test_gangs_independent()
%21 = icmp ne i64 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %19
%23 = call i64 (...) @test_gangs_seq()
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22, %19, %16, %13, %10, %7, %4, %0
%26 = call i32 (...) @abort()
unreachable
27: ; preds = %22
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i64 (...) @test_none_none()
%2 = icmp eq i64 %1, 0
br i1 %2, label %3, label %24
3: ; preds = %0
%4 = tail call i64 (...) @test_none_auto()
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %24
6: ; preds = %3
%7 = tail call i64 (...) @test_none_independent()
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %24
9: ; preds = %6
%10 = tail call i64 (...) @test_none_seq()
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %24
12: ; preds = %9
%13 = tail call i64 (...) @test_gangs_none()
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %12
%16 = tail call i64 (...) @test_gangs_auto()
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = tail call i64 (...) @test_gangs_independent()
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = tail call i64 (...) @test_gangs_seq()
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21, %18, %15, %12, %9, %6, %3, %0
%25 = tail call i32 (...) @abort()
unreachable
26: ; preds = %21
ret i32 0
}