Lines Matching full:max

4 define i1 @gep0_and_cmp(ptr readonly %src, ptr readnone %min, ptr readnone %max) {
12 ; CHECK-NEXT: [[C_MAX_3:%.*]] = icmp ugt ptr [[GEP_3_C]], [[MAX:%.*]]
18 ; CHECK-NEXT: [[C_3_MAX:%.*]] = icmp ult ptr [[GEP_3]], [[MAX]]
25 ; CHECK-NEXT: [[C_4_MAX:%.*]] = icmp ult ptr [[GEP_4]], [[MAX]]
39 %c.max.3 = icmp ugt ptr %gep.3.c, %max
41 %or = or i1 %c.min.0, %c.max.3
49 %c.3.max = icmp ult ptr %gep.3, %max
50 %res.1 = xor i1 %c.3.min, %c.3.max
54 %c.1.max = icmp ult ptr %gep.1, %max
55 %res.2 = xor i1 %c.1.min, %c.1.max
59 %c.2.max = icmp ult ptr %gep.2, %max
60 %res.3 = xor i1 %c.2.min, %c.2.max
64 %c.4.max = icmp ult ptr %gep.4, %max
65 %res.4 = xor i1 %c.4.min, %c.4.max
76 define i1 @addrspacecast_and_cmp(ptr readonly %src, ptr readnone %min, ptr readnone %max) {
81 ; CHECK-NEXT: [[MAX_C:%.*]] = addrspacecast ptr [[MAX:%.*]] to ptr addrspace(1)
92 ; CHECK-NEXT: [[C_3_MAX:%.*]] = icmp ult ptr [[GEP_3]], [[MAX]]
96 ; CHECK-NEXT: [[C_1_MAX:%.*]] = icmp ult ptr [[GEP_1]], [[MAX]]
100 ; CHECK-NEXT: [[C_2_MAX:%.*]] = icmp ult ptr [[GEP_2]], [[MAX]]
104 ; CHECK-NEXT: [[C_4_MAX:%.*]] = icmp ult ptr [[GEP_4]], [[MAX]]
114 %max.c = addrspacecast ptr %max to ptr addrspace(1)
119 %c.max.3 = icmp ugt ptr addrspace(1) %gep.3.c, %max.c
121 %or = or i1 %c.min.0, %c.max.3
129 %c.3.max = icmp ult ptr %gep.3, %max
130 %res.1 = xor i1 %c.3.min, %c.3.max
134 %c.1.max = icmp ult ptr %gep.1, %max
135 %res.2 = xor i1 %c.1.min, %c.1.max
139 %c.2.max = icmp ult ptr %gep.2, %max
140 %res.3 = xor i1 %c.2.min, %c.2.max
144 %c.4.max = icmp ult ptr %gep.4, %max
145 %res.4 = xor i1 %c.4.min, %c.4.max