#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 *, char const *);
int main(void) {
  char ar1[] = "I'm special.";
  char ar2[] = "I'm special.";
  const char *pt1 = "I'm special.";
  const char *pt2 = "I'm special.";
  printf("%p\n", "I'm special.");
  printf("%p\n", "I'm special.");
  printf("ar1: %p\n", ar1);
  printf("ar2: %p\n", ar2);
  printf("pt1: %p\n", pt1);
  printf("pt2: %p\n", pt2);
  printf("MSG1: %p\n", "I'm special.");
  printf("MSG2: %p\n", "I'm special.");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeda(%rip),%rax
mov    %rax,-0x11(%rbp)
mov    0xed8(%rip),%eax
mov    %eax,-0x9(%rbp)
mov    0xed3(%rip),%al
mov    %al,-0x5(%rbp)
mov    0xebd(%rip),%rax
mov    %rax,-0x1e(%rbp)
mov    0xebb(%rip),%eax
mov    %eax,-0x16(%rbp)
mov    0xeb6(%rip),%al
mov    %al,-0x12(%rbp)
lea    0xea0(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xe95(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xec1(%rip),%rdi
lea    0xe83(%rip),%rsi
call   1030 <printf@plt>
lea    0xeae(%rip),%rdi
lea    0xe70(%rip),%rsi
call   1030 <printf@plt>
lea    -0x11(%rbp),%rsi
lea    0xe6d(%rip),%rdi
call   1030 <printf@plt>
lea    -0x1e(%rbp),%rsi
lea    0xe66(%rip),%rdi
call   1030 <printf@plt>
mov    -0x28(%rbp),%rsi
lea    0xe5f(%rip),%rdi
call   1030 <printf@plt>
mov    -0x30(%rbp),%rsi
lea    0xe58(%rip),%rdi
call   1030 <printf@plt>
lea    0xe55(%rip),%rdi
lea    0xe1d(%rip),%rsi
call   1030 <printf@plt>
lea    0xe4c(%rip),%rdi
lea    0xe0a(%rip),%rsi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x28,%rsp
movabs $0x2e6c6169636570,%rax
mov    %rax,0x1d(%rsp)
movabs $0x63657073206d2749,%rcx
70 65 63
mov    %rcx,0x18(%rsp)
lea    0xec4(%rip),%r14
mov    %rax,0xd(%rsp)
mov    %rcx,0x8(%rsp)
lea    0xeea(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xea3(%rip),%rdi
lea    0x18(%rsp),%rsi
call   1030 <printf@plt>
lea    0xe9b(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <printf@plt>
lea    0xe93(%rip),%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xe8d(%rip),%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xe87(%rip),%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xe82(%rip),%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.ar1 = [13 x i8] c"I'm special.\00"
@__const.main.ar2 = [13 x i8] c"I'm special.\00"
@.str = [13 x i8] c"I'm special.\00"
@.str.1 = [4 x i8] c"%p\0A\00"
@.str.2 = [9 x i8] c"ar1: %p\0A\00"
@.str.3 = [9 x i8] c"ar2: %p\0A\00"
@.str.4 = [9 x i8] c"pt1: %p\0A\00"
@.str.5 = [9 x i8] c"pt2: %p\0A\00"
@.str.6 = [10 x i8] c"MSG1: %p\0A\00"
@.str.7 = [10 x i8] c"MSG2: %p\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [13 x i8]
%3 = alloca [13 x i8]
%4 = alloca i8*
%5 = alloca i8*
store i32 0, i32* %1
%6 = bitcast [13 x i8]* %2 to i8*
%7 = bitcast [13 x i8]* %3 to i8*
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8** %4
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8** %5
%8 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%10 = getelementptr inbounds [13 x i8], [13 x i8]* %2, i64 0, i64 0
%11 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* %10)
%12 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 0
%13 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* %12)
%14 = load i8*, i8** %4
%15 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* %14)
%16 = load i8*, i8** %5
%17 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* %16)
%18 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [13 x i8] c"I'm special.\00"
@.str.1 = [4 x i8] c"%p\0A\00"
@.str.2 = [9 x i8] c"ar1: %p\0A\00"
@.str.3 = [9 x i8] c"ar2: %p\0A\00"
@.str.4 = [9 x i8] c"pt1: %p\0A\00"
@.str.5 = [9 x i8] c"pt2: %p\0A\00"
@.str.6 = [10 x i8] c"MSG1: %p\0A\00"
@.str.7 = [10 x i8] c"MSG2: %p\0A\00"
define i32 @main() {
%1 = alloca [13 x i8]
%2 = alloca [13 x i8]
%3 = getelementptr inbounds [13 x i8], [13 x i8]* %1, i64 0, i64 0
%4 = getelementptr inbounds [13 x i8], [13 x i8]* %2, i64 0, i64 0
%5 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%8 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* %4)
%9 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
ret i32 0
}