#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*/ _mu_test_postprocess();
int /*<<< orphan*/ _mu_test_preprocess(char *);
int /*<<< orphan*/ test_block_entropy();
int /*<<< orphan*/ test_generation_rate();
int /*<<< orphan*/ test_kullback_leibler_divergence();
void test_entropy(void) {
  do {
    _mu_test_preprocess("test_block_entropy");
    test_block_entropy();
    _mu_test_postprocess();
  } while (0);
  do {
    _mu_test_preprocess("test_kullback_leibler_divergence");
    test_kullback_leibler_divergence();
    _mu_test_postprocess();
  } while (0);
  do {
    _mu_test_preprocess("test_generation_rate");
    test_generation_rate();
    _mu_test_postprocess();
  } while (0);
}


x86 assembly (clang, -O0):
<test_entropy>:
push   %rbp
mov    %rsp,%rbp
jmp    1159 <test_entropy+0x9>
lea    0xea0(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
mov    $0x0,%al
call   1030 <test_block_entropy@plt>
mov    $0x0,%al
call   1070 <_mu_test_postprocess@plt>
jmp    1178 <test_entropy+0x28>
lea    0xe94(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
mov    $0x0,%al
call   1040 <test_kullback_leibler_divergence@plt>
mov    $0x0,%al
call   1070 <_mu_test_postprocess@plt>
jmp    1197 <test_entropy+0x47>
lea    0xe96(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
mov    $0x0,%al
call   1060 <test_generation_rate@plt>
mov    $0x0,%al
call   1070 <_mu_test_postprocess@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_entropy>:
push   %rax
lea    0xea8(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
xor    %eax,%eax
call   1030 <test_block_entropy@plt>
xor    %eax,%eax
call   1070 <_mu_test_postprocess@plt>
lea    0xea1(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
xor    %eax,%eax
call   1040 <test_kullback_leibler_divergence@plt>
xor    %eax,%eax
call   1070 <_mu_test_postprocess@plt>
lea    0xea8(%rip),%rdi
call   1050 <_mu_test_preprocess@plt>
xor    %eax,%eax
call   1060 <test_generation_rate@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <_mu_test_postprocess@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"test_block_entropy\00"
@.str.1 = [33 x i8] c"test_kullback_leibler_divergence\00"
@.str.2 = [21 x i8] c"test_generation_rate\00"
define void @test_entropy() {
br label %1
1: ; preds = %0
%2 = call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @test_block_entropy()
%4 = call i32 (...) @_mu_test_postprocess()
br label %5
5: ; preds = %1
br label %6
6: ; preds = %5
%7 = call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 (...) @test_kullback_leibler_divergence()
%9 = call i32 (...) @_mu_test_postprocess()
br label %10
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 (...) @test_generation_rate()
%14 = call i32 (...) @_mu_test_postprocess()
br label %15
15: ; preds = %11
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"test_block_entropy\00"
@.str.1 = [33 x i8] c"test_kullback_leibler_divergence\00"
@.str.2 = [21 x i8] c"test_generation_rate\00"
define void @test_entropy() {
%1 = tail call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @test_block_entropy()
%3 = tail call i32 (...) @_mu_test_postprocess()
%4 = tail call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 (...) @test_kullback_leibler_divergence()
%6 = tail call i32 (...) @_mu_test_postprocess()
%7 = tail call i32 @_mu_test_preprocess(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 (...) @test_generation_rate()
%9 = tail call i32 (...) @_mu_test_postprocess()
ret void
}