#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_matrix_add_inplace();
int /*<<< orphan*/ test_matrix_copy();
int /*<<< orphan*/ test_matrix_copy_cols_and_rows();
int /*<<< orphan*/ test_matrix_inverse();
int /*<<< orphan*/ test_matrix_multadd_transb();
int /*<<< orphan*/ test_matrix_multiply_aux();
int /*<<< orphan*/ test_matrix_multiply_transb();
int /*<<< orphan*/ test_matrix_multiply_vector();
int /*<<< orphan*/ test_matrix_multiplyadd_vector();
int /*<<< orphan*/ test_matrix_multscale_transb();
int /*<<< orphan*/ test_matrix_sub();
int /*<<< orphan*/ test_matrix_sub_inplace_b();
void matrix_unittests() {
  test_matrix_inverse();
  test_matrix_copy_cols_and_rows();
  test_matrix_multiply_aux();
  test_matrix_multiply_transb();
  test_matrix_multscale_transb();
  test_matrix_multadd_transb();
  test_matrix_multiply_vector();
  test_matrix_multiplyadd_vector();
  test_matrix_add_inplace();
  test_matrix_sub_inplace_b();
  test_matrix_sub();
  test_matrix_copy();
}


x86 assembly (clang, -O0):
<matrix_unittests>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   10e0 <test_matrix_inverse@plt>
mov    $0x0,%al
call   1090 <test_matrix_copy_cols_and_rows@plt>
mov    $0x0,%al
call   1030 <test_matrix_multiply_aux@plt>
mov    $0x0,%al
call   1040 <test_matrix_multiply_transb@plt>
mov    $0x0,%al
call   1080 <test_matrix_multscale_transb@plt>
mov    $0x0,%al
call   1060 <test_matrix_multadd_transb@plt>
mov    $0x0,%al
call   10b0 <test_matrix_multiply_vector@plt>
mov    $0x0,%al
call   10c0 <test_matrix_multiplyadd_vector@plt>
mov    $0x0,%al
call   1050 <test_matrix_add_inplace@plt>
mov    $0x0,%al
call   10a0 <test_matrix_sub_inplace_b@plt>
mov    $0x0,%al
call   10d0 <test_matrix_sub@plt>
mov    $0x0,%al
call   1070 <test_matrix_copy@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<matrix_unittests>:
push   %rax
xor    %eax,%eax
call   10e0 <test_matrix_inverse@plt>
xor    %eax,%eax
call   1090 <test_matrix_copy_cols_and_rows@plt>
xor    %eax,%eax
call   1030 <test_matrix_multiply_aux@plt>
xor    %eax,%eax
call   1040 <test_matrix_multiply_transb@plt>
xor    %eax,%eax
call   1080 <test_matrix_multscale_transb@plt>
xor    %eax,%eax
call   1060 <test_matrix_multadd_transb@plt>
xor    %eax,%eax
call   10b0 <test_matrix_multiply_vector@plt>
xor    %eax,%eax
call   10c0 <test_matrix_multiplyadd_vector@plt>
xor    %eax,%eax
call   1050 <test_matrix_add_inplace@plt>
xor    %eax,%eax
call   10a0 <test_matrix_sub_inplace_b@plt>
xor    %eax,%eax
call   10d0 <test_matrix_sub@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <test_matrix_copy@plt>

LLVM IR (-O0):
define void @matrix_unittests() {
%1 = call i32 (...) @test_matrix_inverse()
%2 = call i32 (...) @test_matrix_copy_cols_and_rows()
%3 = call i32 (...) @test_matrix_multiply_aux()
%4 = call i32 (...) @test_matrix_multiply_transb()
%5 = call i32 (...) @test_matrix_multscale_transb()
%6 = call i32 (...) @test_matrix_multadd_transb()
%7 = call i32 (...) @test_matrix_multiply_vector()
%8 = call i32 (...) @test_matrix_multiplyadd_vector()
%9 = call i32 (...) @test_matrix_add_inplace()
%10 = call i32 (...) @test_matrix_sub_inplace_b()
%11 = call i32 (...) @test_matrix_sub()
%12 = call i32 (...) @test_matrix_copy()
ret void
}

LLVM IR (-O2):
define void @matrix_unittests() {
%1 = tail call i32 (...) @test_matrix_inverse()
%2 = tail call i32 (...) @test_matrix_copy_cols_and_rows()
%3 = tail call i32 (...) @test_matrix_multiply_aux()
%4 = tail call i32 (...) @test_matrix_multiply_transb()
%5 = tail call i32 (...) @test_matrix_multscale_transb()
%6 = tail call i32 (...) @test_matrix_multadd_transb()
%7 = tail call i32 (...) @test_matrix_multiply_vector()
%8 = tail call i32 (...) @test_matrix_multiplyadd_vector()
%9 = tail call i32 (...) @test_matrix_add_inplace()
%10 = tail call i32 (...) @test_matrix_sub_inplace_b()
%11 = tail call i32 (...) @test_matrix_sub()
%12 = tail call i32 (...) @test_matrix_copy()
ret void
}