#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*/ DASUM();
int /*<<< orphan*/ DAXPY();
int /*<<< orphan*/ DCOPY();
int /*<<< orphan*/ DDOT();
int /*<<< orphan*/ DGEMM();
int /*<<< orphan*/ DGEMV();
int /*<<< orphan*/ DGETRF();
int /*<<< orphan*/ DGETRS();
int /*<<< orphan*/ DNRM2();
int /*<<< orphan*/ DPOTRF();
int /*<<< orphan*/ DPOTRS();
int /*<<< orphan*/ DSCAL();
int /*<<< orphan*/ DSYEV();
int /*<<< orphan*/ DSYMV();
int /*<<< orphan*/ DSYRK();
int /*<<< orphan*/ DTRSM();
int /*<<< orphan*/ IDAMAX();
int /*<<< orphan*/ MA28PART();
int /*<<< orphan*/ MPI_Comm_rank();
int /*<<< orphan*/ MPI_Finalize();
int /*<<< orphan*/ MPI_Init();
int /*<<< orphan*/ dmumps_c();
void dummy_call() {
  MA28PART();
  MPI_Finalize();
  MPI_Init();
  MPI_Comm_rank();
  dmumps_c();
  DAXPY();
  DDOT();
  DSCAL();
  DTRSM();
  DSYMV();
  DASUM();
  DGEMM();
  DSYRK();
  DNRM2();
  IDAMAX();
  DCOPY();
  DGEMV();
  DPOTRS();
  DGETRS();
  DGETRF();
  DPOTRF();
  DSYEV();
}


x86 assembly (clang, -O0):
<dummy_call>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1060 <MA28PART@plt>
mov    $0x0,%al
call   1180 <MPI_Finalize@plt>
mov    $0x0,%al
call   1120 <MPI_Init@plt>
mov    $0x0,%al
call   1070 <MPI_Comm_rank@plt>
mov    $0x0,%al
call   1110 <dmumps_c@plt>
mov    $0x0,%al
call   1130 <DAXPY@plt>
mov    $0x0,%al
call   1040 <DDOT@plt>
mov    $0x0,%al
call   1080 <DSCAL@plt>
mov    $0x0,%al
call   10f0 <DTRSM@plt>
mov    $0x0,%al
call   10c0 <DSYMV@plt>
mov    $0x0,%al
call   1090 <DASUM@plt>
mov    $0x0,%al
call   10d0 <DGEMM@plt>
mov    $0x0,%al
call   1140 <DSYRK@plt>
mov    $0x0,%al
call   10e0 <DNRM2@plt>
mov    $0x0,%al
call   1150 <IDAMAX@plt>
mov    $0x0,%al
call   1160 <DCOPY@plt>
mov    $0x0,%al
call   1030 <DGEMV@plt>
mov    $0x0,%al
call   1170 <DPOTRS@plt>
mov    $0x0,%al
call   1100 <DGETRS@plt>
mov    $0x0,%al
call   1050 <DGETRF@plt>
mov    $0x0,%al
call   10a0 <DPOTRF@plt>
mov    $0x0,%al
call   10b0 <DSYEV@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<dummy_call>:
push   %rax
xor    %eax,%eax
call   1060 <MA28PART@plt>
xor    %eax,%eax
call   1180 <MPI_Finalize@plt>
xor    %eax,%eax
call   1120 <MPI_Init@plt>
xor    %eax,%eax
call   1070 <MPI_Comm_rank@plt>
xor    %eax,%eax
call   1110 <dmumps_c@plt>
xor    %eax,%eax
call   1130 <DAXPY@plt>
xor    %eax,%eax
call   1040 <DDOT@plt>
xor    %eax,%eax
call   1080 <DSCAL@plt>
xor    %eax,%eax
call   10f0 <DTRSM@plt>
xor    %eax,%eax
call   10c0 <DSYMV@plt>
xor    %eax,%eax
call   1090 <DASUM@plt>
xor    %eax,%eax
call   10d0 <DGEMM@plt>
xor    %eax,%eax
call   1140 <DSYRK@plt>
xor    %eax,%eax
call   10e0 <DNRM2@plt>
xor    %eax,%eax
call   1150 <IDAMAX@plt>
xor    %eax,%eax
call   1160 <DCOPY@plt>
xor    %eax,%eax
call   1030 <DGEMV@plt>
xor    %eax,%eax
call   1170 <DPOTRS@plt>
xor    %eax,%eax
call   1100 <DGETRS@plt>
xor    %eax,%eax
call   1050 <DGETRF@plt>
xor    %eax,%eax
call   10a0 <DPOTRF@plt>
xor    %eax,%eax
pop    %rcx
jmp    10b0 <DSYEV@plt>

LLVM IR (-O0):
define void @dummy_call() {
%1 = call i32 (...) @MA28PART()
%2 = call i32 (...) @MPI_Finalize()
%3 = call i32 (...) @MPI_Init()
%4 = call i32 (...) @MPI_Comm_rank()
%5 = call i32 (...) @dmumps_c()
%6 = call i32 (...) @DAXPY()
%7 = call i32 (...) @DDOT()
%8 = call i32 (...) @DSCAL()
%9 = call i32 (...) @DTRSM()
%10 = call i32 (...) @DSYMV()
%11 = call i32 (...) @DASUM()
%12 = call i32 (...) @DGEMM()
%13 = call i32 (...) @DSYRK()
%14 = call i32 (...) @DNRM2()
%15 = call i32 (...) @IDAMAX()
%16 = call i32 (...) @DCOPY()
%17 = call i32 (...) @DGEMV()
%18 = call i32 (...) @DPOTRS()
%19 = call i32 (...) @DGETRS()
%20 = call i32 (...) @DGETRF()
%21 = call i32 (...) @DPOTRF()
%22 = call i32 (...) @DSYEV()
ret void
}

LLVM IR (-O2):
define void @dummy_call() {
%1 = tail call i32 (...) @MA28PART()
%2 = tail call i32 (...) @MPI_Finalize()
%3 = tail call i32 (...) @MPI_Init()
%4 = tail call i32 (...) @MPI_Comm_rank()
%5 = tail call i32 (...) @dmumps_c()
%6 = tail call i32 (...) @DAXPY()
%7 = tail call i32 (...) @DDOT()
%8 = tail call i32 (...) @DSCAL()
%9 = tail call i32 (...) @DTRSM()
%10 = tail call i32 (...) @DSYMV()
%11 = tail call i32 (...) @DASUM()
%12 = tail call i32 (...) @DGEMM()
%13 = tail call i32 (...) @DSYRK()
%14 = tail call i32 (...) @DNRM2()
%15 = tail call i32 (...) @IDAMAX()
%16 = tail call i32 (...) @DCOPY()
%17 = tail call i32 (...) @DGEMV()
%18 = tail call i32 (...) @DPOTRS()
%19 = tail call i32 (...) @DGETRS()
%20 = tail call i32 (...) @DGETRF()
%21 = tail call i32 (...) @DPOTRF()
%22 = tail call i32 (...) @DSYEV()
ret void
}