Lines Matching refs:overflow
3 %overflow.result = type {i8, i1}
7 declare %overflow.result @llvm.uadd.with.overflow.i8(i8, i8) nounwind readnone
8 declare %overflow.result @llvm.umul.with.overflow.i8(i8, i8) nounwind readnone
9 declare %ov.result.32 @llvm.sadd.with.overflow.i32(i32, i32) nounwind readnone
10 declare %ov.result.32 @llvm.uadd.with.overflow.i32(i32, i32) nounwind readnone
11 declare %ov.result.32 @llvm.ssub.with.overflow.i32(i32, i32) nounwind readnone
12 declare %ov.result.32 @llvm.usub.with.overflow.i32(i32, i32) nounwind readnone
13 declare %ov.result.32 @llvm.smul.with.overflow.i32(i32, i32) nounwind readnone
14 declare %ov.result.32 @llvm.umul.with.overflow.i32(i32, i32) nounwind readnone
29 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 %A, i8 %B)
30 %y = extractvalue %overflow.result %x, 0
40 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 %and.A, i8 %and.B)
41 %y = extractvalue %overflow.result %x, 0
42 %z = extractvalue %overflow.result %x, 1
56 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 %or.A, i8 %or.B)
57 %y = extractvalue %overflow.result %x, 0
58 %z = extractvalue %overflow.result %x, 1
70 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 undef, i8 %A)
71 %y = extractvalue %overflow.result %x, 0
72 %z = extractvalue %overflow.result %x, 1
80 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 0, i8 %A)
81 %y = extractvalue %overflow.result %x, 0
82 %z = extractvalue %overflow.result %x, 1
90 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 %A, i8 -4)
91 %z = extractvalue %overflow.result %x, 1
99 %x = call %overflow.result @llvm.uadd.with.overflow.i8(i8 %A, i8 %B)
100 %z = extractvalue %overflow.result %x, 0
111 %x = call %ov.result.32 @llvm.sadd.with.overflow.i32(i32 %A, i32 %B)
122 %x = call %ov.result.32 @llvm.uadd.with.overflow.i32(i32 %A, i32 %B)
133 %x = call %ov.result.32 @llvm.ssub.with.overflow.i32(i32 %A, i32 %B)
144 %x = call %ov.result.32 @llvm.usub.with.overflow.i32(i32 %A, i32 %B)
155 %x = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %A, i32 %B)
166 %x = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %A, i32 %B)
177 %x = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %A, i32 %B)
180 ; CHECK: %x = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %A, i32 %B)
187 %x = call %ov.result.32 @llvm.umul.with.overflow.i32(i32 %A, i32 %B)
196 %x = call %overflow.result @llvm.umul.with.overflow.i8(i8 0, i8 %A)
197 %y = extractvalue %overflow.result %x, 0
198 %z = extractvalue %overflow.result %x, 1
207 %x = call %overflow.result @llvm.umul.with.overflow.i8(i8 1, i8 %A)
208 %y = extractvalue %overflow.result %x, 0
209 %z = extractvalue %overflow.result %x, 1
219 %mul = call %ov.result.32 @llvm.umul.with.overflow.i32(i32 %shr, i32 3)
232 %mul = call %ov.result.32 @llvm.umul.with.overflow.i32(i32 %shr, i32 4)
238 ; CHECK: umul.with.overflow
244 %mul = call %ov.result.32 @llvm.umul.with.overflow.i32(i32 %or_x, i32 %or_y)
379 %t = call %ov.result.32 @llvm.sadd.with.overflow.i32(i32 %div, i32 1)
391 %t = call %ov.result.32 @llvm.ssub.with.overflow.i32(i32 %div, i32 1)
401 %t = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %rem, i32 %rem)
411 ; This may overflow because the result of the mul operands may be greater than 16bits
413 %t = call %ov.result.32 @llvm.smul.with.overflow.i32(i32 %rem, i32 %rem)
420 %x = call %ov.result.32 @llvm.ssub.with.overflow.i32(i32 0, i32 %A)
429 %x = call %ov.result.32 @llvm.ssub.with.overflow.i32(i32 %a, i32 0)