#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*/ inline_inline_postdeclared();
int /*<<< orphan*/ inline_inline_postdeclared2();
int /*<<< orphan*/ inline_inline_predeclared();
int /*<<< orphan*/ inline_inline_predeclared2();
int /*<<< orphan*/ inline_inline_undeclared();
int /*<<< orphan*/ inline_inline_undeclared2();
int /*<<< orphan*/ noinst2_static_inline_predeclared();
int /*<<< orphan*/ noinst_static_inline_predeclared();
int main() {
  inline_inline_undeclared();
  inline_inline_predeclared();
  inline_inline_postdeclared();
  inline_inline_undeclared2();
  inline_inline_predeclared2();
  inline_inline_postdeclared2();
  noinst_static_inline_predeclared();
  noinst2_static_inline_predeclared();
  noinst_static_inline_predeclared();
  noinst2_static_inline_predeclared();
  void check_exports();
  check_exports();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   10b0 <inline_inline_undeclared@plt>
mov    $0x0,%al
call   1040 <inline_inline_predeclared@plt>
mov    $0x0,%al
call   1050 <inline_inline_postdeclared@plt>
mov    $0x0,%al
call   1060 <inline_inline_undeclared2@plt>
mov    $0x0,%al
call   1090 <inline_inline_predeclared2@plt>
mov    $0x0,%al
call   1070 <inline_inline_postdeclared2@plt>
mov    $0x0,%al
call   1080 <noinst_static_inline_predeclared@plt>
mov    $0x0,%al
call   10a0 <noinst2_static_inline_predeclared@plt>
mov    $0x0,%al
call   1080 <noinst_static_inline_predeclared@plt>
mov    $0x0,%al
call   10a0 <noinst2_static_inline_predeclared@plt>
mov    $0x0,%al
call   1030 <check_exports@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   10b0 <inline_inline_undeclared@plt>
xor    %eax,%eax
call   1040 <inline_inline_predeclared@plt>
xor    %eax,%eax
call   1050 <inline_inline_postdeclared@plt>
xor    %eax,%eax
call   1060 <inline_inline_undeclared2@plt>
xor    %eax,%eax
call   1090 <inline_inline_predeclared2@plt>
xor    %eax,%eax
call   1070 <inline_inline_postdeclared2@plt>
xor    %eax,%eax
call   1080 <noinst_static_inline_predeclared@plt>
xor    %eax,%eax
call   10a0 <noinst2_static_inline_predeclared@plt>
xor    %eax,%eax
call   1080 <noinst_static_inline_predeclared@plt>
xor    %eax,%eax
call   10a0 <noinst2_static_inline_predeclared@plt>
xor    %eax,%eax
call   1030 <check_exports@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @inline_inline_undeclared()
%3 = call i32 (...) @inline_inline_predeclared()
%4 = call i32 (...) @inline_inline_postdeclared()
%5 = call i32 (...) @inline_inline_undeclared2()
%6 = call i32 (...) @inline_inline_predeclared2()
%7 = call i32 (...) @inline_inline_postdeclared2()
%8 = call i32 (...) @noinst_static_inline_predeclared()
%9 = call i32 (...) @noinst2_static_inline_predeclared()
%10 = call i32 (...) @noinst_static_inline_predeclared()
%11 = call i32 (...) @noinst2_static_inline_predeclared()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @inline_inline_undeclared()
%2 = tail call i32 (...) @inline_inline_predeclared()
%3 = tail call i32 (...) @inline_inline_postdeclared()
%4 = tail call i32 (...) @inline_inline_undeclared2()
%5 = tail call i32 (...) @inline_inline_predeclared2()
%6 = tail call i32 (...) @inline_inline_postdeclared2()
%7 = tail call i32 (...) @noinst_static_inline_predeclared()
%8 = tail call i32 (...) @noinst2_static_inline_predeclared()
%9 = tail call i32 (...) @noinst_static_inline_predeclared()
%10 = tail call i32 (...) @noinst2_static_inline_predeclared()
tail call void (...) @check_exports()
ret i32 0
}