#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 */
scalar_t__ isConsonant(char);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, const char *argv[]) {
  printf("The English consonants are:\n");
  for (char i = 'A'; i <= 'Z'; i++) {
    if (isConsonant(i))
      printf("%c ", i);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movb   $0x41,-0x11(%rbp)
movsbl -0x11(%rbp),%eax
cmp    $0x5a,%eax
jg     118c <main+0x6c>
movsbl -0x11(%rbp),%edi
call   1030 <isConsonant@plt>
cmp    $0x0,%rax
je     117a <main+0x5a>
movsbl -0x11(%rbp),%esi
lea    0xeaa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    117f <main+0x5f>
mov    -0x11(%rbp),%al
add    $0x1,%al
mov    %al,-0x11(%rbp)
jmp    1148 <main+0x28>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xec9(%rip),%rdi
call   1030 <puts@plt>
mov    $0x41,%ebx
lea    0xeb4(%rip),%r14
jmp    1158 <main+0x28>
xchg   %ax,%ax
add    $0x1,%ebx
cmp    $0x5b,%ebx
je     1173 <main+0x43>
movsbl %bl,%edi
call   1040 <isConsonant@plt>
test   %rax,%rax
je     1150 <main+0x20>
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1150 <main+0x20>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [29 x i8] c"The English consonants are:\0A\00"
@.str.1 = [4 x i8] c"%c \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
store i8 65, i8* %6
br label %8
8: ; preds = %21, %2
%9 = load i8, i8* %6
%10 = sext i8 %9 to i32
%11 = icmp sle i32 %10, 90
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load i8, i8* %6
%14 = call i64 @isConsonant(i8 signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i8, i8* %6
%18 = sext i8 %17 to i32
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %18)
br label %20
20: ; preds = %16, %12
br label %21
21: ; preds = %20
%22 = load i8, i8* %6
%23 = add i8 %22, 1
store i8 %23, i8* %6
br label %8
24: ; preds = %8
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [4 x i8] c"%c \00"
@str = [28 x i8] c"The English consonants are:\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str, i64 0, i64 0))
br label %5
4: ; preds = %12
ret i32 0
5: ; preds = %2, %12
%6 = phi i32 [ 65, %2 ], [ %13, %12 ]
%7 = trunc i32 %6 to i8
%8 = tail call i64 @isConsonant(i8 signext %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %5
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %6)
br label %12
12: ; preds = %5, %10
%13 = add nuw nsw i32 %6, 1
%14 = icmp eq i32 %13, 91
br i1 %14, label %4, label %5
}