#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, char *);
int main() {
  char ch;
  scanf("%c", &ch);
  switch (ch) {
  case 'a':
    printf("Vowel");
    break;
  case 'A':
    printf("Vowel");
    break;
  case 'e':
    printf("Vowel");
    break;
  case 'E':
    printf("Vowel");
    break;
  case 'i':
    printf("Vowel");
    break;
  case 'I':
    printf("Vowel");
    break;
  case 'O':
    printf("Vowel");
    break;
  case 'o':
    printf("Vowel");
    break;
  case 'u':
    printf("Vowel");
    break;
  case 'U':
    printf("Vowel");
    break;
  default:
    printf("Consonant");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf9e(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1040 <scanf@plt>
movsbl -0x5(%rbp),%eax
add    $0xffffffbf,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x34,%eax
ja     1213 <main+0xf3>
mov    -0x10(%rbp),%rax
lea    0xea0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf67(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf56(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf34(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xf01(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xef0(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
jmp    121f <main+0xff>
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x7(%rsp),%rsi
call   1040 <scanf@plt>
movsbl 0x7(%rsp),%eax
add    $0xffffffbf,%eax
cmp    $0x34,%eax
ja     115f <main+0x3f>
movabs $0x10411100104111,%rcx
bt     %rax,%rcx
jae    115f <main+0x3f>
lea    0xead(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret
lea    0xea3(%rip),%rdi
jmp    1156 <main+0x36>

LLVM IR (-O0):
@.str = [3 x i8] c"%c\00"
@.str.1 = [6 x i8] c"Vowel\00"
@.str.2 = [10 x i8] c"Consonant\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
%4 = load i8, i8* %2
%5 = sext i8 %4 to i32
switch i32 %5, label %26 [
i32 97, label %6
i32 65, label %8
i32 101, label %10
i32 69, label %12
i32 105, label %14
i32 73, label %16
i32 79, label %18
i32 111, label %20
i32 117, label %22
i32 85, label %24
]
6: ; preds = %0
%7 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
8: ; preds = %0
%9 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
10: ; preds = %0
%11 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
12: ; preds = %0
%13 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
14: ; preds = %0
%15 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
16: ; preds = %0
%17 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
18: ; preds = %0
%19 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
20: ; preds = %0
%21 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
22: ; preds = %0
%23 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
24: ; preds = %0
%25 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
br label %28
26: ; preds = %0
%27 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %28
28: ; preds = %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%c\00"
@.str.1 = [6 x i8] c"Vowel\00"
@.str.2 = [10 x i8] c"Consonant\00"
define i32 @main() {
%1 = alloca i8
%2 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = load i8, i8* %1
%4 = sext i8 %3 to i32
switch i32 %4, label %5 [
i32 97, label %6
i32 65, label %6
i32 101, label %6
i32 69, label %6
i32 105, label %6
i32 73, label %6
i32 79, label %6
i32 111, label %6
i32 117, label %6
i32 85, label %6
]
5: ; preds = %0
br label %6
6: ; preds = %0, %0, %0, %0, %0, %0, %0, %0, %0, %0, %5
%7 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), %5 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), %0 ]
%8 = call i32 @printf(i8* dereferenceable(1) %7)
ret i32 0
}