#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 */
long long iceil(int);
long long iceilf(int);
long long iceill(int);
long long ifloor(int);
long long ifloorf(int);
long long ifloorl(int);
long long irint(int);
long long irintf(int);
long long irintl(int);
long long iround(int);
long long iroundf(int);
long long iroundl(int);
long long lceil(int);
long long lceilf(int);
long long lceill(int);
long long lfloor(int);
long long lfloorf(int);
long long lfloorl(int);
long long llceil(int);
long long llceilf(int);
long long llceill(int);
long long llfloor(int);
long long llfloorf(int);
long long llfloorl(int);
long long llrint(int);
long long llrintf(int);
long long llrintl(int);
long long llround(int);
long long llroundf(int);
long long llroundl(int);
long long lrint(int);
long long lrintf(int);
long long lrintl(int);
long long lround(int);
long long lroundf(int);
long long lroundl(int);
void foo(long long *p) {
  int n = 0;
  p[n++] = irint(1);
  p[n++] = lrint(1);
  p[n++] = llrint(1);
  p[n++] = iround(1);
  p[n++] = lround(1);
  p[n++] = llround(1);
  p[n++] = iceil(1);
  p[n++] = lceil(1);
  p[n++] = llceil(1);
  p[n++] = ifloor(1);
  p[n++] = lfloor(1);
  p[n++] = llfloor(1);
  p[n++] = irintf(1);
  p[n++] = lrintf(1);
  p[n++] = llrintf(1);
  p[n++] = iroundf(1);
  p[n++] = lroundf(1);
  p[n++] = llroundf(1);
  p[n++] = iceilf(1);
  p[n++] = lceilf(1);
  p[n++] = llceilf(1);
  p[n++] = ifloorf(1);
  p[n++] = lfloorf(1);
  p[n++] = llfloorf(1);
  p[n++] = irintl(1);
  p[n++] = lrintl(1);
  p[n++] = llrintl(1);
  p[n++] = iroundl(1);
  p[n++] = lroundl(1);
  p[n++] = llroundl(1);
  p[n++] = iceill(1);
  p[n++] = lceill(1);
  p[n++] = llceill(1);
  p[n++] = ifloorl(1);
  p[n++] = lfloorl(1);
  p[n++] = llfloorl(1);
}


