#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*/ test_arraymap_sanity(int /*<<< orphan*/,
                                        int /*<<< orphan*/ *);
int /*<<< orphan*/ test_hashmap_sanity(int /*<<< orphan*/,
                                       int /*<<< orphan*/ *);
int /*<<< orphan*/ test_map_large();
int /*<<< orphan*/ test_map_parallel();
int /*<<< orphan*/ test_map_stress();
int /*<<< orphan*/ test_percpu_arraymap_many_keys();
int /*<<< orphan*/ test_percpu_arraymap_sanity(int /*<<< orphan*/,
                                               int /*<<< orphan*/ *);
int /*<<< orphan*/ test_percpu_hashmap_sanity(int /*<<< orphan*/,
                                              int /*<<< orphan*/ *);
void run_all_tests(void) {
  test_hashmap_sanity(0, NULL);
  test_percpu_hashmap_sanity(0, NULL);
  test_arraymap_sanity(0, NULL);
  test_percpu_arraymap_sanity(0, NULL);
  test_percpu_arraymap_many_keys();
  test_map_large();
  test_map_parallel();
  test_map_stress();
}


x86 assembly (clang, -O0):
<run_all_tests>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
call   1070 <test_hashmap_sanity@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
call   1080 <test_percpu_hashmap_sanity@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
call   1040 <test_arraymap_sanity@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
call   1030 <test_percpu_arraymap_sanity@plt>
mov    $0x0,%al
call   1060 <test_percpu_arraymap_many_keys@plt>
mov    $0x0,%al
call   1090 <test_map_large@plt>
mov    $0x0,%al
call   1050 <test_map_parallel@plt>
mov    $0x0,%al
call   10a0 <test_map_stress@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<run_all_tests>:
push   %rax
xor    %edi,%edi
xor    %esi,%esi
call   1070 <test_hashmap_sanity@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1080 <test_percpu_hashmap_sanity@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1040 <test_arraymap_sanity@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1030 <test_percpu_arraymap_sanity@plt>
xor    %eax,%eax
call   1060 <test_percpu_arraymap_many_keys@plt>
xor    %eax,%eax
call   1090 <test_map_large@plt>
xor    %eax,%eax
call   1050 <test_map_parallel@plt>
xor    %eax,%eax
pop    %rcx
jmp    10a0 <test_map_stress@plt>

LLVM IR (-O0):
define void @run_all_tests() {
%1 = call i32 @test_hashmap_sanity(i32 0, i32* null)
%2 = call i32 @test_percpu_hashmap_sanity(i32 0, i32* null)
%3 = call i32 @test_arraymap_sanity(i32 0, i32* null)
%4 = call i32 @test_percpu_arraymap_sanity(i32 0, i32* null)
%5 = call i32 (...) @test_percpu_arraymap_many_keys()
%6 = call i32 (...) @test_map_large()
%7 = call i32 (...) @test_map_parallel()
%8 = call i32 (...) @test_map_stress()
ret void
}

LLVM IR (-O2):
define void @run_all_tests() {
%1 = tail call i32 @test_hashmap_sanity(i32 0, i32* null)
%2 = tail call i32 @test_percpu_hashmap_sanity(i32 0, i32* null)
%3 = tail call i32 @test_arraymap_sanity(i32 0, i32* null)
%4 = tail call i32 @test_percpu_arraymap_sanity(i32 0, i32* null)
%5 = tail call i32 (...) @test_percpu_arraymap_many_keys()
%6 = tail call i32 (...) @test_map_large()
%7 = tail call i32 (...) @test_map_parallel()
%8 = tail call i32 (...) @test_map_stress()
ret void
}