void clustering_dissimilarites_Holder(int nb_dissimilarites,
                                      double *historique_dissimilarites,
                                      int *nb_clusters, int resolution) {
  int i, j, nb_exposants_Holder, nb_divisions, **debuts_intervalles,
      nb_dimensions_fractales_faibles;
  int au_moins_un_exposant_Holder_unitaire, nb_exposants_Holder_faibles,
      nb_coupures_candidates;
  int *coupures_candidates, coupure_selectionnee, coupure_par_defaut;
  int nb_dissimilarites_elevees;
  double *exposants_Holder, *exposants_Holder_ordonnes;
  exposants_Holder = (double *)malloc(sizeof(double) * nb_dissimilarites);
  exposants_Holder_ordonnes =
      (double *)malloc(sizeof(double) * nb_dissimilarites);
  coupures_candidates = (int *)malloc(sizeof(int) * nb_dissimilarites);
  calcul_exposants_Holder(nb_dissimilarites, historique_dissimilarites,
                          &nb_exposants_Holder, exposants_Holder);
  au_moins_un_exposant_Holder_unitaire = 0;
  for (i = 0; i < nb_exposants_Holder; i++) {
    if (exposants_Holder[i] > 0.5) {
      au_moins_un_exposant_Holder_unitaire = 1;
      break;
    }
  }
  if (au_moins_un_exposant_Holder_unitaire == 1) {
    nb_divisions = (int)floor(log((double)nb_exposants_Holder) / log(2.0));
    debuts_intervalles = (int **)malloc(sizeof(int *) * nb_divisions);
    for (i = 0; i < nb_divisions; i++) {
      debuts_intervalles[i] =
          (int *)malloc(sizeof(int) * ((int)pow(2.0, (double)i) + 1));
    }
    separation_dissimilarites_evolue(
        nb_exposants_Holder, nb_dissimilarites, historique_dissimilarites,
        &nb_dissimilarites_elevees, exposants_Holder);
    nb_coupures_candidates = 0;
    coupures_candidates[0] = 0;
    if (resolution != 0) {
      for (i = 0; i < nb_exposants_Holder - 1; i++) {
        if ((exposants_Holder[i] <= 0.5) && (exposants_Holder[i + 1] > 0.5)) {
          coupures_candidates[nb_coupures_candidates] = i;
          if ((i + 1) == nb_dissimilarites_elevees) {
            coupure_par_defaut = nb_coupures_candidates;
          }
          nb_coupures_candidates++;
        }
      }
      printf("coupure_par_defaut : %d\n", coupure_par_defaut);
      coupure_selectionnee = resolution + coupure_par_defaut;
      if (coupure_selectionnee < 0) {
        nb_dissimilarites_elevees = coupures_candidates[0] + 1;
      } else if (coupure_selectionnee >= nb_coupures_candidates) {
        nb_dissimilarites_elevees =
            coupures_candidates[nb_coupures_candidates - 1] + 1;
      } else {
        nb_dissimilarites_elevees =
            coupures_candidates[coupure_selectionnee] + 1;
      }
    }
  } else {
    separation_dissimilarites_bete(nb_dissimilarites, historique_dissimilarites,
                                   &nb_dissimilarites_elevees);
  }
  *nb_clusters = nb_dissimilarites_elevees + 1;
  free(exposants_Holder);
  free(exposants_Holder_ordonnes);
  free(coupures_candidates);
}