x86 assembly (clang, -O0):
<foo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
mov    $0x1,%edi
call   10f0 <irint@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1130 <lrint@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1040 <llrint@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1250 <iround@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1070 <lround@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   10d0 <llround@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1100 <iceil@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1030 <lceil@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1120 <llceil@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11f0 <ifloor@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1220 <lfloor@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1090 <llfloor@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   10e0 <irintf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1060 <lrintf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   10b0 <llrintf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1080 <iroundf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1170 <lroundf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1150 <llroundf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1260 <iceilf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1200 <lceilf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11b0 <llceilf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1180 <ifloorf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1110 <lfloorf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11c0 <llfloorf@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   10c0 <irintl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1050 <lrintl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1190 <llrintl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1230 <iroundl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1160 <lroundl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1140 <llroundl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1240 <iceill@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   1210 <lceill@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11e0 <llceill@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11a0 <ifloorl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   10a0 <lfloorl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0x1,%edi
call   11d0 <llfloorl@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
add    $0x1,%esi
mov    %esi,-0xc(%rbp)
movslq %ecx,%rcx
mov    %rdx,(%rax,%rcx,8)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<foo>:
push   %rbx
mov    %rdi,%rbx
mov    $0x1,%edi
call   10f0 <irint@plt>
mov    %rax,(%rbx)
mov    $0x1,%edi
call   1130 <lrint@plt>
mov    %rax,0x8(%rbx)
mov    $0x1,%edi
call   1040 <llrint@plt>
mov    %rax,0x10(%rbx)
mov    $0x1,%edi
call   1250 <iround@plt>
mov    %rax,0x18(%rbx)
mov    $0x1,%edi
call   1070 <lround@plt>
mov    %rax,0x20(%rbx)
mov    $0x1,%edi
call   10d0 <llround@plt>
mov    %rax,0x28(%rbx)
mov    $0x1,%edi
call   1100 <iceil@plt>
mov    %rax,0x30(%rbx)
mov    $0x1,%edi
call   1030 <lceil@plt>
mov    %rax,0x38(%rbx)
mov    $0x1,%edi
call   1120 <llceil@plt>
mov    %rax,0x40(%rbx)
mov    $0x1,%edi
call   11f0 <ifloor@plt>
mov    %rax,0x48(%rbx)
mov    $0x1,%edi
call   1220 <lfloor@plt>
mov    %rax,0x50(%rbx)
mov    $0x1,%edi
call   1090 <llfloor@plt>
mov    %rax,0x58(%rbx)
mov    $0x1,%edi
call   10e0 <irintf@plt>
mov    %rax,0x60(%rbx)
mov    $0x1,%edi
call   1060 <lrintf@plt>
mov    %rax,0x68(%rbx)
mov    $0x1,%edi
call   10b0 <llrintf@plt>
mov    %rax,0x70(%rbx)
mov    $0x1,%edi
call   1080 <iroundf@plt>
mov    %rax,0x78(%rbx)
mov    $0x1,%edi
call   1170 <lroundf@plt>
mov    %rax,0x80(%rbx)
mov    $0x1,%edi
call   1150 <llroundf@plt>
mov    %rax,0x88(%rbx)
mov    $0x1,%edi
call   1260 <iceilf@plt>
mov    %rax,0x90(%rbx)
mov    $0x1,%edi
call   1200 <lceilf@plt>
mov    %rax,0x98(%rbx)
mov    $0x1,%edi
call   11b0 <llceilf@plt>
mov    %rax,0xa0(%rbx)
mov    $0x1,%edi
call   1180 <ifloorf@plt>
mov    %rax,0xa8(%rbx)
mov    $0x1,%edi
call   1110 <lfloorf@plt>
mov    %rax,0xb0(%rbx)
mov    $0x1,%edi
call   11c0 <llfloorf@plt>
mov    %rax,0xb8(%rbx)
mov    $0x1,%edi
call   10c0 <irintl@plt>
mov    %rax,0xc0(%rbx)
mov    $0x1,%edi
call   1050 <lrintl@plt>
mov    %rax,0xc8(%rbx)
mov    $0x1,%edi
call   1190 <llrintl@plt>
mov    %rax,0xd0(%rbx)
mov    $0x1,%edi
call   1230 <iroundl@plt>
mov    %rax,0xd8(%rbx)
mov    $0x1,%edi
call   1160 <lroundl@plt>
mov    %rax,0xe0(%rbx)
mov    $0x1,%edi
call   1140 <llroundl@plt>
mov    %rax,0xe8(%rbx)
mov    $0x1,%edi
call   1240 <iceill@plt>
mov    %rax,0xf0(%rbx)
mov    $0x1,%edi
call   1210 <lceill@plt>
mov    %rax,0xf8(%rbx)
mov    $0x1,%edi
call   11e0 <llceill@plt>
mov    %rax,0x100(%rbx)
mov    $0x1,%edi
call   11a0 <ifloorl@plt>
mov    %rax,0x108(%rbx)
mov    $0x1,%edi
call   10a0 <lfloorl@plt>
mov    %rax,0x110(%rbx)
mov    $0x1,%edi
call   11d0 <llfloorl@plt>
mov    %rax,0x118(%rbx)
pop    %rbx
ret

