#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 */
typedef int wint_t;

/* Variables and functions */
int abs(int const);
int isblank(int const);
int isdigit(int const);
int iswblank(int const);
int iswdigit(int const);
int labs(int const);
int llabs(int const);
int strlen(char const *);
void valueFlow(void) {
  const char abc[] = "abc";
  const int three = 3, minusThree = -3;
  const int c0 = '0', ca = 'a', blank = ' ', tab = '\t';
  const wint_t wblank = L' ', wtab = L'\t', w0 = L'0';
  if (strlen(abc) == 3) {
  };
  if (abs(three) == 3) {
  };
  if (abs(minusThree) == 3) {
  };
  if (isblank(blank) == 1) {
  };
  if (isblank(tab) == 1) {
  };
  if (isblank(c0) == 0) {
  };
  if (isdigit(c0) == 1) {
  };
  if (isdigit(ca) == 0) {
  };
  if (iswblank(wblank) == 1) {
  };
  if (iswblank(wtab) == 1) {
  };
  if (iswblank(w0) == 0) {
  };
  if (iswdigit(w0) == 0) {
  };
  if (iswdigit(wtab) == 1) {
  };
  if (labs(three) == 3) {
  };
  if (labs(minusThree) == 3) {
  };
  if (llabs(three) == 3) {
  };
  if (llabs(minusThree) == 3) {
  };
}


x86 assembly (clang, -O0):
<valueFlow>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0xe72(%rip),%eax
mov    %eax,-0x4(%rbp)
movl   $0x3,-0x8(%rbp)
movl   $0xfffffffd,-0xc(%rbp)
movl   $0x30,-0x10(%rbp)
movl   $0x61,-0x14(%rbp)
movl   $0x20,-0x18(%rbp)
movl   $0x9,-0x1c(%rbp)
movl   $0x20,-0x20(%rbp)
movl   $0x9,-0x24(%rbp)
movl   $0x30,-0x28(%rbp)
lea    -0x4(%rbp),%rdi
call   1060 <strlen@plt>
cmp    $0x3,%eax
jne    11e7 <valueFlow+0x67>
jmp    11e7 <valueFlow+0x67>
mov    $0x3,%edi
call   1040 <abs@plt>
cmp    $0x3,%eax
jne    11ff <valueFlow+0x7f>
jmp    11ff <valueFlow+0x7f>
mov    $0xfffffffd,%edi
call   1040 <abs@plt>
cmp    $0x3,%eax
jne    1217 <valueFlow+0x97>
jmp    1217 <valueFlow+0x97>
mov    $0x20,%edi
call   1070 <isblank@plt>
cmp    $0x1,%eax
jne    122f <valueFlow+0xaf>
jmp    122f <valueFlow+0xaf>
mov    $0x9,%edi
call   1070 <isblank@plt>
cmp    $0x1,%eax
jne    1247 <valueFlow+0xc7>
jmp    1247 <valueFlow+0xc7>
mov    $0x30,%edi
call   1070 <isblank@plt>
cmp    $0x0,%eax
jne    125f <valueFlow+0xdf>
jmp    125f <valueFlow+0xdf>
mov    $0x30,%edi
call   1030 <isdigit@plt>
cmp    $0x1,%eax
jne    1277 <valueFlow+0xf7>
jmp    1277 <valueFlow+0xf7>
mov    $0x61,%edi
call   1030 <isdigit@plt>
cmp    $0x0,%eax
jne    128f <valueFlow+0x10f>
jmp    128f <valueFlow+0x10f>
mov    $0x20,%edi
call   1090 <iswblank@plt>
cmp    $0x1,%eax
jne    12a7 <valueFlow+0x127>
jmp    12a7 <valueFlow+0x127>
mov    $0x9,%edi
call   1090 <iswblank@plt>
cmp    $0x1,%eax
jne    12bf <valueFlow+0x13f>
jmp    12bf <valueFlow+0x13f>
mov    $0x30,%edi
call   1090 <iswblank@plt>
cmp    $0x0,%eax
jne    12d7 <valueFlow+0x157>
jmp    12d7 <valueFlow+0x157>
mov    $0x30,%edi
call   1080 <iswdigit@plt>
cmp    $0x0,%eax
jne    12ef <valueFlow+0x16f>
jmp    12ef <valueFlow+0x16f>
mov    $0x9,%edi
call   1080 <iswdigit@plt>
cmp    $0x1,%eax
jne    1307 <valueFlow+0x187>
jmp    1307 <valueFlow+0x187>
mov    $0x3,%edi
call   1050 <labs@plt>
cmp    $0x3,%eax
jne    131f <valueFlow+0x19f>
jmp    131f <valueFlow+0x19f>
mov    $0xfffffffd,%edi
call   1050 <labs@plt>
cmp    $0x3,%eax
jne    1337 <valueFlow+0x1b7>
jmp    1337 <valueFlow+0x1b7>
mov    $0x3,%edi
call   10a0 <llabs@plt>
cmp    $0x3,%eax
jne    134f <valueFlow+0x1cf>
jmp    134f <valueFlow+0x1cf>
mov    $0xfffffffd,%edi
call   10a0 <llabs@plt>
cmp    $0x3,%eax
jne    1367 <valueFlow+0x1e7>
jmp    1367 <valueFlow+0x1e7>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<valueFlow>:
push   %rax
movl   $0x636261,0x4(%rsp)
lea    0x4(%rsp),%rdi
call   1030 <strlen@plt>
mov    $0x20,%edi
call   1050 <iswblank@plt>
mov    $0x9,%edi
call   1050 <iswblank@plt>
mov    $0x30,%edi
call   1050 <iswblank@plt>
mov    $0x30,%edi
call   1040 <iswdigit@plt>
mov    $0x9,%edi
call   1040 <iswdigit@plt>
pop    %rax
ret

