#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 ar[] = "I'm special.";
  const char *pt = "I'm special.";
  printf("address of \"I'm spacial\": %p \n", "I'm special");
  printf("		address ar: %p\n", ar);
  printf("		address pt: %p\n", pt);
  printf("	address of MSG: %p\n", "I'm special.");
  printf("address of \"I'm special\": %p \n", "I'm special");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%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)
lea    0xebd(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xebf(%rip),%rdi
lea    0xed7(%rip),%rsi
call   1030 <printf@plt>
lea    -0x11(%rbp),%rsi
lea    0xed3(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rsi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xedb(%rip),%rdi
lea    0xe78(%rip),%rsi
call   1030 <printf@plt>
lea    0xedd(%rip),%rdi
lea    0xe91(%rip),%rsi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
movabs $0x2e6c6169636570,%rax
mov    %rax,0xd(%rsp)
movabs $0x63657073206d2749,%rax
70 65 63
mov    %rax,0x8(%rsp)
lea    0xec4(%rip),%rbx
lea    0xeca(%rip),%rdi
lea    0xee2(%rip),%r14
mov    %r14,%rsi
call   1030 <printf@plt>
lea    0xedf(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xee3(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
mov    %r14,%rsi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@__const.main.ar = [13 x i8] c"I'm special.\00"
@.str = [13 x i8] c"I'm special.\00"
@.str.1 = [31 x i8] c"address of \22I'm spacial\22: %p \0A\00"
@.str.2 = [12 x i8] c"I'm special\00"
@.str.3 = [18 x i8] c"\09\09address ar: %p\0A\00"
@.str.4 = [18 x i8] c"\09\09address pt: %p\0A\00"
@.str.5 = [21 x i8] c"\09address of MSG: %p\0A\00"
@.str.6 = [31 x i8] c"address of \22I'm special\22: %p \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [13 x i8]
%3 = alloca i8*
store i32 0, i32* %1
%4 = bitcast [13 x i8]* %2 to i8*
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8** %3
%5 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%6 = getelementptr inbounds [13 x i8], [13 x i8]* %2, i64 0, i64 0
%7 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %6)
%8 = load i8*, i8** %3
%9 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i8* %8)
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 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 ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [13 x i8] c"I'm special.\00"
@.str.1 = [31 x i8] c"address of \22I'm spacial\22: %p \0A\00"
@.str.2 = [12 x i8] c"I'm special\00"
@.str.3 = [18 x i8] c"\09\09address ar: %p\0A\00"
@.str.4 = [18 x i8] c"\09\09address pt: %p\0A\00"
@.str.5 = [21 x i8] c"\09address of MSG: %p\0A\00"
@.str.6 = [31 x i8] c"address of \22I'm special\22: %p \0A\00"
define i32 @main() {
%1 = alloca [13 x i8]
%2 = getelementptr inbounds [13 x i8], [13 x i8]* %1, i64 0, i64 0
%3 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %2)
%5 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, 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 ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}