Home
last modified time | relevance | path

Searched refs:unroll (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/external/llvm-project/clang/test/Parser/
Dpragma-unroll.cpp9 #pragma unroll in test()
19 #pragma unroll 4 in test()
24 #pragma unroll(8) in test()
29 /* expected-error {{expected ')'}} */ #pragma unroll(4 in test()
30 /* expected-error {{missing argument; expected an integer value}} */ #pragma unroll() in test()
31 /* expected-warning {{extra tokens at end of '#pragma unroll'}} */ #pragma unroll 1 2 in test()
41 /* expected-error {{expected ')'}} */ #pragma unroll(() in test()
42 /* expected-error {{expected expression}} */ #pragma unroll - in test()
43 /* expected-error {{invalid value '0'; must be positive}} */ #pragma unroll(0) in test()
44 /* expected-error {{invalid value '0'; must be positive}} */ #pragma unroll 0 in test()
[all …]
/external/clang/test/Parser/
Dpragma-unroll.cpp9 #pragma unroll in test()
19 #pragma unroll 4 in test()
24 #pragma unroll(8) in test()
29 /* expected-error {{expected ')'}} */ #pragma unroll(4 in test()
30 /* expected-error {{missing argument; expected an integer value}} */ #pragma unroll() in test()
31 /* expected-warning {{extra tokens at end of '#pragma unroll'}} */ #pragma unroll 1 2 in test()
41 /* expected-error {{expected ')'}} */ #pragma unroll(() in test()
42 /* expected-error {{expected expression}} */ #pragma unroll - in test()
43 /* expected-error {{invalid value '0'; must be positive}} */ #pragma unroll(0) in test()
44 /* expected-error {{invalid value '0'; must be positive}} */ #pragma unroll 0 in test()
[all …]
/external/llvm-project/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
5 ; 2) -unroll-dynamic-cost-savings-discount
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
11 ; consider this loop as a very small one, and completely unroll it.
12 ; * If a loop size is between these two tresholds, we only do complete unroll
20 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -u…
21 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -u…
22 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -u…
[all …]
Dpartial-unroll-const-bounds.ll1 …t < %s -S -unroll-partial-threshold=20 -unroll-threshold=20 -loop-unroll -unroll-allow-partial -un…
2 …k-emit>,loop-unroll' -unroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unro…
5 …loop(loop-unroll-full)' -unroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -u…
7 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
8 ; The test checks that we choose a smaller, power-of-two, unroll count and do not give up on unroll…
Ddisable-full-unroll-by-opt.ll2 ; RUN: opt < %s -passes='loop-unroll' -S | FileCheck %s -check-prefixes=ENABLE,COMMON
5 ; RUN: opt < %s -passes='loop-unroll<full-unroll-max=0>' -S | FileCheck %s -check-prefixes=DISABLE…
6 ; RUN: opt < %s -passes='loop-unroll<full-unroll-max=30>' -S | FileCheck %s -check-prefixes=DISABLE…
7 ; RUN: opt < %s -passes='loop-unroll<full-unroll-max=36>' -S | FileCheck %s -check-prefixes=ENABLE,…
10 ; RUN: opt < %s -passes='loop-unroll' -unroll-full-max-count=0 -S | FileCheck %s -check-prefixes=DI…
11 ; RUN: opt < %s -passes='loop-unroll' -unroll-full-max-count=30 -S | FileCheck %s -check-prefixes=D…
12 ; RUN: opt < %s -passes='loop-unroll' -unroll-full-max-count=36 -S | FileCheck %s -check-prefixes=E…
15 ; RUN: opt < %s -passes='loop-unroll<full-unroll-max=30>' -unroll-full-max-count=36 -S | FileCheck …
16 ; RUN: opt < %s -passes='loop-unroll<full-unroll-max=36>' -unroll-full-max-count=30 -S | FileCheck …
Druntime-loop2.ll1 …UN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-partial-threshold=25 -unroll-runtime -un…
2 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-partial-threshold=25 -unroll-runtime -
4 …pt-remark-emit>,loop-unroll' -unroll-threshold=25 -unroll-partial-threshold=25 -unroll-runtime -un…
5 …sses='require<opt-remark-emit>,loop-unroll' -unroll-threshold=25 -unroll-partial-threshold=25 -unr…
7 ; Choose a smaller, power-of-two, unroll count if the loop is too large.
Dopt-levels.ll1 ; RUN: opt < %s -S -passes="default<O2>" -unroll-runtime=true -unroll-threshold-default=0 -unroll-t…
2 ; RUN: opt < %s -S -passes="default<O3>" -unroll-runtime=true -unroll-threshold-default=0 -unroll-t…
3 ; RUN: opt < %s -S -passes="default<Os>" -unroll-runtime=true -unroll-threshold-default=0 -unroll-t…
4 ; RUN: opt < %s -S -passes="default<Oz>" -unroll-runtime=true -unroll-threshold-default=0 -unroll-t…
15 define void @unroll(i32 %iter, i32* %addr1, i32* %addr2) nounwind {
Druntime-loop5.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-count=16 | FileCheck --check-prefix=UN…
2 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck --check-prefix=UNR…
4 ; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime=true -unroll-coun…
5 ; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime=true -unroll-coun…
8 ; safely unroll it with a count of anything more than 8.
Druntime-loop1.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime -unroll-count=2 -unroll-runtime-epilog=true | FileC…
2 ; RUN: opt < %s -S -loop-unroll -unroll-runtime -unroll-count=2 -unroll-runtime-epilog=false | File…
4 …: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime -unroll-count=2 -unro…
5 …: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime -unroll-count=2 -unro…
7 ; This tests that setting the unroll count works
Druntime-loop.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-runtime-epilog=true | FileCheck %s -c…
2 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-runtime-epilog=false | FileCheck %s -c…
4 ; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime=true -unroll-runt…
5 ; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop-unroll' -unroll-runtime=true -unroll-runt…
7 ; Restricted versions of unroll (unroll<peeling;noruntime>, unroll-full) should not be doing runtim…
8 ; even if it is globally enabled through -unroll-runtime option
10 … < %s -S -passes='require<opt-remark-emit>,loop-unroll<peeling;no-runtime>' -unroll-runtime=true -
11 … < %s -S -passes='require<opt-remark-emit>,loop-unroll<peeling;no-runtime>' -unroll-runtime=true -
12 …pt < %s -S -passes='require<opt-remark-emit>,loop(loop-unroll-full)' -unroll-runtime=true -unroll-…
13 …pt < %s -S -passes='require<opt-remark-emit>,loop(loop-unroll-full)' -unroll-runtime=true -unroll-…
[all …]
Dloop-remarks.ll1 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=16 2>&1 | FileCheck -check-…
2 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=4 2>&1 | FileCheck -check-p…
3 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=4 -unroll-runtime=true -unr…
Dfull-unroll-heuristics-phi-prop.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=100 -unroll-threshold=10 -un…
2 …equire<opt-remark-emit>,loop(loop-unroll-full)' -unroll-max-iteration-count-to-analyze=100 -unroll
Dfull-unroll-heuristics-geps.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=100 -unroll-threshold=10 -un…
2 …equire<opt-remark-emit>,loop(loop-unroll-full)' -unroll-max-iteration-count-to-analyze=100 -unroll
7 ; our estimate, so that we might decide to unroll even a simple memcpy loop.
Dfollowup.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-count=2 | FileCheck %s -check-prefixes=COUNT,COMMON
2 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-runtime-epilog=true | FileCheck %s -c…
3 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-runtime-epilog=false | FileCheck %s -c…
30 !1 = !{!"llvm.loop.unroll.followup_all", !{!"FollowupAll"}}
31 !2 = !{!"llvm.loop.unroll.followup_unrolled", !{!"FollowupUnrolled"}}
32 !3 = !{!"llvm.loop.unroll.followup_remainder", !{!"FollowupRemainder"}}
Dpeel-loop-conditions-pgo-2.ll2 ; RUN: opt < %s -S -loop-unroll -loop-unroll -verify-dom-info -debug-only=loop-unroll -unroll-peel-…
9 ; The second invocation of loop-unroll will NOT do profile based peeling of
11 ; threashold specified with -unroll-peel-max-count=7.
15 ; CHECK-NOT: llvm.loop.unroll.disable
Dpeel-loop-pgo-deopt-idom-2.ll2 ; RUN: opt < %s -S -debug-only=loop-unroll -loop-unroll -unroll-runtime -unroll-peel-multi-deopt-ex…
3 … -debug-only=loop-unroll -unroll-peel-multi-deopt-exit -passes='require<profile-summary>,function(…
Dconvergent.ll1 ; RUN: opt < %s -loop-unroll -unroll-runtime -unroll-allow-partial -S | FileCheck %s
29 ; unrolled. The unroll count is the largest power of 2 that divides the
54 ; This loop contains a convergent instruction, so its partial unroll
55 ; count must divide its trip multiple. This overrides its unroll
56 ; pragma -- we unroll exactly 8 times, even though 16 is requested.
83 ; This loop contains a convergent instruction. Since the pragma loop unroll
84 ; count 2 divides trip count 4. The loop unroll should respect the pragma.
104 ; This loop contains a convergent instruction. Since the pragma loop unroll
105 ; count 2 divides trip multiple 2. The loop unroll should respect the pragma.
126 ; This loop contains a convergent instruction. Since the pragma loop unroll
[all …]
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
5 ; 2) -unroll-dynamic-cost-savings-discount
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
11 ; consider this loop as a very small one, and completely unroll it.
12 ; * If a loop size is between these two tresholds, we only do complete unroll
20 …%s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-perce…
21 …%s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-perce…
22 …%s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-perce…
[all …]
Dpartial-unroll-const-bounds.ll1 ; RUN: opt < %s -S -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unroll-…
3 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
4 ; The test checks that we choose a smaller, power-of-two, unroll count and do not give up on unroll…
Druntime-loop2.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-runtime -unroll-count=8 | FileCheck %s…
2 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-runtime -unroll-runtime-epilog=false |…
4 ; Choose a smaller, power-of-two, unroll count if the loop is too large.
Dloop-remarks.ll1 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=16 2>&1 | FileCheck -check-…
2 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=4 2>&1 | FileCheck -check-p…
/external/llvm-project/llvm/test/Transforms/LoopUnrollAndJam/
Dopt-levels.ll1 …: opt < %s -S -passes="default<O2>" -unroll-runtime=true -enable-unroll-and-jam -unroll-threshold-…
2 …: opt < %s -S -passes="default<O3>" -unroll-runtime=true -enable-unroll-and-jam -unroll-threshold-…
3 …: opt < %s -S -passes="default<Os>" -unroll-runtime=true -enable-unroll-and-jam -unroll-threshold-…
4 …: opt < %s -S -passes="default<Oz>" -unroll-runtime=true -enable-unroll-and-jam -unroll-threshold-…
/external/llvm-project/llvm/test/Transforms/LoopUnroll/AMDGPU/
Dunroll-threshold.ll1 ; RUN: opt < %s -S -mtriple=amdgcn-- -loop-unroll | FileCheck %s
3 ; Check the handling of amdgpu.loop.unroll.threshold metadata which can be used to
5 ; default, and any value specified by the amdgpu-unroll-threshold function attribute
9 ; unroll threshold
35 ; unroll threshold is increased by use of the amdgpu.loop.unroll.threshold metadata
58 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
59 ; is overridden by a low threshold using the amdgpu.loop.unroll.threshold metadata
83 ; unroll threshold specified using the amdgpu-unroll-threshold function attribute
84 ; is overridden by a high threshold using the amdgpu.loop.unroll.threshold metadata
107 attributes #0 = { "amdgpu-unroll-threshold"="1000" }
[all …]
/external/clang/test/CodeGenCXX/
Dpragma-unroll.cpp8 #pragma unroll in while_test()
32 #pragma unroll 8 in for_test()
44 #pragma unroll(4) in for_range_test()
56 #pragma unroll(UNROLLCOUNT) in for_define_test()
67 #pragma unroll 8 in for_template_test()
79 #pragma unroll(UNROLLCOUNT) in for_template_define_test()
/external/llvm-project/clang/test/CodeGenCXX/
Dpragma-unroll.cpp11 #pragma unroll in while_test()
35 #pragma unroll 8 in for_test()
47 #pragma unroll(4) in for_range_test()
59 #pragma unroll(UNROLLCOUNT) in for_define_test()
70 #pragma unroll 8 in for_template_test()
82 #pragma unroll(UNROLLCOUNT) in for_template_define_test()

12345678910>>...22