#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*/ array(int, char **);
int /*<<< orphan*/ function(int, char **);
int /*<<< orphan*/ globalVariables(int, char **);
int /*<<< orphan*/ helloWorld(int, char **);
int /*<<< orphan*/ ifThen(int, char **);
int /*<<< orphan*/ pointer(int, char **);
int /*<<< orphan*/ structTest(int, char **);
int /*<<< orphan*/ unionTest(int, char **);
int /*<<< orphan*/ variable(int, char **);
int main(int argc, char **argv) {
  helloWorld(argc, argv);
  variable(argc, argv);
  globalVariables(argc, argv);
  function(argc, argv);
  ifThen(argc, argv);
  pointer(argc, argv);
  array(argc, argv);
  structTest(argc, argv);
  unionTest(argc, argv);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1070 <helloWorld@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1090 <variable@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1030 <globalVariables@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   10b0 <function@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1040 <ifThen@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   10a0 <pointer@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1060 <array@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1080 <structTest@plt>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1050 <unionTest@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%ebp
call   1070 <helloWorld@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1090 <variable@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1030 <globalVariables@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   10b0 <function@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1040 <ifThen@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   10a0 <pointer@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1060 <array@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1080 <structTest@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
call   1050 <unionTest@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
store i32 %0, i32* %3
store i8** %1, i8*** %4
%5 = load i32, i32* %3
%6 = load i8**, i8*** %4
%7 = call i32 @helloWorld(i32 %5, i8** %6)
%8 = load i32, i32* %3
%9 = load i8**, i8*** %4
%10 = call i32 @variable(i32 %8, i8** %9)
%11 = load i32, i32* %3
%12 = load i8**, i8*** %4
%13 = call i32 @globalVariables(i32 %11, i8** %12)
%14 = load i32, i32* %3
%15 = load i8**, i8*** %4
%16 = call i32 @function(i32 %14, i8** %15)
%17 = load i32, i32* %3
%18 = load i8**, i8*** %4
%19 = call i32 @ifThen(i32 %17, i8** %18)
%20 = load i32, i32* %3
%21 = load i8**, i8*** %4
%22 = call i32 @pointer(i32 %20, i8** %21)
%23 = load i32, i32* %3
%24 = load i8**, i8*** %4
%25 = call i32 @array(i32 %23, i8** %24)
%26 = load i32, i32* %3
%27 = load i8**, i8*** %4
%28 = call i32 @structTest(i32 %26, i8** %27)
%29 = load i32, i32* %3
%30 = load i8**, i8*** %4
%31 = call i32 @unionTest(i32 %29, i8** %30)
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** %1) {
%3 = tail call i32 @helloWorld(i32 %0, i8** %1)
%4 = tail call i32 @variable(i32 %0, i8** %1)
%5 = tail call i32 @globalVariables(i32 %0, i8** %1)
%6 = tail call i32 @function(i32 %0, i8** %1)
%7 = tail call i32 @ifThen(i32 %0, i8** %1)
%8 = tail call i32 @pointer(i32 %0, i8** %1)
%9 = tail call i32 @array(i32 %0, i8** %1)
%10 = tail call i32 @structTest(i32 %0, i8** %1)
%11 = tail call i32 @unionTest(i32 %0, i8** %1)
ret i32 0
}