#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*/ big_switch();
int /*<<< orphan*/ boolean_operators();
int /*<<< orphan*/ boolop_loops();
int /*<<< orphan*/ conditional_operator();
int /*<<< orphan*/ conditionals();
int /*<<< orphan*/ do_fallthrough();
int /*<<< orphan*/ early_exits();
int /*<<< orphan*/ jumps();
int /*<<< orphan*/ simple_loops();
int /*<<< orphan*/ static_func();
int /*<<< orphan*/ switches();
int main(int argc, const char *argv[]) {
  simple_loops();
  conditionals();
  early_exits();
  jumps();
  switches();
  big_switch();
  boolean_operators();
  boolop_loops();
  conditional_operator();
  do_fallthrough();
  static_func();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   10a0 <simple_loops@plt>
mov    $0x0,%al
call   10d0 <conditionals@plt>
mov    $0x0,%al
call   1030 <early_exits@plt>
mov    $0x0,%al
call   10c0 <jumps@plt>
mov    $0x0,%al
call   1050 <switches@plt>
mov    $0x0,%al
call   1090 <big_switch@plt>
mov    $0x0,%al
call   1040 <boolean_operators@plt>
mov    $0x0,%al
call   1060 <boolop_loops@plt>
mov    $0x0,%al
call   1070 <conditional_operator@plt>
mov    $0x0,%al
call   10b0 <do_fallthrough@plt>
mov    $0x0,%al
call   1080 <static_func@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   10a0 <simple_loops@plt>
xor    %eax,%eax
call   10d0 <conditionals@plt>
xor    %eax,%eax
call   1030 <early_exits@plt>
xor    %eax,%eax
call   10c0 <jumps@plt>
xor    %eax,%eax
call   1050 <switches@plt>
xor    %eax,%eax
call   1090 <big_switch@plt>
xor    %eax,%eax
call   1040 <boolean_operators@plt>
xor    %eax,%eax
call   1060 <boolop_loops@plt>
xor    %eax,%eax
call   1070 <conditional_operator@plt>
xor    %eax,%eax
call   10b0 <do_fallthrough@plt>
xor    %eax,%eax
call   1080 <static_func@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @simple_loops()
%7 = call i32 (...) @conditionals()
%8 = call i32 (...) @early_exits()
%9 = call i32 (...) @jumps()
%10 = call i32 (...) @switches()
%11 = call i32 (...) @big_switch()
%12 = call i32 (...) @boolean_operators()
%13 = call i32 (...) @boolop_loops()
%14 = call i32 (...) @conditional_operator()
%15 = call i32 (...) @do_fallthrough()
%16 = call i32 (...) @static_func()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @simple_loops()
%4 = tail call i32 (...) @conditionals()
%5 = tail call i32 (...) @early_exits()
%6 = tail call i32 (...) @jumps()
%7 = tail call i32 (...) @switches()
%8 = tail call i32 (...) @big_switch()
%9 = tail call i32 (...) @boolean_operators()
%10 = tail call i32 (...) @boolop_loops()
%11 = tail call i32 (...) @conditional_operator()
%12 = tail call i32 (...) @do_fallthrough()
%13 = tail call i32 (...) @static_func()
ret i32 0
}