LLVM IR (-O0):
@__const.valueFlow.abc = [4 x i8] c"abc\00"
define void @valueFlow() {
%1 = alloca [4 x i8]
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = bitcast [4 x i8]* %1 to i8*
store i32 3, i32* %2
store i32 -3, i32* %3
store i32 48, i32* %4
store i32 97, i32* %5
store i32 32, i32* %6
store i32 9, i32* %7
store i32 32, i32* %8
store i32 9, i32* %9
store i32 48, i32* %10
%12 = getelementptr inbounds [4 x i8], [4 x i8]* %1, i64 0, i64 0
%13 = call i32 @strlen(i8* %12)
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %16
15: ; preds = %0
br label %16
16: ; preds = %15, %0
%17 = call i32 @abs(i32 3)
%18 = icmp eq i32 %17, 3
br i1 %18, label %19, label %20
19: ; preds = %16
br label %20
20: ; preds = %19, %16
%21 = call i32 @abs(i32 -3)
%22 = icmp eq i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %20
br label %24
24: ; preds = %23, %20
%25 = call i32 @isblank(i32 32)
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %28
27: ; preds = %24
br label %28
28: ; preds = %27, %24
%29 = call i32 @isblank(i32 9)
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %32
31: ; preds = %28
br label %32
32: ; preds = %31, %28
%33 = call i32 @isblank(i32 48)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
br label %36
36: ; preds = %35, %32
%37 = call i32 @isdigit(i32 48)
%38 = icmp eq i32 %37, 1
br i1 %38, label %39, label %40
39: ; preds = %36
br label %40
40: ; preds = %39, %36
%41 = call i32 @isdigit(i32 97)
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %40
br label %44
44: ; preds = %43, %40
%45 = call i32 @iswblank(i32 32)
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %48
47: ; preds = %44
br label %48
48: ; preds = %47, %44
%49 = call i32 @iswblank(i32 9)
%50 = icmp eq i32 %49, 1
br i1 %50, label %51, label %52
51: ; preds = %48
br label %52
52: ; preds = %51, %48
%53 = call i32 @iswblank(i32 48)
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
br label %56
56: ; preds = %55, %52
%57 = call i32 @iswdigit(i32 48)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %56
br label %60
60: ; preds = %59, %56
%61 = call i32 @iswdigit(i32 9)
%62 = icmp eq i32 %61, 1
br i1 %62, label %63, label %64
63: ; preds = %60
br label %64
64: ; preds = %63, %60
%65 = call i32 @labs(i32 3)
%66 = icmp eq i32 %65, 3
br i1 %66, label %67, label %68
67: ; preds = %64
br label %68
68: ; preds = %67, %64
%69 = call i32 @labs(i32 -3)
%70 = icmp eq i32 %69, 3
br i1 %70, label %71, label %72
71: ; preds = %68
br label %72
72: ; preds = %71, %68
%73 = call i32 @llabs(i32 3)
%74 = icmp eq i32 %73, 3
br i1 %74, label %75, label %76
75: ; preds = %72
br label %76
76: ; preds = %75, %72
%77 = call i32 @llabs(i32 -3)
%78 = icmp eq i32 %77, 3
br i1 %78, label %79, label %80
79: ; preds = %76
br label %80
80: ; preds = %79, %76
ret void
}

LLVM IR (-O2):
define void @valueFlow() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
store i32 6513249, i32* %1
%3 = call i32 @strlen(i8* %2)
%4 = call i32 @iswblank(i32 32)
%5 = call i32 @iswblank(i32 9)
%6 = call i32 @iswblank(i32 48)
%7 = call i32 @iswdigit(i32 48)
%8 = call i32 @iswdigit(i32 9)
ret void
}