• Home
  • Raw
  • Download

Lines Matching refs:overflow

11 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
12 %overflow = icmp ugt i64 %mul64, 4294967295
14 %retval = zext i1 %overflow to i32
26 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
27 %overflow = icmp uge i64 %mul64, 4294967296
29 %retval = zext i1 %overflow to i32
42 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
43 %overflow = icmp ugt i64 %mul64, 4294967295
47 %retval = select i1 %overflow, i32 %mul32, i32 111
60 ; CHECK-NOT: umul.with.overflow.i32
61 %overflow = icmp ugt i64 %mul64, 4294967295
62 %retval = select i1 %overflow, i64 %mul64, i64 111
74 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
75 %overflow = icmp ule i64 %mul64, 4294967295
78 %retval = zext i1 %overflow to i32
90 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
91 %overflow = icmp ult i64 %mul64, 4294967296
94 %retval = zext i1 %overflow to i32
106 %overflow = icmp ugt i64 %mul64, 4294967295
108 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 [[Y]])
111 %retval = select i1 %overflow, i32 %mul32, i32 111
123 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
126 %overflow = icmp ne i64 %mul64, %part64
128 %retval = zext i1 %overflow to i32
139 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
142 %overflow = icmp eq i64 %mul64, %part64
144 %retval = zext i1 %overflow to i32
156 ; CHECK: [[MUL:%.*]] = call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %x, i32 %y)
159 %overflow = icmp ne i64 %part64, %mul64
161 %retval = zext i1 %overflow to i32
167 ; CHECK-NOT: mul.with.overflow
191 ; CHECK-NEXT: %[[umul:.*]] = call { i8, i1 } @llvm.umul.with.overflow.i8(i8 %a, i8 ptrtoint (i32* …