Home
last modified time | relevance | path

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

1234567

/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 …]
Dpragma-loop.cpp84 #pragma clang loop unroll(full) in test()
98 #pragma clang loop unroll(disable) in test()
114 #pragma clang loop vectorize(disable) interleave(disable) unroll(disable) in test()
123 /* expected-error {{expected '('}} */ #pragma clang loop unroll in test()
127 /* expected-error {{expected ')'}} */ #pragma clang loop unroll(full in test()
135 …d-error {{missing argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll() in test()
189 …alid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(badidentifier) in test()
198 …-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(=) in test()
224 #pragma clang loop unroll(disable) in test()
233 …or {{duplicate directives 'unroll(disable)' and 'unroll(full)'}} */ #pragma clang loop unroll(full) in test()
[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 …]
Dunroll-pragmas-disabled.ll1 ; RUN: opt < %s -loop-unroll -S | FileCheck %s
3 ; Verify that the unrolling pass removes existing unroll count metadata
11 ; Unroll count metadata should be replaced with unroll(disable). Vectorize
35 !3 = !{!"llvm.loop.unroll.count", i32 4}
38 ; #pragma clang loop unroll(full)
40 ; An unroll disable metadata node is only added for the unroll count case.
41 ; In this case, the loop has a full unroll metadata but can't be fully unrolled
42 ; because the trip count is dynamic. The full unroll metadata should remain
67 !6 = !{!"llvm.loop.unroll.full"}
69 ; #pragma clang loop unroll(disable)
[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…
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…
5 ; safely unroll it with a count of anything more than 8.
Dfull-unroll-heuristics-phi-prop.ll1 …t < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=100 -unroll-dynamic-cost-savings-dis…
Dfull-unroll-heuristics-2.ll1 …%s -S -loop-unroll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-perce…
8 ; it as a constant, so we shouldn't unroll the loop.
34 ; shouldn't unroll the loop.
Druntime-loop2.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-runtime -unroll-count=8 | FileCheck %s
3 ; Choose a smaller, power-of-two, unroll count if the loop is too large.
Dunroll-pragmas.ll1 ; RUN: opt < %s -loop-unroll -pragma-unroll-threshold=1024 -S | FileCheck %s
2 ; RUN: opt < %s -loop-unroll -loop-unroll -pragma-unroll-threshold=1024 -S | FileCheck %s
12 ; unroll(disable) pragma test loop4_with_disable.
34 ; #pragma clang loop unroll(disable)
58 !2 = !{!"llvm.loop.unroll.disable"}
62 ; unroll(full) pragma test loop64_with_.* tests below.
86 ; #pragma clang loop unroll(full)
109 !4 = !{!"llvm.loop.unroll.full"}
139 !6 = !{!"llvm.loop.unroll.count", i32 4}
141 ; #pragma clang loop unroll(full)
[all …]
Dshifted-tripcount.ll1 ; RUN: opt < %s -loop-unroll -unroll-count=2 -S | FileCheck %s
3 ; LoopUnroll should unroll this loop into one big basic block.
Druntime-loop1.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime -unroll-count=2 | FileCheck %s
3 ; This tests that setting the unroll count works
Druntime-loop3.ll2 ; RUN: opt < %s -disable-output -stats -loop-unroll -unroll-runtime -unroll-threshold=400 -info-out…
6 ; STATS: 2 loop-unroll - Number of loops unrolled (completely or otherwise)
Dbasic.ll1 ; RUN: opt < %s -loop-unroll -S | FileCheck %s
4 ; This should not unroll since the address of the loop header is taken.
26 ; This should not unroll since the call is 'noduplicate'.
Druntime-loop.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true | FileCheck %s
39 ; Still try to completely unroll loops with compile-time trip counts
40 ; even if the -unroll-runtime is specified
65 ; if the -unroll-runtime option is turned on
149 !1 = !{!"llvm.loop.unroll.runtime.disable"}
152 ; CHECK: !1 = !{!"llvm.loop.unroll.disable"}
Dtripcount-overflow.ll1 ; RUN: opt < %s -S -unroll-runtime -unroll-count=2 -loop-unroll | FileCheck %s
/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/eigen/Eigen/src/Core/
DBooleanRedux.h82 unroll = SizeAtCompileTime != Dynamic
87 if(unroll)
88 … return internal::all_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
106 unroll = SizeAtCompileTime != Dynamic
111 if(unroll)
112 … return internal::any_unroller<Derived, unroll ? int(SizeAtCompileTime) : Dynamic>::run(derived());
/external/opencv3/modules/core/src/opencl/
Dreduce2.cl112 #pragma unroll
119 #pragma unroll
127 #pragma unroll
134 #pragma unroll
147 #pragma unroll
151 #pragma unroll
154 #pragma unroll
161 #pragma unroll
189 #pragma unroll
196 #pragma unroll
[all …]
/external/clang/test/PCH/
Dpragma-loop.cpp42 #pragma clang loop unroll(disable) in run2()
53 #pragma clang loop unroll(full) in run3()
62 #pragma unroll in run4()
71 #pragma unroll 32 in run5()
/external/opencv3/modules/imgproc/src/opencl/
Dhistogram.cl59 #pragma unroll
112 #pragma unroll
133 #pragma unroll
138 #pragma unroll
141 #pragma unroll
166 #pragma unroll
171 #pragma unroll
174 #pragma unroll
215 #pragma unroll
/external/llvm/test/Transforms/LoopVectorize/X86/
Dmetadata-enable.ll1 ; RUN: opt < %s -mcpu=corei7 -O1 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O1
2 ; RUN: opt < %s -mcpu=corei7 -O2 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O2
3 ; RUN: opt < %s -mcpu=corei7 -O3 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O3
4 ; RUN: opt < %s -mcpu=corei7 -Os -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=Os
5 ; RUN: opt < %s -mcpu=corei7 -Oz -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=Oz
6 ; RUN: opt < %s -mcpu=corei7 -O1 -vectorize-loops -S -unroll-allow-partial=0 | FileCheck %s --check…
7 ; RUN: opt < %s -mcpu=corei7 -Oz -vectorize-loops -S -unroll-allow-partial=0 | FileCheck %s --check…
8 ; RUN: opt < %s -mcpu=corei7 -O1 -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-…
9 ; RUN: opt < %s -mcpu=corei7 -Oz -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-…
10 ; RUN: opt < %s -mcpu=corei7 -O3 -disable-loop-vectorization -S -unroll-allow-partial=0 | FileCheck…
Dalready-vectorized.ll42 ; CHECK: [[vect]] = distinct !{[[vect]], [[width:![0-9]+]], [[unroll:![0-9]+]]}
44 ; CHECK: [[unroll]] = !{!"llvm.loop.interleave.count", i32 1}
45 ; CHECK: [[scalar]] = distinct !{[[scalar]], [[runtime_unroll:![0-9]+]], [[width]], [[unroll]]}
46 ; CHECK: [[runtime_unroll]] = !{!"llvm.loop.unroll.runtime.disable"}
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dtransform_detail.hpp77 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, in… in unroll() function
84 …static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& … in unroll() function
93 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, in… in unroll() function
102 …static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& … in unroll() function
113 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& … in unroll() function
124 …static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& … in unroll() function
137 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& … in unroll() function
150 …static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& … in unroll() function
165 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, const UnOp& … in unroll() function
186 …static __device__ __forceinline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& … in unroll() function
[all …]
/external/opencv3/modules/cudalegacy/src/cuda/
Dccomponetns.cu248 #pragma unroll in lableTiles()
250 #pragma unroll in lableTiles()
270 #pragma unroll in lableTiles()
272 #pragma unroll in lableTiles()
285 #pragma unroll in lableTiles()
287 #pragma unroll in lableTiles()
315 #pragma unroll in lableTiles()
317 #pragma unroll in lableTiles()
334 #pragma unroll in lableTiles()
336 #pragma unroll in lableTiles()
[all …]

1234567