Home
last modified time | relevance | path

Searched full:limit (Results 1 – 25 of 1732) sorted by relevance

12345678910>>...70

/llvm-project/llvm/test/Transforms/DeadStoreElimination/
H A Dmemoryssa-scan-limit.ll3 ; RUN: opt < %s -passes=dse -S | FileCheck --check-prefix=NO-LIMIT %s
4 ; RUN: opt < %s -passes=dse -dse-memoryssa-scanlimit=0 -S | FileCheck --check-prefix=LIMIT-0 %s
5 ; RUN: opt < %s -passes=dse -dse-memoryssa-scanlimit=2 -S | FileCheck --check-prefix=LIMIT-2 %s
6 ; RUN: opt < %s -passes=dse -dse-memoryssa-scanlimit=3 -S | FileCheck --check-prefix=LIMIT-3 %s
7 ; RUN: opt < %s -passes=dse -dse-memoryssa-scanlimit=4 -S | FileCheck --check-prefix=LIMIT-4 %s
13 ; NO-LIMIT-LABEL: @test2(
14 ; NO-LIMIT-NEXT: br i1 true, label [[BB1:%.*]], label [[BB2:%.*]]
15 ; NO-LIMIT: bb1:
16 ; NO-LIMIT-NEXT: br label [[BB3:%.*]]
17 ; NO-LIMIT
[all...]
/llvm-project/llvm/test/CodeGen/ARM/
H A Dexecute-only-segmented-stack.ll1 …tr=+execute-only %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-NOMOVW-SIZE,CHECK-NOMOVW-LIMIT
2 …-mattr=+execute-only %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-MOVW-SIZE,CHECK-MOVW-LIMIT
3 … -mattr=+execute-only %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-MOVW-SIZE,CHECK-MRC-LIMIT
4 … -mattr=+execute-only %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-MOVW-SIZE,CHECK-MRC-LIMIT
16 ; CHECK-MOVW-LIMIT-NEXT: movw [[LIMIT:r[0-9]+]], :lower16:__STACK_LIMIT
17 ; CHECK-MOVW-LIMIT-NEXT: movt [[LIMIT]], :upper16:__STACK_LIMIT
18 ; CHECK-NOMOVW-LIMIT-NEXT: movs [[LIMIT:r[0-9]+]], :upper8_15:__STACK_LIMIT
19 ; CHECK-NOMOVW-LIMIT-NEXT: lsls [[LIMIT]], [[LIMIT]], #8
20 ; CHECK-NOMOVW-LIMIT-NEXT: adds [[LIMIT]], :upper0_7:__STACK_LIMIT
21 ; CHECK-NOMOVW-LIMIT-NEXT: lsls [[LIMIT]], [[LIMIT]], #8
[all …]
/llvm-project/libc/AOR_v20.02/string/aarch64/
H A Dmemcmp.S18 #define limit x2 macro
32 subs limit, limit, 8
40 subs limit, limit, 8
43 ldr data1, [src1, limit]
44 ldr data2, [src2, limit]
55 subs limit, limit, 16
59 try to align, so limit it only to strings larger than 128 bytes. */
60 cmp limit, 96
65 add limit, limit, tmp1
70 Limit is pre-decremented by 16 and must be larger than zero.
[all …]
H A Dstrncmp.S23 #define limit x2 macro
50 cbz limit, L(ret0)
58 sub limit_wd, limit, #1 /* limit != 0, so no underflow. */
79 /* Not reached the limit, must have found the end or a diff. */
82 /* Limit % 8 == 0 => all bytes significant. */
83 ands limit, limit, #7
86 lsl limit, limit, #3 /* Bits -> bytes. */
89 lsr mask, mask, limit
91 lsl mask, mask, limit
156 We also need to adjust the limit calculations, but without
[all …]
/llvm-project/llvm/test/CodeGen/X86/
H A Dtail-dup-pred-succ-size.mir2 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass=early-tailduplication -tail-dup-pred-size=3 -tail-dup-succ-size=3 %s -o - | FileCheck %s -check-prefix=LIMIT
16 ; LIMIT-LABEL: name: foo
17 ; LIMIT: bb.0:
18 ; LIMIT-NEXT: successors: %bb.2(0x20000000), %bb.3(0x20000000), %bb.4(0x20000000), %bb.5(0x20000000)
19 ; LIMIT-NEXT: liveins: $rdi, $esi
20 ; LIMIT-NEXT: {{ $}}
21 ; LIMIT-NEXT: [[COPY:%[0-9]+]]:gr32 = COPY $esi
22 ; LIMIT-NEXT: [[COPY1:%[0-9]+]]:gr64 = COPY $rdi
23 ; LIMIT-NEXT: [[SHR32ri:%[0-9]+]]:gr32 = SHR32ri [[COPY]], 1, implicit-def dead $eflags
24 ; LIMIT
[all...]
/llvm-project/llvm/test/Transforms/LoopStrengthReduce/
H A Ddepth-limit-overrun.ll3 … opt -loop-reduce -scalar-evolution-max-arith-depth=2 -S < %s | FileCheck --check-prefixes=LIMIT %s
75 ; LIMIT-LABEL: @test(
76 ; LIMIT-NEXT: entry:
77 ; LIMIT-NEXT: [[TMP0:%.*]] = mul i32 [[C:%.*]], -3
78 ; LIMIT-NEXT: br label [[OUTER_LOOP:%.*]]
79 ; LIMIT: outer_loop:
80 ; LIMIT-NEXT: [[PHI2:%.*]] = phi i32 [ [[A:%.*]], [[ENTRY:%.*]] ], [ 204, [[OUTER_TAIL:%.*]] ]
81 ; LIMIT-NEXT: [[PHI3:%.*]] = phi i32 [ [[A]], [[ENTRY]] ], [ 243, [[OUTER_TAIL]] ]
82 ; LIMIT-NEXT: [[PHI4:%.*]] = phi i32 [ [[B:%.*]], [[ENTRY]] ], [ [[I35:%.*]], [[OUTER_TAIL]] ]
83 ; LIMIT-NEXT: br label [[GUARD:%.*]]
[all …]
/llvm-project/llvm/test/Other/
H A Dopt-bisect-new-pass-manager.ll12 ; RUN: -passes=inferattrs -opt-bisect-limit=-1 %s 2>&1 \
17 ; RUN: -passes=inferattrs -opt-bisect-limit=0 %s 2>&1 \
18 ; RUN: | FileCheck %s --check-prefix=CHECK-LIMIT-MODULE-PASS
19 ; CHECK-LIMIT-MODULE-PASS: BISECT: NOT running pass (1) InferFunctionAttrsPass on [module]
22 ; RUN: -passes=inferattrs -opt-bisect-limit=-1 %s 2>&1 \
29 ; RUN: -passes=inferattrs -opt-bisect-limit=0 %s 2>&1 \
30 ; RUN: | FileCheck %s --check-prefix=CHECK-LIMIT-REQUIRED-PASS
31 ; CHECK-LIMIT-REQUIRED-PASS: BISECT: NOT running pass (1) InferFunctionAttrsPass on [module]
32 ; CHECK-LIMIT-REQUIRED-PASS-NOT: BISECT: {{.*}}VerifierPass
33 ; CHECK-LIMIT
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinfinite-loop.cpp35 int Limit = 10; in simple_infinite_loop2() local
36 while (i < Limit) { in simple_infinite_loop2()
37 …]]:3: warning: this loop is infinite; none of its condition variables (i, Limit) are updated in th… in simple_infinite_loop2()
41 while (int k = Limit) { in simple_infinite_loop2()
42 …E-1]]:3: warning: this loop is infinite; none of its condition variables (Limit) are updated in th… in simple_infinite_loop2()
46 while (int k = Limit) { in simple_infinite_loop2()
47 …E-1]]:3: warning: this loop is infinite; none of its condition variables (Limit) are updated in th… in simple_infinite_loop2()
52 …]]:3: warning: this loop is infinite; none of its condition variables (i, Limit) are updated in th… in simple_infinite_loop2()
54 } while (i < Limit); in simple_infinite_loop2()
56 for (i = 0; i < Limit; ++j) { in simple_infinite_loop2()
[all …]
/llvm-project/libc/AOR_v20.02/math/test/rtest/
H A Drandom.c45 * 0,...,limit-1. (Precondition: limit > 0.)
61 static uint32 random_upto_makemask(uint32 limit) { in random_upto_makemask() argument
65 if ((limit & (mask >> i)) == limit) in random_upto_makemask()
70 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument
74 } while (ret > limit); in random_upto_internal()
78 uint32 random_upto(uint32 limit) { in random_upto() argument
79 uint32 mask = random_upto_makemask(limit); in random_upto()
80 return random_upto_internal(limit, mask); in random_upto()
83 uint32 random_upto_biased(uint32 limit, int bias) { in random_upto_biased() argument
84 uint32 mask = random_upto_makemask(limit); in random_upto_biased()
[all …]
/llvm-project/clang/test/Preprocessor/
H A Dembed_parameter_limit.c7 #embed <jk.txt> limit(1)
16 // Cannot have a negative limit.
17 #embed <jk.txt> limit(-1)
20 // It can have a limit of 0, in which case the __has_embed should return false.
21 #if __has_embed(<jk.txt> limit(0)) != __STDC_EMBED_EMPTY__
25 // When the limit is zero, the resource is empty, so if_empty kicks in.
27 #embed <jk.txt> limit(0) if_empty(1)
35 #embed <jk.txt> limit(0) prefix(2,) suffix(3)
40 // Ensure we can limit to something larger than the file size as well.
42 #embed <jk.txt> limit(100)
[all …]
/llvm-project/llvm/test/CodeGen/SystemZ/
H A Dcond-store-01.ll9 define void @f1(ptr %ptr, i8 %alt, i32 %limit) {
16 %cond = icmp ult i32 %limit, 420
24 define void @f2(ptr %ptr, i8 %alt, i32 %limit) {
31 %cond = icmp ult i32 %limit, 420
40 define void @f3(ptr %ptr, i32 %alt, i32 %limit) {
47 %cond = icmp ult i32 %limit, 420
57 define void @f4(ptr %ptr, i32 %alt, i32 %limit) {
64 %cond = icmp ult i32 %limit, 420
75 define void @f5(ptr %ptr, i32 %alt, i32 %limit) {
82 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-store-02.ll9 define void @f1(ptr %ptr, i16 %alt, i32 %limit) {
16 %cond = icmp ult i32 %limit, 420
24 define void @f2(ptr %ptr, i16 %alt, i32 %limit) {
31 %cond = icmp ult i32 %limit, 420
40 define void @f3(ptr %ptr, i32 %alt, i32 %limit) {
47 %cond = icmp ult i32 %limit, 420
57 define void @f4(ptr %ptr, i32 %alt, i32 %limit) {
64 %cond = icmp ult i32 %limit, 420
75 define void @f5(ptr %ptr, i32 %alt, i32 %limit) {
82 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-store-03.ll8 define void @f1(ptr %ptr, i32 %alt, i32 %limit) {
15 %cond = icmp ult i32 %limit, 420
23 define void @f2(ptr %ptr, i32 %alt, i32 %limit) {
30 %cond = icmp ult i32 %limit, 420
39 define void @f3(ptr %ptr, i64 %alt, i32 %limit) {
46 %cond = icmp ult i32 %limit, 420
56 define void @f4(ptr %ptr, i64 %alt, i32 %limit) {
63 %cond = icmp ult i32 %limit, 420
74 define void @f5(ptr %ptr, i64 %alt, i32 %limit) {
81 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-load-01.ll12 define i32 @f1(i32 %easy, ptr %ptr, i32 %limit) {
17 %cond = icmp ult i32 %limit, 42
24 define i32 @f2(i32 %easy, ptr %ptr, i32 %limit) {
29 %cond = icmp ult i32 %limit, 42
36 define i32 @f3(i32 %easy, ptr %base, i32 %limit) {
42 %cond = icmp ult i32 %limit, 42
49 define i32 @f4(i32 %easy, ptr %base, i32 %limit) {
56 %cond = icmp ult i32 %limit, 42
63 define i32 @f5(i32 %easy, ptr %base, i32 %limit) {
69 %cond = icmp ult i32 %limit, 42
[all …]
H A Dcond-load-02.ll8 define i64 @f1(i64 %easy, ptr %ptr, i64 %limit) {
13 %cond = icmp ult i64 %limit, 42
20 define i64 @f2(i64 %easy, ptr %ptr, i64 %limit) {
25 %cond = icmp ult i64 %limit, 42
32 define i64 @f3(i64 %easy, ptr %base, i64 %limit) {
38 %cond = icmp ult i64 %limit, 42
45 define i64 @f4(i64 %easy, ptr %base, i64 %limit) {
52 %cond = icmp ult i64 %limit, 42
59 define i64 @f5(i64 %easy, ptr %base, i64 %limit) {
65 %cond = icmp ult i64 %limit, 42
[all …]
H A Dcond-store-06.ll8 define void @f1(ptr %ptr, double %alt, i32 %limit) {
15 %cond = icmp ult i32 %limit, 420
23 define void @f2(ptr %ptr, double %alt, i32 %limit) {
30 %cond = icmp ult i32 %limit, 420
38 define void @f3(ptr %base, double %alt, i32 %limit) {
46 %cond = icmp ult i32 %limit, 420
54 define void @f4(ptr %base, double %alt, i32 %limit) {
62 %cond = icmp ult i32 %limit, 420
70 define void @f5(ptr %base, double %alt, i32 %limit) {
78 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-store-05.ll8 define void @f1(ptr %ptr, float %alt, i32 %limit) {
15 %cond = icmp ult i32 %limit, 420
23 define void @f2(ptr %ptr, float %alt, i32 %limit) {
30 %cond = icmp ult i32 %limit, 420
38 define void @f3(ptr %base, float %alt, i32 %limit) {
46 %cond = icmp ult i32 %limit, 420
54 define void @f4(ptr %base, float %alt, i32 %limit) {
62 %cond = icmp ult i32 %limit, 420
70 define void @f5(ptr %base, float %alt, i32 %limit) {
78 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-store-07.ll12 define void @f1(ptr %ptr, i32 %alt, i32 %limit) {
17 %cond = icmp ult i32 %limit, 42
25 define void @f2(ptr %ptr, i32 %alt, i32 %limit) {
30 %cond = icmp ult i32 %limit, 42
39 define void @f3(ptr %ptr, i64 %alt, i32 %limit) {
44 %cond = icmp ult i32 %limit, 42
54 define void @f4(ptr %ptr, i64 %alt, i32 %limit) {
59 %cond = icmp ult i32 %limit, 42
70 define void @f5(ptr %ptr, i64 %alt, i32 %limit) {
75 %cond = icmp ult i32 %limit, 42
[all …]
H A Dcond-store-04.ll8 define void @f1(ptr %ptr, i64 %alt, i32 %limit) {
15 %cond = icmp ult i32 %limit, 420
23 define void @f2(ptr %ptr, i64 %alt, i32 %limit) {
30 %cond = icmp ult i32 %limit, 420
38 define void @f3(ptr %base, i64 %alt, i32 %limit) {
46 %cond = icmp ult i32 %limit, 420
55 define void @f4(ptr %base, i64 %alt, i32 %limit) {
64 %cond = icmp ult i32 %limit, 420
72 define void @f5(ptr %base, i64 %alt, i32 %limit) {
80 %cond = icmp ult i32 %limit, 420
[all …]
H A Dcond-move-06.ll6 define i32 @f1(i32 %limit, i32 %a, i32 %b) {
11 %cond = icmp ult i32 %limit, 42
17 define i64 @f2(i64 %limit, i64 %a, i64 %b) {
22 %cond = icmp ult i64 %limit, 42
29 define i32 @f3(i32 %limit, i32 %a, i32 %b) {
34 %cond = icmp eq i32 %limit, 42
40 define i64 @f4(i64 %limit, i64 %a, i64 %b) {
45 %cond = icmp eq i64 %limit, 42
51 define i32 @f5(i32 %limit, i32 %a, i32 %b) {
57 %cond = icmp ult i32 %limit, 42
[all …]
H A Dcond-move-01.ll13 define i32 @f1(i32 %a, i32 %b, i32 %limit) {
18 %cond = icmp ult i32 %limit, 42
24 define i64 @f2(i64 %a, i64 %b, i64 %limit) {
29 %cond = icmp ult i64 %limit, 42
36 define i32 @f3(i32 %a, i32 %b, i32 %limit) {
41 %cond = icmp eq i32 %limit, 42
47 define i64 @f4(i64 %a, i64 %b, i64 %limit) {
52 %cond = icmp eq i64 %limit, 42
58 define i32 @f5(i32 %a, i32 %b, i32 %limit) {
64 %cond = icmp ult i32 %limit, 42
[all …]
/llvm-project/llvm/test/Transforms/LoopUnroll/
H A Dunroll-cost-symbolic-execute.ll12 define i32 @test_symbolic_simplify(i32 %limit) {
18 ; CHECK-NEXT: [[CMP_1:%.*]] = icmp eq i32 0, [[LIMIT:%.*]]
21 ; CHECK-NEXT: [[CMP_2:%.*]] = icmp eq i32 0, [[LIMIT]]
24 ; CHECK-NEXT: [[CMP_3:%.*]] = icmp eq i32 0, [[LIMIT]]
27 ; CHECK-NEXT: [[CMP_4:%.*]] = icmp eq i32 0, [[LIMIT]]
30 ; CHECK-NEXT: [[CMP_5:%.*]] = icmp eq i32 0, [[LIMIT]]
33 ; CHECK-NEXT: [[CMP_6:%.*]] = icmp eq i32 0, [[LIMIT]]
36 ; CHECK-NEXT: [[CMP_7:%.*]] = icmp eq i32 0, [[LIMIT]]
39 ; CHECK-NEXT: [[CMP_8:%.*]] = icmp eq i32 0, [[LIMIT]]
42 ; CHECK-NEXT: [[CMP_9:%.*]] = icmp eq i32 0, [[LIMIT]]
[all …]
/llvm-project/clang/test/Misc/
H A Dmacro-backtrace.c19 // RUN: %clang_cc1 -fsyntax-only -fmacro-backtrace-limit=5 %s 2>&1 \ in f()
20 // RUN: | FileCheck %s -check-prefix=CHECK-LIMIT in f()
21 …// CHECK-LIMIT: macro-backtrace.c:18:7: warning: comparison of distinct pointer types ('int *' and… in f()
22 // CHECK-LIMIT: if (M12(ip, fp)) { } in f()
23 // CHECK-LIMIT: macro-backtrace.c:15:19: note: expanded from macro 'M12' in f()
24 // CHECK-LIMIT: #define M12(A, B) M11(A, B) in f()
25 // CHECK-LIMIT: macro-backtrace.c:14:19: note: expanded from macro 'M11' in f()
26 // CHECK-LIMIT: #define M11(A, B) M10(A, B) in f()
27 …// CHECK-LIMIT: note: (skipping 7 expansions in backtrace; use -fmacro-backtrace-limit=0 to see al… in f()
28 // CHECK-LIMIT: macro-backtrace.c:6:18: note: expanded from macro 'M3' in f()
[all …]
/llvm-project/flang/test/Semantics/
H A Darray-constr-big.f905 integer, parameter :: limit = 30 variable
7 integer(foo),parameter :: jval4(limit,limit,limit) = &
12 (0,ii=1,limit), &
13 jj=-limit,kk &
21 0_foo,ii=1,limit &
23 jj=kk,limit &
25 kk=1,limit &
27 (/ limit /) )
/llvm-project/llvm/docs/
H A DOptBisect.rst2 Using -opt-bisect-limit to debug optimization errors
11 The -opt-bisect-limit option provides a way to disable all optimization passes
12 above a specified limit without modifying the way in which the Pass Managers
19 check the opt-bisect limit before performing optimizations. Passes which
25 The -opt-bisect-limit option can be used with any tool, including front ends
39 The -opt-bisect-limit command line option can be passed directly to tools such
44 <tool name> [other options] -opt-bisect-limit=<limit>
50 opt-bisect-limit. All optimizations with a higher index value will be skipped.
52 In order to use the -opt-bisect-limit option with a driver that provides a
60 clang -O2 -mllvm -opt-bisect-limit=256 my_file.c
[all …]

12345678910>>...70