int main(int argc, char const *argv[]) {
  int *Cf = 0;
  char *Ff = 0;
  Cf = mem_remem_tabs(Cf, "char", 0);
  Ff = mem_remem_tabs(Ff, "int", 0);
  Cf = mem_remem_tabs(Cf, "char", 2);
  Ff = mem_remem_tabs(Ff, "int", 2);
  Ff[0] = 1;
  Ff[1] = 0;
  Cf[0] = 'a';
  Cf[1] = 'b';
  printf("%c%c%d%d\n", Cf[0], Cf[1], Ff[0], Ff[1]);
  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)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xeaf(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <mem_remem_tabs@plt>
cltq
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xe9a(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <mem_remem_tabs@plt>
cltq
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xe7b(%rip),%rsi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <mem_remem_tabs@plt>
cltq
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xe63(%rip),%rsi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <mem_remem_tabs@plt>
cltq
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movb   $0x1,(%rax)
mov    -0x20(%rbp),%rax
movb   $0x0,0x1(%rax)
mov    -0x18(%rbp),%rax
movl   $0x61,(%rax)
mov    -0x18(%rbp),%rax
movl   $0x62,0x4(%rax)
mov    -0x18(%rbp),%rax
mov    (%rax),%esi
mov    -0x18(%rbp),%rax
mov    0x4(%rax),%edx
mov    -0x20(%rbp),%rax
movsbl (%rax),%ecx
mov    -0x20(%rbp),%rax
movsbl 0x1(%rax),%r8d
lea    0xe0d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xed1(%rip),%r14
xor    %edi,%edi
mov    %r14,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <mem_remem_tabs@plt>
movslq %eax,%r12
lea    0xebe(%rip),%r15
xor    %edi,%edi
mov    %r15,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <mem_remem_tabs@plt>
movslq %eax,%rbx
mov    %r12,%rdi
mov    %r14,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <mem_remem_tabs@plt>
movslq %eax,%r14
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <mem_remem_tabs@plt>
cltq
movw   $0x1,(%rax)
movabs $0x6200000061,%rcx
mov    %rcx,(%r14)
movsbl (%rax),%ecx
movsbl 0x1(%rax),%r8d
lea    0xe67(%rip),%rdi
mov    $0x61,%esi
mov    $0x62,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"char\00"
@.str.1 = [4 x i8] c"int\00"
@.str.2 = [10 x i8] c"%c%c%d%d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32* null, i32** %6
store i8* null, i8** %7
%8 = load i32*, i32** %6
%9 = call i32 (i32*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i32*, i8*, i32, ...)*)(i32* %8, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 0)
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to i32*
store i32* %11, i32** %6
%12 = load i8*, i8** %7
%13 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i8*, i8*, i32, ...)*)(i8* %12, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 0)
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to i8*
store i8* %15, i8** %7
%16 = load i32*, i32** %6
%17 = call i32 (i32*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i32*, i8*, i32, ...)*)(i32* %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 2)
%18 = sext i32 %17 to i64
%19 = inttoptr i64 %18 to i32*
store i32* %19, i32** %6
%20 = load i8*, i8** %7
%21 = call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i8*, i8*, i32, ...)*)(i8* %20, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 2)
%22 = sext i32 %21 to i64
%23 = inttoptr i64 %22 to i8*
store i8* %23, i8** %7
%24 = load i8*, i8** %7
%25 = getelementptr inbounds i8, i8* %24, i64 0
store i8 1, i8* %25
%26 = load i8*, i8** %7
%27 = getelementptr inbounds i8, i8* %26, i64 1
store i8 0, i8* %27
%28 = load i32*, i32** %6
%29 = getelementptr inbounds i32, i32* %28, i64 0
store i32 97, i32* %29
%30 = load i32*, i32** %6
%31 = getelementptr inbounds i32, i32* %30, i64 1
store i32 98, i32* %31
%32 = load i32*, i32** %6
%33 = getelementptr inbounds i32, i32* %32, i64 0
%34 = load i32, i32* %33
%35 = load i32*, i32** %6
%36 = getelementptr inbounds i32, i32* %35, i64 1
%37 = load i32, i32* %36
%38 = load i8*, i8** %7
%39 = getelementptr inbounds i8, i8* %38, i64 0
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = load i8*, i8** %7
%43 = getelementptr inbounds i8, i8* %42, i64 1
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %34, i32 %37, i32 %41, i32 %45)
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"char\00"
@.str.1 = [4 x i8] c"int\00"
@.str.2 = [10 x i8] c"%c%c%d%d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i32*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i32*, i8*, i32, ...)*)(i32* null, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 0)
%4 = sext i32 %3 to i64
%5 = inttoptr i64 %4 to i32*
%6 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i8*, i8*, i32, ...)*)(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 0)
%7 = sext i32 %6 to i64
%8 = inttoptr i64 %7 to i8*
%9 = tail call i32 (i32*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i32*, i8*, i32, ...)*)(i32* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 2)
%10 = sext i32 %9 to i64
%11 = inttoptr i64 %10 to i32*
%12 = tail call i32 (i8*, i8*, i32, ...) bitcast (i32 (...)* @mem_remem_tabs to i32 (i8*, i8*, i32, ...)*)(i8* %8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 2)
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to i8*
store i8 1, i8* %14
%15 = getelementptr inbounds i8, i8* %14, i64 1
store i8 0, i8* %15
store i32 97, i32* %11
%16 = getelementptr inbounds i32, i32* %11, i64 1
store i32 98, i32* %16
%17 = load i8, i8* %14
%18 = sext i8 %17 to i32
%19 = load i8, i8* %15
%20 = sext i8 %19 to i32
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 97, i32 98, i32 %18, i32 %20)
ret i32 0
}