LLVM IR (-O0):
define void @foo(i64* %0) {
%2 = alloca i64*
%3 = alloca i32
store i64* %0, i64** %2
store i32 0, i32* %3
%4 = call i64 @irint(i32 1)
%5 = load i64*, i64** %2
%6 = load i32, i32* %3
%7 = add nsw i32 %6, 1
store i32 %7, i32* %3
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i64, i64* %5, i64 %8
store i64 %4, i64* %9
%10 = call i64 @lrint(i32 1)
%11 = load i64*, i64** %2
%12 = load i32, i32* %3
%13 = add nsw i32 %12, 1
store i32 %13, i32* %3
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds i64, i64* %11, i64 %14
store i64 %10, i64* %15
%16 = call i64 @llrint(i32 1)
%17 = load i64*, i64** %2
%18 = load i32, i32* %3
%19 = add nsw i32 %18, 1
store i32 %19, i32* %3
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds i64, i64* %17, i64 %20
store i64 %16, i64* %21
%22 = call i64 @iround(i32 1)
%23 = load i64*, i64** %2
%24 = load i32, i32* %3
%25 = add nsw i32 %24, 1
store i32 %25, i32* %3
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i64, i64* %23, i64 %26
store i64 %22, i64* %27
%28 = call i64 @lround(i32 1)
%29 = load i64*, i64** %2
%30 = load i32, i32* %3
%31 = add nsw i32 %30, 1
store i32 %31, i32* %3
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds i64, i64* %29, i64 %32
store i64 %28, i64* %33
%34 = call i64 @llround(i32 1)
%35 = load i64*, i64** %2
%36 = load i32, i32* %3
%37 = add nsw i32 %36, 1
store i32 %37, i32* %3
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i64, i64* %35, i64 %38
store i64 %34, i64* %39
%40 = call i64 @iceil(i32 1)
%41 = load i64*, i64** %2
%42 = load i32, i32* %3
%43 = add nsw i32 %42, 1
store i32 %43, i32* %3
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i64, i64* %41, i64 %44
store i64 %40, i64* %45
%46 = call i64 @lceil(i32 1)
%47 = load i64*, i64** %2
%48 = load i32, i32* %3
%49 = add nsw i32 %48, 1
store i32 %49, i32* %3
%50 = sext i32 %48 to i64
%51 = getelementptr inbounds i64, i64* %47, i64 %50
store i64 %46, i64* %51
%52 = call i64 @llceil(i32 1)
%53 = load i64*, i64** %2
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 1
store i32 %55, i32* %3
%56 = sext i32 %54 to i64
%57 = getelementptr inbounds i64, i64* %53, i64 %56
store i64 %52, i64* %57
%58 = call i64 @ifloor(i32 1)
%59 = load i64*, i64** %2
%60 = load i32, i32* %3
%61 = add nsw i32 %60, 1
store i32 %61, i32* %3
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds i64, i64* %59, i64 %62
store i64 %58, i64* %63
%64 = call i64 @lfloor(i32 1)
%65 = load i64*, i64** %2
%66 = load i32, i32* %3
%67 = add nsw i32 %66, 1
store i32 %67, i32* %3
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i64, i64* %65, i64 %68
store i64 %64, i64* %69
%70 = call i64 @llfloor(i32 1)
%71 = load i64*, i64** %2
%72 = load i32, i32* %3
%73 = add nsw i32 %72, 1
store i32 %73, i32* %3
%74 = sext i32 %72 to i64
%75 = getelementptr inbounds i64, i64* %71, i64 %74
store i64 %70, i64* %75
%76 = call i64 @irintf(i32 1)
%77 = load i64*, i64** %2
%78 = load i32, i32* %3
%79 = add nsw i32 %78, 1
store i32 %79, i32* %3
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i64, i64* %77, i64 %80
store i64 %76, i64* %81
%82 = call i64 @lrintf(i32 1)
%83 = load i64*, i64** %2
%84 = load i32, i32* %3
%85 = add nsw i32 %84, 1
store i32 %85, i32* %3
%86 = sext i32 %84 to i64
%87 = getelementptr inbounds i64, i64* %83, i64 %86
store i64 %82, i64* %87
%88 = call i64 @llrintf(i32 1)
%89 = load i64*, i64** %2
%90 = load i32, i32* %3
%91 = add nsw i32 %90, 1
store i32 %91, i32* %3
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds i64, i64* %89, i64 %92
store i64 %88, i64* %93
%94 = call i64 @iroundf(i32 1)
%95 = load i64*, i64** %2
%96 = load i32, i32* %3
%97 = add nsw i32 %96, 1
store i32 %97, i32* %3
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i64, i64* %95, i64 %98
store i64 %94, i64* %99
%100 = call i64 @lroundf(i32 1)
%101 = load i64*, i64** %2
%102 = load i32, i32* %3
%103 = add nsw i32 %102, 1
store i32 %103, i32* %3
%104 = sext i32 %102 to i64
%105 = getelementptr inbounds i64, i64* %101, i64 %104
store i64 %100, i64* %105
%106 = call i64 @llroundf(i32 1)
%107 = load i64*, i64** %2
%108 = load i32, i32* %3
%109 = add nsw i32 %108, 1
store i32 %109, i32* %3
%110 = sext i32 %108 to i64
%111 = getelementptr inbounds i64, i64* %107, i64 %110
store i64 %106, i64* %111
%112 = call i64 @iceilf(i32 1)
%113 = load i64*, i64** %2
%114 = load i32, i32* %3
%115 = add nsw i32 %114, 1
store i32 %115, i32* %3
%116 = sext i32 %114 to i64
%117 = getelementptr inbounds i64, i64* %113, i64 %116
store i64 %112, i64* %117
%118 = call i64 @lceilf(i32 1)
%119 = load i64*, i64** %2
%120 = load i32, i32* %3
%121 = add nsw i32 %120, 1
store i32 %121, i32* %3
%122 = sext i32 %120 to i64
%123 = getelementptr inbounds i64, i64* %119, i64 %122
store i64 %118, i64* %123
%124 = call i64 @llceilf(i32 1)
%125 = load i64*, i64** %2
%126 = load i32, i32* %3
%127 = add nsw i32 %126, 1
store i32 %127, i32* %3
%128 = sext i32 %126 to i64
%129 = getelementptr inbounds i64, i64* %125, i64 %128
store i64 %124, i64* %129
%130 = call i64 @ifloorf(i32 1)
%131 = load i64*, i64** %2
%132 = load i32, i32* %3
%133 = add nsw i32 %132, 1
store i32 %133, i32* %3
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i64, i64* %131, i64 %134
store i64 %130, i64* %135
%136 = call i64 @lfloorf(i32 1)
%137 = load i64*, i64** %2
%138 = load i32, i32* %3
%139 = add nsw i32 %138, 1
store i32 %139, i32* %3
%140 = sext i32 %138 to i64
%141 = getelementptr inbounds i64, i64* %137, i64 %140
store i64 %136, i64* %141
%142 = call i64 @llfloorf(i32 1)
%143 = load i64*, i64** %2
%144 = load i32, i32* %3
%145 = add nsw i32 %144, 1
store i32 %145, i32* %3
%146 = sext i32 %144 to i64
%147 = getelementptr inbounds i64, i64* %143, i64 %146
store i64 %142, i64* %147
%148 = call i64 @irintl(i32 1)
%149 = load i64*, i64** %2
%150 = load i32, i32* %3
%151 = add nsw i32 %150, 1
store i32 %151, i32* %3
%152 = sext i32 %150 to i64
%153 = getelementptr inbounds i64, i64* %149, i64 %152
store i64 %148, i64* %153
%154 = call i64 @lrintl(i32 1)
%155 = load i64*, i64** %2
%156 = load i32, i32* %3
%157 = add nsw i32 %156, 1
store i32 %157, i32* %3
%158 = sext i32 %156 to i64
%159 = getelementptr inbounds i64, i64* %155, i64 %158
store i64 %154, i64* %159
%160 = call i64 @llrintl(i32 1)
%161 = load i64*, i64** %2
%162 = load i32, i32* %3
%163 = add nsw i32 %162, 1
store i32 %163, i32* %3
%164 = sext i32 %162 to i64
%165 = getelementptr inbounds i64, i64* %161, i64 %164
store i64 %160, i64* %165
%166 = call i64 @iroundl(i32 1)
%167 = load i64*, i64** %2
%168 = load i32, i32* %3
%169 = add nsw i32 %168, 1
store i32 %169, i32* %3
%170 = sext i32 %168 to i64
%171 = getelementptr inbounds i64, i64* %167, i64 %170
store i64 %166, i64* %171
%172 = call i64 @lroundl(i32 1)
%173 = load i64*, i64** %2
%174 = load i32, i32* %3
%175 = add nsw i32 %174, 1
store i32 %175, i32* %3
%176 = sext i32 %174 to i64
%177 = getelementptr inbounds i64, i64* %173, i64 %176
store i64 %172, i64* %177
%178 = call i64 @llroundl(i32 1)
%179 = load i64*, i64** %2
%180 = load i32, i32* %3
%181 = add nsw i32 %180, 1
store i32 %181, i32* %3
%182 = sext i32 %180 to i64
%183 = getelementptr inbounds i64, i64* %179, i64 %182
store i64 %178, i64* %183
%184 = call i64 @iceill(i32 1)
%185 = load i64*, i64** %2
%186 = load i32, i32* %3
%187 = add nsw i32 %186, 1
store i32 %187, i32* %3
%188 = sext i32 %186 to i64
%189 = getelementptr inbounds i64, i64* %185, i64 %188
store i64 %184, i64* %189
%190 = call i64 @lceill(i32 1)
%191 = load i64*, i64** %2
%192 = load i32, i32* %3
%193 = add nsw i32 %192, 1
store i32 %193, i32* %3
%194 = sext i32 %192 to i64
%195 = getelementptr inbounds i64, i64* %191, i64 %194
store i64 %190, i64* %195
%196 = call i64 @llceill(i32 1)
%197 = load i64*, i64** %2
%198 = load i32, i32* %3
%199 = add nsw i32 %198, 1
store i32 %199, i32* %3
%200 = sext i32 %198 to i64
%201 = getelementptr inbounds i64, i64* %197, i64 %200
store i64 %196, i64* %201
%202 = call i64 @ifloorl(i32 1)
%203 = load i64*, i64** %2
%204 = load i32, i32* %3
%205 = add nsw i32 %204, 1
store i32 %205, i32* %3
%206 = sext i32 %204 to i64
%207 = getelementptr inbounds i64, i64* %203, i64 %206
store i64 %202, i64* %207
%208 = call i64 @lfloorl(i32 1)
%209 = load i64*, i64** %2
%210 = load i32, i32* %3
%211 = add nsw i32 %210, 1
store i32 %211, i32* %3
%212 = sext i32 %210 to i64
%213 = getelementptr inbounds i64, i64* %209, i64 %212
store i64 %208, i64* %213
%214 = call i64 @llfloorl(i32 1)
%215 = load i64*, i64** %2
%216 = load i32, i32* %3
%217 = add nsw i32 %216, 1
store i32 %217, i32* %3
%218 = sext i32 %216 to i64
%219 = getelementptr inbounds i64, i64* %215, i64 %218
store i64 %214, i64* %219
ret void
}