x86 assembly (clang, -O0):
<clustering_dissimilarites_Holder>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
movslq -0x4(%rbp),%rdi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x68(%rbp)
movslq -0x4(%rbp),%rdi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x70(%rbp)
movslq -0x4(%rbp),%rdi
shl    $0x2,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x50(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x68(%rbp),%rcx
lea    -0x28(%rbp),%rdx
mov    $0x0,%al
call   1090 <calcul_exposants_Holder@plt>
movl   $0x0,-0x40(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    124a <clustering_dissimilarites_Holder+0xba>
mov    -0x68(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xddf(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1237 <clustering_dissimilarites_Holder+0xa7>
movl   $0x1,-0x40(%rbp)
jmp    124a <clustering_dissimilarites_Holder+0xba>
jmp    123c <clustering_dissimilarites_Holder+0xac>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1200 <clustering_dissimilarites_Holder+0x70>
cmpl   $0x1,-0x40(%rbp)
jne    1434 <clustering_dissimilarites_Holder+0x2a4>
cvtsi2sdl -0x28(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  0xd9d(%rip),%xmm0
call   1060 <log@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
divsd  %xmm1,%xmm0
call   10b0 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x2c(%rbp)
movslq -0x2c(%rbp),%rdi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    12ee <clustering_dissimilarites_Holder+0x15e>
cvtsi2sdl -0x20(%rbp),%xmm1
movsd  0xd4f(%rip),%xmm0
call   1070 <pow@plt>
cvttsd2si %xmm0,%eax
add    $0x1,%eax
movslq %eax,%rdi
shl    $0x2,%rdi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x38(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12a0 <clustering_dissimilarites_Holder+0x110>
mov    -0x28(%rbp),%edi
mov    -0x4(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x68(%rbp),%r8
lea    -0x5c(%rbp),%rcx
mov    $0x0,%al
call   10a0 <separation_dissimilarites_evolue@plt>
movl   $0x0,-0x48(%rbp)
mov    -0x50(%rbp),%rax
movl   $0x0,(%rax)
cmpl   $0x0,-0x1c(%rbp)
je     142f <clustering_dissimilarites_Holder+0x29f>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    13b8 <clustering_dissimilarites_Holder+0x228>
mov    -0x68(%rbp),%rax
movslq -0x20(%rbp),%rcx
movsd  0xcb6(%rip),%xmm0
ucomisd (%rax,%rcx,8),%xmm0
jb     13a5 <clustering_dissimilarites_Holder+0x215>
mov    -0x68(%rbp),%rax
mov    -0x20(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xc91(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    13a5 <clustering_dissimilarites_Holder+0x215>
mov    -0x20(%rbp),%edx
mov    -0x50(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
cmp    -0x5c(%rbp),%eax
jne    139c <clustering_dissimilarites_Holder+0x20c>
mov    -0x48(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    13aa <clustering_dissimilarites_Holder+0x21a>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1329 <clustering_dissimilarites_Holder+0x199>
mov    -0x58(%rbp),%esi
lea    0xc4e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c(%rbp),%eax
add    -0x58(%rbp),%eax
mov    %eax,-0x54(%rbp)
cmpl   $0x0,-0x54(%rbp)
jge    13ed <clustering_dissimilarites_Holder+0x25d>
mov    -0x50(%rbp),%rax
mov    (%rax),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    142a <clustering_dissimilarites_Holder+0x29a>
mov    -0x54(%rbp),%eax
cmp    -0x48(%rbp),%eax
jl     1414 <clustering_dissimilarites_Holder+0x284>
mov    -0x50(%rbp),%rax
mov    -0x48(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,4),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1425 <clustering_dissimilarites_Holder+0x295>
mov    -0x50(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    142a <clustering_dissimilarites_Holder+0x29a>
jmp    142f <clustering_dissimilarites_Holder+0x29f>
jmp    1446 <clustering_dissimilarites_Holder+0x2b6>
mov    -0x4(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    -0x5c(%rbp),%rdx
mov    $0x0,%al
call   1080 <separation_dissimilarites_bete@plt>
mov    -0x5c(%rbp),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
mov    -0x70(%rbp),%rdi
call   1030 <free@plt>
mov    -0x50(%rbp),%rdi
call   1030 <free@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<clustering_dissimilarites_Holder>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %ecx,0x14(%rsp)
mov    %rdx,%r14
mov    %rsi,%r13
mov    %edi,%r12d
movslq %edi,%rbp
lea    0x0(,%rbp,8),%rdi
call   1060 <malloc@plt>
mov    %rax,%rbx
lea    0x0(,%rbp,4),%rdi
call   1060 <malloc@plt>
mov    %rax,%r15
lea    0x4(%rsp),%rdx
mov    %ebp,%edi
mov    %r13,%rsi
mov    %rbx,%rcx
xor    %eax,%eax
call   1090 <calcul_exposants_Holder@plt>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1208 <clustering_dissimilarites_Holder+0x78>
xor    %ecx,%ecx
nopl   0x0(%rax)
movsd  (%rbx,%rcx,8),%xmm0
ucomisd 0xe03(%rip),%xmm0
ja     1240 <clustering_dissimilarites_Holder+0xb0>
add    $0x1,%rcx
cmp    %rcx,%rax
jne    11f0 <clustering_dissimilarites_Holder+0x60>
mov    %rsp,%rdx
mov    %r12d,%edi
mov    %r13,%rsi
xor    %eax,%eax
call   1080 <separation_dissimilarites_bete@plt>
mov    (%rsp),%eax
add    $0x1,%eax
mov    %eax,(%r14)
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r14,0x8(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
call   1070 <log@plt>
divsd  0xdaf(%rip),%xmm0
call   10b0 <floor@plt>
cvttsd2si %xmm0,%ebp
test   %ebp,%ebp
jle    1289 <clustering_dissimilarites_Holder+0xf9>
xor    %r14d,%r14d
nopl   0x0(%rax)
movsd  0xd98(%rip),%xmm0
mov    %r14d,%edi
call   1040 <ldexp@plt>
add    $0x1,%r14d
cmp    %r14d,%ebp
jne    1270 <clustering_dissimilarites_Holder+0xe0>
mov    0x4(%rsp),%edi
xor    %ebp,%ebp
mov    %rsp,%rcx
mov    %r12d,%esi
mov    %r13,%rdx
mov    %rbx,%r8
xor    %eax,%eax
call   10a0 <separation_dissimilarites_evolue@plt>
movl   $0x0,(%r15)
mov    0x14(%rsp),%r12d
test   %r12d,%r12d
mov    0x8(%rsp),%r14
je     1218 <clustering_dissimilarites_Holder+0x88>
mov    0x4(%rsp),%eax
mov    (%rsp),%ecx
add    $0xffffffff,%eax
add    $0xffffffffffffffff,%rcx
xor    %edx,%edx
movsd  0xd2c(%rip),%xmm1
jmp    12e5 <clustering_dissimilarites_Holder+0x155>
cs nopw 0x0(%rax,%rax,1)
cmp    %rdx,%rax
je     1312 <clustering_dissimilarites_Holder+0x182>
mov    %rdx,%rsi
add    $0x1,%rdx
ucomisd (%rbx,%rsi,8),%xmm1
jb     12e0 <clustering_dissimilarites_Holder+0x150>
movsd  0x8(%rbx,%rsi,8),%xmm0
ucomisd %xmm1,%xmm0
jbe    12e0 <clustering_dissimilarites_Holder+0x150>
movslq %ebp,%rbp
mov    %esi,(%r15,%rbp,4)
cmp    %rsi,%rcx
cmove  %ebp,%r14d
add    $0x1,%ebp
jmp    12e0 <clustering_dissimilarites_Holder+0x150>
lea    0xcff(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
add    %r14d,%r12d
js     133b <clustering_dissimilarites_Holder+0x1ab>
cmp    %ebp,%r12d
mov    0x8(%rsp),%r14
jge    134e <clustering_dissimilarites_Holder+0x1be>
mov    %r12d,%eax
mov    (%r15,%rax,4),%eax
jmp    1356 <clustering_dissimilarites_Holder+0x1c6>
mov    (%r15),%eax
add    $0x1,%eax
mov    %eax,(%rsp)
mov    0x8(%rsp),%r14
jmp    1218 <clustering_dissimilarites_Holder+0x88>
movslq %ebp,%rax
mov    -0x4(%r15,%rax,4),%eax
add    $0x1,%eax
mov    %eax,(%rsp)
jmp    1218 <clustering_dissimilarites_Holder+0x88>

LLVM IR (-O0):
@.str = [25 x i8] c"coupure_par_defaut : %d\0A\00"
define void @clustering_dissimilarites_Holder(i32 %0, double* %1, i32* %2, i32 %3) {
%5 = alloca i32
%6 = alloca double*
%7 = alloca i32*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32**
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32*
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca double*
%23 = alloca double*
store i32 %0, i32* %5
store double* %1, double** %6
store i32* %2, i32** %7
store i32 %3, i32* %8
%24 = load i32, i32* %5
%25 = sext i32 %24 to i64
%26 = mul i64 8, %25
%27 = call i8* @malloc(i64 %26)
%28 = bitcast i8* %27 to double*
store double* %28, double** %22
%29 = load i32, i32* %5
%30 = sext i32 %29 to i64
%31 = mul i64 8, %30
%32 = call i8* @malloc(i64 %31)
%33 = bitcast i8* %32 to double*
store double* %33, double** %23
%34 = load i32, i32* %5
%35 = sext i32 %34 to i64
%36 = mul i64 4, %35
%37 = call i8* @malloc(i64 %36)
%38 = bitcast i8* %37 to i32*
store i32* %38, i32** %18
%39 = load i32, i32* %5
%40 = load double*, double** %6
%41 = load double*, double** %22
%42 = call i32 (i32, double*, i32*, double*, ...) bitcast (i32 (...)* @calcul_exposants_Holder to i32 (i32, double*, i32*, double*, ...)*)(i32 %39, double* %40, i32* %11, double* %41)
store i32 0, i32* %15
store i32 0, i32* %9
br label %43
43: ; preds = %56, %4
%44 = load i32, i32* %9
%45 = load i32, i32* %11
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = load double*, double** %22
%49 = load i32, i32* %9
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, double* %48, i64 %50
%52 = load double, double* %51
%53 = fcmp ogt double %52, 5.000000e-01
br i1 %53, label %54, label %55
54: ; preds = %47
store i32 1, i32* %15
br label %59
55: ; preds = %47
br label %56
56: ; preds = %55
%57 = load i32, i32* %9
%58 = add nsw i32 %57, 1
store i32 %58, i32* %9
br label %43
59: ; preds = %54, %43
%60 = load i32, i32* %15
%61 = icmp eq i32 %60, 1
br i1 %61, label %62, label %181
62: ; preds = %59
%63 = load i32, i32* %11
%64 = sitofp i32 %63 to double
%65 = call double @log(double %64)
%66 = call double @log(double 2.000000e+00)
%67 = fdiv double %65, %66
%68 = call double @llvm.floor.f64(double %67)
%69 = fptosi double %68 to i32
store i32 %69, i32* %12
%70 = load i32, i32* %12
%71 = sext i32 %70 to i64
%72 = mul i64 8, %71
%73 = call i8* @malloc(i64 %72)
%74 = bitcast i8* %73 to i32**
store i32** %74, i32*** %13
store i32 0, i32* %9
br label %75
75: ; preds = %93, %62
%76 = load i32, i32* %9
%77 = load i32, i32* %12
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %96
79: ; preds = %75
%80 = load i32, i32* %9
%81 = sitofp i32 %80 to double
%82 = call double @pow(double 2.000000e+00, double %81)
%83 = fptosi double %82 to i32
%84 = add nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = mul i64 4, %85
%87 = call i8* @malloc(i64 %86)
%88 = bitcast i8* %87 to i32*
%89 = load i32**, i32*** %13
%90 = load i32, i32* %9
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32*, i32** %89, i64 %91
store i32* %88, i32** %92
br label %93
93: ; preds = %79
%94 = load i32, i32* %9
%95 = add nsw i32 %94, 1
store i32 %95, i32* %9
br label %75
96: ; preds = %75
%97 = load i32, i32* %11
%98 = load i32, i32* %5
%99 = load double*, double** %6
%100 = load double*, double** %22
%101 = call i32 (i32, i32, double*, i32*, double*, ...) bitcast (i32 (...)* @separation_dissimilarites_evolue to i32 (i32, i32, double*, i32*, double*, ...)*)(i32 %97, i32 %98, double* %99, i32* %21, double* %100)
store i32 0, i32* %17
%102 = load i32*, i32** %18
%103 = getelementptr inbounds i32, i32* %102, i64 0
store i32 0, i32* %103
%104 = load i32, i32* %8
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %180
106: ; preds = %96
store i32 0, i32* %9
br label %107
107: ; preds = %143, %106
%108 = load i32, i32* %9
%109 = load i32, i32* %11
%110 = sub nsw i32 %109, 1
%111 = icmp slt i32 %108, %110
br i1 %111, label %112, label %146
112: ; preds = %107
%113 = load double*, double** %22
%114 = load i32, i32* %9
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, double* %113, i64 %115
%117 = load double, double* %116
%118 = fcmp ole double %117, 5.000000e-01
br i1 %118, label %119, label %142
119: ; preds = %112
%120 = load double*, double** %22
%121 = load i32, i32* %9
%122 = add nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, double* %120, i64 %123
%125 = load double, double* %124
%126 = fcmp ogt double %125, 5.000000e-01
br i1 %126, label %127, label %142
127: ; preds = %119
%128 = load i32, i32* %9
%129 = load i32*, i32** %18
%130 = load i32, i32* %17
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, i32* %129, i64 %131
store i32 %128, i32* %132
%133 = load i32, i32* %9
%134 = add nsw i32 %133, 1
%135 = load i32, i32* %21
%136 = icmp eq i32 %134, %135
br i1 %136, label %137, label %139
137: ; preds = %127
%138 = load i32, i32* %17
store i32 %138, i32* %20
br label %139
139: ; preds = %137, %127
%140 = load i32, i32* %17
%141 = add nsw i32 %140, 1
store i32 %141, i32* %17
br label %142
142: ; preds = %139, %119, %112
br label %143
143: ; preds = %142
%144 = load i32, i32* %9
%145 = add nsw i32 %144, 1
store i32 %145, i32* %9
br label %107
146: ; preds = %107
%147 = load i32, i32* %20
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i32 %147)
%149 = load i32, i32* %8
%150 = load i32, i32* %20
%151 = add nsw i32 %149, %150
store i32 %151, i32* %19
%152 = load i32, i32* %19
%153 = icmp slt i32 %152, 0
br i1 %153, label %154, label %159
154: ; preds = %146
%155 = load i32*, i32** %18
%156 = getelementptr inbounds i32, i32* %155, i64 0
%157 = load i32, i32* %156
%158 = add nsw i32 %157, 1
store i32 %158, i32* %21
br label %179
159: ; preds = %146
%160 = load i32, i32* %19
%161 = load i32, i32* %17
%162 = icmp sge i32 %160, %161
br i1 %162, label %163, label %171
163: ; preds = %159
%164 = load i32*, i32** %18
%165 = load i32, i32* %17
%166 = sub nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, i32* %164, i64 %167
%169 = load i32, i32* %168
%170 = add nsw i32 %169, 1
store i32 %170, i32* %21
br label %178
171: ; preds = %159
%172 = load i32*, i32** %18
%173 = load i32, i32* %19
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, i32* %172, i64 %174
%176 = load i32, i32* %175
%177 = add nsw i32 %176, 1
store i32 %177, i32* %21
br label %178
178: ; preds = %171, %163
br label %179
179: ; preds = %178, %154
br label %180
180: ; preds = %179, %96
br label %185
181: ; preds = %59
%182 = load i32, i32* %5
%183 = load double*, double** %6
%184 = call i32 (i32, double*, i32*, ...) bitcast (i32 (...)* @separation_dissimilarites_bete to i32 (i32, double*, i32*, ...)*)(i32 %182, double* %183, i32* %21)
br label %185
185: ; preds = %181, %180
%186 = load i32, i32* %21
%187 = add nsw i32 %186, 1
%188 = load i32*, i32** %7
store i32 %187, i32* %188
%189 = load double*, double** %22
%190 = bitcast double* %189 to i8*
%191 = load double*, double** %23
%192 = bitcast double* %191 to i8*
%193 = load i32*, i32** %18
%194 = bitcast i32* %193 to i8*
ret void
}

LLVM IR (-O2):
@.str = [25 x i8] c"coupure_par_defaut : %d\0A\00"
define void @clustering_dissimilarites_Holder(i32 %0, double* %1, i32* nocapture writeonly %2, i32 %3) {
%5 = alloca i32
%6 = alloca i32
%7 = bitcast i32* %5 to i8*
%8 = bitcast i32* %6 to i8*
%9 = sext i32 %0 to i64
%10 = shl nsw i64 %9, 3
%11 = tail call i8* @malloc(i64 %10)
%12 = bitcast i8* %11 to double*
%13 = shl nsw i64 %9, 2
%14 = tail call i8* @malloc(i64 %13)
%15 = bitcast i8* %14 to i32*
%16 = call i32 (i32, double*, i32*, double*, ...) bitcast (i32 (...)* @calcul_exposants_Holder to i32 (i32, double*, i32*, double*, ...)*)(i32 %0, double* %1, i32* %5, double* %12)
%17 = load i32, i32* %5
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %95
19: ; preds = %4
%20 = zext i32 %17 to i64
br label %23
21: ; preds = %23
%22 = icmp eq i64 %28, %20
br i1 %22, label %95, label %23
23: ; preds = %19, %21
%24 = phi i64 [ 0, %19 ], [ %28, %21 ]
%25 = getelementptr inbounds double, double* %12, i64 %24
%26 = load double, double* %25
%27 = fcmp ogt double %26, 5.000000e-01
%28 = add nuw nsw i64 %24, 1
br i1 %27, label %29, label %21
29: ; preds = %23
%30 = sitofp i32 %17 to double
%31 = call double @log(double %30)
%32 = fdiv double %31, 0x3FE62E42FEFA39EF
%33 = call double @llvm.floor.f64(double %32)
%34 = fptosi double %33 to i32
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %29, %36
%37 = phi i32 [ %39, %36 ], [ 0, %29 ]
%38 = call double @ldexp(double 1.000000e+00, i32 %37)
%39 = add nuw nsw i32 %37, 1
%40 = icmp eq i32 %39, %34
br i1 %40, label %41, label %36
41: ; preds = %36, %29
%42 = load i32, i32* %5
%43 = call i32 (i32, i32, double*, i32*, double*, ...) bitcast (i32 (...)* @separation_dissimilarites_evolue to i32 (i32, i32, double*, i32*, double*, ...)*)(i32 %42, i32 %0, double* %1, i32* %6, double* %12)
store i32 0, i32* %15
%44 = icmp eq i32 %3, 0
br i1 %44, label %97, label %45
45: ; preds = %41
%46 = load i32, i32* %5
%47 = icmp sgt i32 %46, 1
%48 = load i32, i32* %6
%49 = zext i32 %48 to i64
%50 = add nsw i32 %46, -1
%51 = zext i32 %50 to i64
br label %52
52: ; preds = %45, %71
%53 = phi i64 [ 0, %45 ], [ %59, %71 ]
%54 = phi i32 [ undef, %45 ], [ %73, %71 ]
%55 = phi i32 [ 0, %45 ], [ %72, %71 ]
%56 = getelementptr inbounds double, double* %12, i64 %53
%57 = load double, double* %56
%58 = fcmp ugt double %57, 5.000000e-01
%59 = add nuw nsw i64 %53, 1
br i1 %58, label %71, label %60
60: ; preds = %52
%61 = getelementptr inbounds double, double* %12, i64 %59
%62 = load double, double* %61
%63 = fcmp ogt double %62, 5.000000e-01
br i1 %63, label %64, label %71
64: ; preds = %60
%65 = sext i32 %55 to i64
%66 = getelementptr inbounds i32, i32* %15, i64 %65
%67 = trunc i64 %53 to i32
store i32 %67, i32* %66
%68 = icmp eq i64 %59, %49
%69 = select i1 %68, i32 %55, i32 %54
%70 = add nsw i32 %55, 1
br label %71
71: ; preds = %52, %60, %64
%72 = phi i32 [ %55, %60 ], [ %70, %64 ], [ %55, %52 ]
%73 = phi i32 [ %54, %60 ], [ %69, %64 ], [ %54, %52 ]
%74 = icmp eq i64 %59, %51
br i1 %74, label %75, label %52
75: ; preds = %71
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i32 %73)
%77 = add nsw i32 %73, %3
%78 = icmp slt i32 %77, 0
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = load i32, i32* %15
%81 = add nsw i32 %80, 1
store i32 %81, i32* %6
br label %97
82: ; preds = %75
%83 = icmp slt i32 %77, %72
br i1 %83, label %90, label %84
84: ; preds = %82
%85 = add nsw i32 %72, -1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, i32* %15, i64 %86
%88 = load i32, i32* %87
%89 = add nsw i32 %88, 1
store i32 %89, i32* %6
br label %97
90: ; preds = %82
%91 = zext i32 %77 to i64
%92 = getelementptr inbounds i32, i32* %15, i64 %91
%93 = load i32, i32* %92
%94 = add nsw i32 %93, 1
store i32 %94, i32* %6
br label %97
95: ; preds = %21, %4
%96 = call i32 (i32, double*, i32*, ...) bitcast (i32 (...)* @separation_dissimilarites_bete to i32 (i32, double*, i32*, ...)*)(i32 %0, double* %1, i32* %6)
br label %97
97: ; preds = %41, %84, %90, %79, %95
%98 = load i32, i32* %6
%99 = add nsw i32 %98, 1
store i32 %99, i32* %2
ret void
}