#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, int);
int main(int argc, const char *argv[]) {
  int intValue = 5;
  int postIncrement = intValue++;
  printf("параметр = %i, постфіксний інкремент = %i\n", intValue,
         postIncrement);
  printf("параметр = %i, префіксний  інкремент = %i\n", intValue, ++intValue);
  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)
movl   $0x5,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x14(%rbp)
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xeb8(%rip),%rdi
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
lea    0xee7(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x6,%esi
mov    $0x5,%edx
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0x6,%esi
mov    $0x7,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [71 x i8] c"\D0\BF\D0\B0\D1\80\D0\B0\D0\BC\D0\B5\D1\82\D1\80 = %i, \D0\BF\D0\BE\D1\81\D1\82\D1\84\D1\96\D0\BA\D1\81\D0\BD\D0\B8\D0\B9 \D1\96\D0\BD\D0\BA\D1\80\D0\B5\D0\BC\D0\B5\D0\BD\D1\82 = %i\0A\00"
@.str.1 = [70 x i8] c"\D0\BF\D0\B0\D1\80\D0\B0\D0\BC\D0\B5\D1\82\D1\80 = %i, \D0\BF\D1\80\D0\B5\D1\84\D1\96\D0\BA\D1\81\D0\BD\D0\B8\D0\B9 \D1\96\D0\BD\D0\BA\D1\80\D0\B5\D0\BC\D0\B5\D0\BD\D1\82 = %i\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 5, i32* %6
%8 = load i32, i32* %6
%9 = add nsw i32 %8, 1
store i32 %9, i32* %6
store i32 %8, i32* %7
%10 = load i32, i32* %6
%11 = load i32, i32* %7
%12 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0), i32 %10, i32 %11)
%13 = load i32, i32* %6
%14 = load i32, i32* %6
%15 = add nsw i32 %14, 1
store i32 %15, i32* %6
%16 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0), i32 %13, i32 %15)
ret i32 0
}

LLVM IR (-O2):
@.str = [71 x i8] c"\D0\BF\D0\B0\D1\80\D0\B0\D0\BC\D0\B5\D1\82\D1\80 = %i, \D0\BF\D0\BE\D1\81\D1\82\D1\84\D1\96\D0\BA\D1\81\D0\BD\D0\B8\D0\B9 \D1\96\D0\BD\D0\BA\D1\80\D0\B5\D0\BC\D0\B5\D0\BD\D1\82 = %i\0A\00"
@.str.1 = [70 x i8] c"\D0\BF\D0\B0\D1\80\D0\B0\D0\BC\D0\B5\D1\82\D1\80 = %i, \D0\BF\D1\80\D0\B5\D1\84\D1\96\D0\BA\D1\81\D0\BD\D0\B8\D0\B9 \D1\96\D0\BD\D0\BA\D1\80\D0\B5\D0\BC\D0\B5\D0\BD\D1\82 = %i\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str, i64 0, i64 0), i32 6, i32 5)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.1, i64 0, i64 0), i32 6, i32 7)
ret i32 0
}