LLVM IR (-O2):
define void @foo(i64* writeonly %0) {
%2 = tail call i64 @irint(i32 1)
store i64 %2, i64* %0
%3 = tail call i64 @lrint(i32 1)
%4 = getelementptr inbounds i64, i64* %0, i64 1
store i64 %3, i64* %4
%5 = tail call i64 @llrint(i32 1)
%6 = getelementptr inbounds i64, i64* %0, i64 2
store i64 %5, i64* %6
%7 = tail call i64 @iround(i32 1)
%8 = getelementptr inbounds i64, i64* %0, i64 3
store i64 %7, i64* %8
%9 = tail call i64 @lround(i32 1)
%10 = getelementptr inbounds i64, i64* %0, i64 4
store i64 %9, i64* %10
%11 = tail call i64 @llround(i32 1)
%12 = getelementptr inbounds i64, i64* %0, i64 5
store i64 %11, i64* %12
%13 = tail call i64 @iceil(i32 1)
%14 = getelementptr inbounds i64, i64* %0, i64 6
store i64 %13, i64* %14
%15 = tail call i64 @lceil(i32 1)
%16 = getelementptr inbounds i64, i64* %0, i64 7
store i64 %15, i64* %16
%17 = tail call i64 @llceil(i32 1)
%18 = getelementptr inbounds i64, i64* %0, i64 8
store i64 %17, i64* %18
%19 = tail call i64 @ifloor(i32 1)
%20 = getelementptr inbounds i64, i64* %0, i64 9
store i64 %19, i64* %20
%21 = tail call i64 @lfloor(i32 1)
%22 = getelementptr inbounds i64, i64* %0, i64 10
store i64 %21, i64* %22
%23 = tail call i64 @llfloor(i32 1)
%24 = getelementptr inbounds i64, i64* %0, i64 11
store i64 %23, i64* %24
%25 = tail call i64 @irintf(i32 1)
%26 = getelementptr inbounds i64, i64* %0, i64 12
store i64 %25, i64* %26
%27 = tail call i64 @lrintf(i32 1)
%28 = getelementptr inbounds i64, i64* %0, i64 13
store i64 %27, i64* %28
%29 = tail call i64 @llrintf(i32 1)
%30 = getelementptr inbounds i64, i64* %0, i64 14
store i64 %29, i64* %30
%31 = tail call i64 @iroundf(i32 1)
%32 = getelementptr inbounds i64, i64* %0, i64 15
store i64 %31, i64* %32
%33 = tail call i64 @lroundf(i32 1)
%34 = getelementptr inbounds i64, i64* %0, i64 16
store i64 %33, i64* %34
%35 = tail call i64 @llroundf(i32 1)
%36 = getelementptr inbounds i64, i64* %0, i64 17
store i64 %35, i64* %36
%37 = tail call i64 @iceilf(i32 1)
%38 = getelementptr inbounds i64, i64* %0, i64 18
store i64 %37, i64* %38
%39 = tail call i64 @lceilf(i32 1)
%40 = getelementptr inbounds i64, i64* %0, i64 19
store i64 %39, i64* %40
%41 = tail call i64 @llceilf(i32 1)
%42 = getelementptr inbounds i64, i64* %0, i64 20
store i64 %41, i64* %42
%43 = tail call i64 @ifloorf(i32 1)
%44 = getelementptr inbounds i64, i64* %0, i64 21
store i64 %43, i64* %44
%45 = tail call i64 @lfloorf(i32 1)
%46 = getelementptr inbounds i64, i64* %0, i64 22
store i64 %45, i64* %46
%47 = tail call i64 @llfloorf(i32 1)
%48 = getelementptr inbounds i64, i64* %0, i64 23
store i64 %47, i64* %48
%49 = tail call i64 @irintl(i32 1)
%50 = getelementptr inbounds i64, i64* %0, i64 24
store i64 %49, i64* %50
%51 = tail call i64 @lrintl(i32 1)
%52 = getelementptr inbounds i64, i64* %0, i64 25
store i64 %51, i64* %52
%53 = tail call i64 @llrintl(i32 1)
%54 = getelementptr inbounds i64, i64* %0, i64 26
store i64 %53, i64* %54
%55 = tail call i64 @iroundl(i32 1)
%56 = getelementptr inbounds i64, i64* %0, i64 27
store i64 %55, i64* %56
%57 = tail call i64 @lroundl(i32 1)
%58 = getelementptr inbounds i64, i64* %0, i64 28
store i64 %57, i64* %58
%59 = tail call i64 @llroundl(i32 1)
%60 = getelementptr inbounds i64, i64* %0, i64 29
store i64 %59, i64* %60
%61 = tail call i64 @iceill(i32 1)
%62 = getelementptr inbounds i64, i64* %0, i64 30
store i64 %61, i64* %62
%63 = tail call i64 @lceill(i32 1)
%64 = getelementptr inbounds i64, i64* %0, i64 31
store i64 %63, i64* %64
%65 = tail call i64 @llceill(i32 1)
%66 = getelementptr inbounds i64, i64* %0, i64 32
store i64 %65, i64* %66
%67 = tail call i64 @ifloorl(i32 1)
%68 = getelementptr inbounds i64, i64* %0, i64 33
store i64 %67, i64* %68
%69 = tail call i64 @lfloorl(i32 1)
%70 = getelementptr inbounds i64, i64* %0, i64 34
store i64 %69, i64* %70
%71 = tail call i64 @llfloorl(i32 1)
%72 = getelementptr inbounds i64, i64* %0, i64 35
store i64 %71, i64* %72
ret void
}