#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*/ __analyzer_eval(int);
int /*<<< orphan*/ free(void *);
void *malloc(int);
void test_11(void) {
  void *p = malloc(256);
  void *q = malloc(256);
  __analyzer_eval(p == q);
  __analyzer_eval(p != q);
  __analyzer_eval(p <= q);
  __analyzer_eval(p >= q);
  __analyzer_eval(p < q);
  __analyzer_eval(p > q);
  __analyzer_eval(p == p);
  __analyzer_eval(p != p);
  __analyzer_eval(p <= p);
  __analyzer_eval(p >= p);
  __analyzer_eval(p < p);
  __analyzer_eval(p > p);
  free(p);
  free(q);
}


x86 assembly (clang, -O0):
<test_11>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x100,%edi
call   1050 <malloc@plt>
mov    %rax,-0x8(%rbp)
mov    $0x100,%edi
call   1050 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
setbe  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
setae  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
setb   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x10(%rbp),%rax
seta   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
setne  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
setbe  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
setae  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
setb   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rax
cmp    -0x8(%rbp),%rax
seta   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__analyzer_eval@plt>
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_11>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x100,%edi
call   1050 <malloc@plt>
mov    %rax,%r15
mov    $0x100,%edi
call   1050 <malloc@plt>
mov    %rax,(%rsp)
xor    %edi,%edi
xor    %ebx,%ebx
xor    %r14d,%r14d
xor    %ebp,%ebp
xor    %r13d,%r13d
xor    %r12d,%r12d
cmp    %rax,%r15
sete   %dil
setne  %bl
setbe  %r14b
setae  %bpl
setb   %r13b
seta   %r12b
call   1040 <__analyzer_eval@plt>
mov    %ebx,%edi
call   1040 <__analyzer_eval@plt>
mov    %r14d,%edi
call   1040 <__analyzer_eval@plt>
mov    %ebp,%edi
call   1040 <__analyzer_eval@plt>
mov    %r13d,%edi
call   1040 <__analyzer_eval@plt>
mov    %r12d,%edi
call   1040 <__analyzer_eval@plt>
mov    $0x1,%edi
call   1040 <__analyzer_eval@plt>
xor    %edi,%edi
call   1040 <__analyzer_eval@plt>
mov    $0x1,%edi
call   1040 <__analyzer_eval@plt>
mov    $0x1,%edi
call   1040 <__analyzer_eval@plt>
xor    %edi,%edi
call   1040 <__analyzer_eval@plt>
xor    %edi,%edi
call   1040 <__analyzer_eval@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    (%rsp),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
define void @test_11() {
%1 = alloca i8*
%2 = alloca i8*
%3 = call i8* @malloc(i32 256)
store i8* %3, i8** %1
%4 = call i8* @malloc(i32 256)
store i8* %4, i8** %2
%5 = load i8*, i8** %1
%6 = load i8*, i8** %2
%7 = icmp eq i8* %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @__analyzer_eval(i32 %8)
%10 = load i8*, i8** %1
%11 = load i8*, i8** %2
%12 = icmp ne i8* %10, %11
%13 = zext i1 %12 to i32
%14 = call i32 @__analyzer_eval(i32 %13)
%15 = load i8*, i8** %1
%16 = load i8*, i8** %2
%17 = icmp ule i8* %15, %16
%18 = zext i1 %17 to i32
%19 = call i32 @__analyzer_eval(i32 %18)
%20 = load i8*, i8** %1
%21 = load i8*, i8** %2
%22 = icmp uge i8* %20, %21
%23 = zext i1 %22 to i32
%24 = call i32 @__analyzer_eval(i32 %23)
%25 = load i8*, i8** %1
%26 = load i8*, i8** %2
%27 = icmp ult i8* %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @__analyzer_eval(i32 %28)
%30 = load i8*, i8** %1
%31 = load i8*, i8** %2
%32 = icmp ugt i8* %30, %31
%33 = zext i1 %32 to i32
%34 = call i32 @__analyzer_eval(i32 %33)
%35 = load i8*, i8** %1
%36 = load i8*, i8** %1
%37 = icmp eq i8* %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @__analyzer_eval(i32 %38)
%40 = load i8*, i8** %1
%41 = load i8*, i8** %1
%42 = icmp ne i8* %40, %41
%43 = zext i1 %42 to i32
%44 = call i32 @__analyzer_eval(i32 %43)
%45 = load i8*, i8** %1
%46 = load i8*, i8** %1
%47 = icmp ule i8* %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @__analyzer_eval(i32 %48)
%50 = load i8*, i8** %1
%51 = load i8*, i8** %1
%52 = icmp uge i8* %50, %51
%53 = zext i1 %52 to i32
%54 = call i32 @__analyzer_eval(i32 %53)
%55 = load i8*, i8** %1
%56 = load i8*, i8** %1
%57 = icmp ult i8* %55, %56
%58 = zext i1 %57 to i32
%59 = call i32 @__analyzer_eval(i32 %58)
%60 = load i8*, i8** %1
%61 = load i8*, i8** %1
%62 = icmp ugt i8* %60, %61
%63 = zext i1 %62 to i32
%64 = call i32 @__analyzer_eval(i32 %63)
%65 = load i8*, i8** %1
%66 = call i32 @free(i8* %65)
%67 = load i8*, i8** %2
%68 = call i32 @free(i8* %67)
ret void
}

LLVM IR (-O2):
define void @test_11() {
%1 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
%2 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
%3 = icmp eq i8* %1, %2
%4 = zext i1 %3 to i32
%5 = tail call i32 @__analyzer_eval(i32 %4)
%6 = icmp ne i8* %1, %2
%7 = zext i1 %6 to i32
%8 = tail call i32 @__analyzer_eval(i32 %7)
%9 = icmp ule i8* %1, %2
%10 = zext i1 %9 to i32
%11 = tail call i32 @__analyzer_eval(i32 %10)
%12 = icmp uge i8* %1, %2
%13 = zext i1 %12 to i32
%14 = tail call i32 @__analyzer_eval(i32 %13)
%15 = icmp ult i8* %1, %2
%16 = zext i1 %15 to i32
%17 = tail call i32 @__analyzer_eval(i32 %16)
%18 = icmp ugt i8* %1, %2
%19 = zext i1 %18 to i32
%20 = tail call i32 @__analyzer_eval(i32 %19)
%21 = tail call i32 @__analyzer_eval(i32 1)
%22 = tail call i32 @__analyzer_eval(i32 0)
%23 = tail call i32 @__analyzer_eval(i32 1)
%24 = tail call i32 @__analyzer_eval(i32 1)
%25 = tail call i32 @__analyzer_eval(i32 0)
%26 = tail call i32 @__analyzer_eval(i32 0)
%27 = tail call i32 @free(i8* %1)
%28 = tail call i32 @free(i8* %2)
ret void
}