Home
last modified time | relevance | path

Searched refs:overflow (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/external/llvm/test/Transforms/ConstProp/
Doverflow-ops.ll4 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8, i8)
5 declare {i8, i1} @llvm.usub.with.overflow.i8(i8, i8)
6 declare {i8, i1} @llvm.umul.with.overflow.i8(i8, i8)
8 declare {i8, i1} @llvm.sadd.with.overflow.i8(i8, i8)
9 declare {i8, i1} @llvm.ssub.with.overflow.i8(i8, i8)
10 declare {i8, i1} @llvm.smul.with.overflow.i8(i8, i8)
18 %t = call {i8, i1} @llvm.uadd.with.overflow.i8(i8 42, i8 100)
27 %t = call {i8, i1} @llvm.uadd.with.overflow.i8(i8 142, i8 120)
40 %t = call {i8, i1} @llvm.usub.with.overflow.i8(i8 4, i8 2)
49 %t = call {i8, i1} @llvm.usub.with.overflow.i8(i8 4, i8 6)
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-xaluo.ll5 ; Get the actual value of the overflow bit.
12 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 %v2)
25 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 4)
38 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 -4)
51 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 16777215)
65 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 %lsl)
77 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 %v1, i64 %v2)
89 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 %v1, i64 4)
101 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 %v1, i64 -4)
113 %t = call {i32, i1} @llvm.uadd.with.overflow.i32(i32 %v1, i32 %v2)
[all …]
/external/llvm/test/CodeGen/Generic/
Doverflow.ll2 ; Verify codegen's don't crash on overflow intrinsics.
8 %sadd = tail call { i8, i1 } @llvm.sadd.with.overflow.i8(i8 %a, i8 %b)
15 declare { i8, i1 } @llvm.sadd.with.overflow.i8(i8, i8) nounwind readnone
19 %sadd = tail call { i16, i1 } @llvm.sadd.with.overflow.i16(i16 %a, i16 %b)
26 declare { i16, i1 } @llvm.sadd.with.overflow.i16(i16, i16) nounwind readnone
30 %sadd = tail call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %a, i32 %b)
37 declare { i32, i1 } @llvm.sadd.with.overflow.i32(i32, i32) nounwind readnone
44 %uadd = tail call { i8, i1 } @llvm.uadd.with.overflow.i8(i8 %a, i8 %b)
51 declare { i8, i1 } @llvm.uadd.with.overflow.i8(i8, i8) nounwind readnone
55 %uadd = tail call { i16, i1 } @llvm.uadd.with.overflow.i16(i16 %a, i16 %b)
[all …]
Dadd-with-overflow.ll9 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 %v2)
12 br i1 %obit, label %overflow, label %normal
18 overflow:
25 %t = call {i32, i1} @llvm.uadd.with.overflow.i32(i32 %v1, i32 %v2)
28 br i1 %obit, label %overflow, label %normal
34 overflow:
40 declare {i32, i1} @llvm.sadd.with.overflow.i32(i32, i32)
41 declare {i32, i1} @llvm.uadd.with.overflow.i32(i32, i32)
/external/llvm/test/CodeGen/X86/
Dxaluo.ll5 ; Get the actual value of the overflow bit.
13 %t = call {i8, i1} @llvm.sadd.with.overflow.i8(i8 %v1, i8 %v2)
25 %t = call {i16, i1} @llvm.sadd.with.overflow.i16(i16 %v1, i16 %v2)
37 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 %v2)
49 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 %v1, i64 %v2)
62 %t = call {i8, i1} @llvm.sadd.with.overflow.i8(i8 %v1, i8 1)
74 %t = call {i16, i1} @llvm.sadd.with.overflow.i16(i16 %v1, i16 1)
86 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %v1, i32 1)
98 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 %v1, i64 1)
116 %t = call {i64, i1} @llvm.sadd.with.overflow.i64(i64 2, i64 %v1)
[all …]
Dsmul-with-overflow.ll8 %t = call {i32, i1} @llvm.smul.with.overflow.i32(i32 %v1, i32 %v2)
11 br i1 %obit, label %overflow, label %normal
17 overflow:
27 %t = call {i32, i1} @llvm.smul.with.overflow.i32(i32 %v1, i32 %v2)
30 br i1 %obit, label %overflow, label %normal
32 overflow:
45 declare {i32, i1} @llvm.smul.with.overflow.i32(i32, i32)
50 %tmp1 = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %tmp0, i32 2)
62 %tmp1 = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %tmp0, i32 4)
71 declare { i63, i1 } @llvm.smul.with.overflow.i63(i63, i63) nounwind readnone
[all …]
Dfast-isel-constant.ll10 %t = call {i32, i1} @llvm.sadd.with.overflow.i32(i32 %a, i32 %v2)
14 br i1 %obit, label %overflow, label %normal
18 br label %overflow
20 overflow:
24 declare {i32, i1} @llvm.sadd.with.overflow.i32(i32, i32)
Dmuloti.ll16 %0 = tail call %1 @llvm.smul.with.overflow.i128(i128 %ins14, i128 %ins)
20 br i1 %2, label %overflow, label %nooverflow
22 overflow: ; preds = %entry
59 %6 = call %1 @llvm.umul.with.overflow.i128(i128 %tmp, i128 %tmp2)
64 br i1 %8, label %overflow, label %nooverflow
66 overflow: ; preds = %entry
77 declare %1 @llvm.umul.with.overflow.i128(i128, i128) nounwind readnone
79 declare %1 @llvm.smul.with.overflow.i128(i128, i128) nounwind readnone
/external/llvm/test/tools/llvm-profdata/
Doverflow-instr.test1 Tests for overflow when merging instrumented profiles.
3 1- Merge profile having maximum counts with itself and verify overflow detected and saturation occu…
4 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext %p/Inputs/overflow-instr.proftext…
6 MERGE_OVERFLOW: {{.*}}: overflow: Counter overflow
11 2- Merge profile having maximum counts by itself and verify no overflow
12 RUN: llvm-profdata merge -instr %p/Inputs/overflow-instr.proftext -o %t.out 2>&1 | FileCheck %s -ch…
14 MERGE_NO_OVERFLOW-NOT: {{.*}}: overflow: Counter overflow
Doverflow-sample.test1 Tests for overflow when merging sampled profiles.
3 1- Merge profile having maximum counts with itself and verify overflow detected
4 RUN: llvm-profdata merge -sample %p/Inputs/overflow-sample.proftext %p/Inputs/overflow-sample.proft…
6 MERGE_OVERFLOW: {{.*}}: main: Counter overflow
24 2- Merge profile having maximum counts by itself and verify no overflow
25 RUN: llvm-profdata merge -sample %p/Inputs/overflow-sample.proftext -o %t.out 2>&1 | FileCheck %s -…
27 MERGE_NO_OVERFLOW-NOT: {{.*}}: main: Counter overflow
/external/llvm/test/Transforms/InstCombine/
Doverflow-mul.ll11 ; 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
[all …]
Dintrinsics.ll3 %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)
[all …]
/external/llvm/test/Transforms/GVN/
D2011-07-07-MatchIntrinsicExtract.ll8 %uadd = tail call %0 @llvm.uadd.with.overflow.i64(i64 %a, i64 %b)
20 %usub = tail call %0 @llvm.usub.with.overflow.i64(i64 %a, i64 %b)
32 %umul = tail call %0 @llvm.umul.with.overflow.i64(i64 %a, i64 %b)
44 %sadd = tail call %0 @llvm.sadd.with.overflow.i64(i64 %a, i64 %b)
56 %ssub = tail call %0 @llvm.ssub.with.overflow.i64(i64 %a, i64 %b)
68 %smul = tail call %0 @llvm.smul.with.overflow.i64(i64 %a, i64 %b)
79 declare %0 @llvm.uadd.with.overflow.i64(i64, i64) nounwind readnone
80 declare %0 @llvm.usub.with.overflow.i64(i64, i64) nounwind readnone
81 declare %0 @llvm.umul.with.overflow.i64(i64, i64) nounwind readnone
82 declare %0 @llvm.sadd.with.overflow.i64(i64, i64) nounwind readnone
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dfwd_txfm_sse2.h223 int overflow = k_check_epi32_overflow_4(preg0, preg1, preg2, preg3, zero); in k_check_epi32_overflow_8() local
224 if (!overflow) { in k_check_epi32_overflow_8()
225 overflow = k_check_epi32_overflow_4(preg4, preg5, preg6, preg7, zero); in k_check_epi32_overflow_8()
227 return overflow; in k_check_epi32_overflow_8()
247 int overflow = k_check_epi32_overflow_4(preg0, preg1, preg2, preg3, zero); in k_check_epi32_overflow_16() local
248 if (!overflow) { in k_check_epi32_overflow_16()
249 overflow = k_check_epi32_overflow_4(preg4, preg5, preg6, preg7, zero); in k_check_epi32_overflow_16()
250 if (!overflow) { in k_check_epi32_overflow_16()
251 overflow = k_check_epi32_overflow_4(preg8, preg9, preg10, preg11, in k_check_epi32_overflow_16()
253 if (!overflow) { in k_check_epi32_overflow_16()
[all …]
Dfwd_txfm_impl_sse2.h89 int test, overflow; in FDCT4x4_2D() local
178 overflow = check_epi16_overflow_x2(&x0, &x1); in FDCT4x4_2D()
179 if (overflow) { in FDCT4x4_2D()
200 overflow = check_epi16_overflow_x2(&t0, &t1); in FDCT4x4_2D()
201 if (overflow) { in FDCT4x4_2D()
239 overflow = check_epi16_overflow_x2(&x0, &x1); in FDCT4x4_2D()
240 if (overflow) { in FDCT4x4_2D()
283 int overflow; in FDCT8x8_2D() local
322 overflow = check_epi16_overflow_x8(&q0, &q1, &q2, &q3, in FDCT8x8_2D()
324 if (overflow) { in FDCT8x8_2D()
[all …]
/external/clang/test/SemaCXX/
Dinteger-overflow.cpp9 static const uint64_t overflow = 1 * 4608 * 1024 * 1024; // expected-warning {{overflow in expressi… variable
13 uint64_t overflow = 4608 * 1024 * 1024, in check_integer_overflows() local
26 overflow += overflow2 = overflow3 = (uint64_t)(4608 * 1024 * 1024); in check_integer_overflows()
28 overflow += overflow2 = overflow3 = 4608 * 1024 * 1024; in check_integer_overflows()
31 overflow += overflow2 = overflow3 = static_cast<uint64_t>(4608 * 1024 * 1024); in check_integer_overflows()
37 overflow = 4608 * 1024 * 1024 ? 4608 * 1024 * 1024 : 0; in check_integer_overflows()
40 overflow = 0 ? 0 : 4608 * 1024 * 1024; in check_integer_overflows()
/external/compiler-rt/lib/builtins/
Dmulosi4.c22 __mulosi4(si_int a, si_int b, int* overflow) in __mulosi4() argument
27 *overflow = 0; in __mulosi4()
32 *overflow = 1; in __mulosi4()
38 *overflow = 1; in __mulosi4()
50 *overflow = 1; in __mulosi4()
55 *overflow = 1; in __mulosi4()
Dmulodi4.c22 __mulodi4(di_int a, di_int b, int* overflow) in __mulodi4() argument
27 *overflow = 0; in __mulodi4()
32 *overflow = 1; in __mulodi4()
38 *overflow = 1; in __mulodi4()
50 *overflow = 1; in __mulodi4()
55 *overflow = 1; in __mulodi4()
Dmuloti4.c24 __muloti4(ti_int a, ti_int b, int* overflow) in __muloti4() argument
29 *overflow = 0; in __muloti4()
34 *overflow = 1; in __muloti4()
40 *overflow = 1; in __muloti4()
52 *overflow = 1; in __muloti4()
57 *overflow = 1; in __muloti4()
/external/clang/test/Sema/
Dinteger-overflow.c9 static const uint64_t overflow = 1 * 4608 * 1024 * 1024; // expected-warning {{overflow in expressi… variable
13 uint64_t overflow = 4608 * 1024 * 1024, in check_integer_overflows() local
24 overflow += overflow2 = overflow3 = (uint64_t)(4608 * 1024 * 1024); in check_integer_overflows()
26 overflow += overflow2 = overflow3 = 4608 * 1024 * 1024; in check_integer_overflows()
32 overflow = 4608 * 1024 * 1024 ? 4608 * 1024 * 1024 : 0; in check_integer_overflows()
35 overflow = 0 ? 0 : 4608 * 1024 * 1024; in check_integer_overflows()
/external/llvm/test/CodeGen/ARM/
Dintrinsics-overflow.ll4 %sadd = tail call { i32, i1 } @llvm.uadd.with.overflow.i32(i32 %a, i32 %b)
18 %sadd = tail call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %a, i32 %b)
31 %sadd = tail call { i32, i1 } @llvm.usub.with.overflow.i32(i32 %a, i32 %b)
43 %sadd = tail call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %a, i32 %b)
54 declare { i32, i1 } @llvm.uadd.with.overflow.i32(i32, i32) #1
55 declare { i32, i1 } @llvm.sadd.with.overflow.i32(i32, i32) #2
56 declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) #3
57 declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #4
/external/compiler-rt/test/ubsan/TestCases/Misc/
Ddeduplication.cpp6 void overflow() { in overflow() function
19 overflow(); in main()
20 overflow(); in main()
21 overflow(); in main()
/external/speex/libspeex/
Dbits.c81 bits->overflow=0; in speex_bits_set_bit_buffer()
99 bits->overflow=0; in speex_bits_reset()
106 bits->overflow=0; in speex_bits_rewind()
144 bits->overflow=0; in speex_bits_read_from()
287 bits->overflow=1; in speex_bits_unpack_unsigned()
288 if (bits->overflow) in speex_bits_unpack_unsigned()
312 bits->overflow=1; in speex_bits_peek_unsigned()
313 if (bits->overflow) in speex_bits_peek_unsigned()
337 bits->overflow=1; in speex_bits_peek()
338 if (bits->overflow) in speex_bits_peek()
[all …]
/external/bison/lib/
Dmbswidth.c141 goto overflow; in mbsnwidth()
151 goto overflow; in mbsnwidth()
174 goto overflow; in mbsnwidth()
182 goto overflow; in mbsnwidth()
191 overflow: in mbsnwidth()
/external/v8/test/mjsunit/regress/
Dregress-builtinbust-7.js6 function overflow() { function
7 return overflow() + 1;
9 Object.defineProperty = overflow;
20 Object.apply = overflow;

12345678910>>...33