#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*/ Get();
void *Consumer() {
  int i;
  for (i = 0; i < 26; i++) {
    Get();
  }
}


x86 assembly (clang, -O0):
<Consumer>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0xc(%rbp)
cmpl   $0x1a,-0xc(%rbp)
jge    113e <Consumer+0x2e>
mov    $0x0,%al
call   1030 <Get@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    111f <Consumer+0xf>
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Consumer>:
push   %rax
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
call   1030 <Get@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <Get@plt>

LLVM IR (-O0):
define i8* @Consumer() {
%1 = alloca i8*
%2 = alloca i32
store i32 0, i32* %2
br label %3
3: ; preds = %8, %0
%4 = load i32, i32* %2
%5 = icmp slt i32 %4, 26
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = call i32 (...) @Get()
br label %8
8: ; preds = %6
%9 = load i32, i32* %2
%10 = add nsw i32 %9, 1
store i32 %10, i32* %2
br label %3
11: ; preds = %3
%12 = load i8*, i8** %1
ret i8* %12
}

LLVM IR (-O2):
define noalias i8* @Consumer() {
%1 = tail call i32 (...) @Get()
%2 = tail call i32 (...) @Get()
%3 = tail call i32 (...) @Get()
%4 = tail call i32 (...) @Get()
%5 = tail call i32 (...) @Get()
%6 = tail call i32 (...) @Get()
%7 = tail call i32 (...) @Get()
%8 = tail call i32 (...) @Get()
%9 = tail call i32 (...) @Get()
%10 = tail call i32 (...) @Get()
%11 = tail call i32 (...) @Get()
%12 = tail call i32 (...) @Get()
%13 = tail call i32 (...) @Get()
%14 = tail call i32 (...) @Get()
%15 = tail call i32 (...) @Get()
%16 = tail call i32 (...) @Get()
%17 = tail call i32 (...) @Get()
%18 = tail call i32 (...) @Get()
%19 = tail call i32 (...) @Get()
%20 = tail call i32 (...) @Get()
%21 = tail call i32 (...) @Get()
%22 = tail call i32 (...) @Get()
%23 = tail call i32 (...) @Get()
%24 = tail call i32 (...) @Get()
%25 = tail call i32 (...) @Get()
%26 = tail call i32 (...) @Get()
ret i8* undef
}