HomeSort by relevance Sort by last modified time
    Searched full:unroll (Results 26 - 50 of 543) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/LLVM/test/Transforms/LoopUnroll/
2007-05-09-UnknownTripCount.ll 1 ; RUN: opt < %s -loop-unroll -unroll-count=3 -S | grep bb72.2
basic.ll 1 ; RUN: opt < %s -loop-unroll -S | FileCheck %s
4 ; This should not unroll since the address of the loop header is taken.
shifted-tripcount.ll 1 ; RUN: opt < %s -loop-unroll -unroll-count=2 -S | FileCheck %s
3 ; LoopUnroll should unroll this loop into one big basic block.
2004-05-13-DontUnrollTooMuch.ll 1 ; RUN: opt < %s -loop-unroll -disable-output
  /external/llvm/test/Transforms/LoopVectorize/
if-pred-stores.ll 1 ; RUN: opt -S -vectorize-num-stores-pred=1 -force-vector-width=1 -force-vector-interleave=2 -loop-vectorize -verify-loop-info -simplifycfg < %s | FileCheck %s --check-prefix=UNROLL
2 ; RUN: opt -S -vectorize-num-stores-pred=1 -force-vector-width=1 -force-vector-interleave=2 -loop-vectorize -verify-loop-info < %s | FileCheck %s --check-prefix=UNROLL-NOSIMPLIFY
63 ; UNROLL-LABEL: test
64 ; UNROLL: vector.body:
65 ; UNROLL: %[[IND:[a-zA-Z0-9]+]] = add i64 %{{.*}}, 0
66 ; UNROLL: %[[IND1:[a-zA-Z0-9]+]] = add i64 %{{.*}}, 1
67 ; UNROLL: %[[v0:[a-zA-Z0-9]+]] = getelementptr inbounds i32, i32* %f, i64 %[[IND]]
68 ; UNROLL: %[[v1:[a-zA-Z0-9]+]] = getelementptr inbounds i32, i32* %f, i64 %[[IND1]]
69 ; UNROLL: %[[v2:[a-zA-Z0-9]+]] = load i32, i32* %[[v0]], align 4
70 ; UNROLL: %[[v3:[a-zA-Z0-9]+]] = load i32, i32* %[[v1]], align
    [all...]
induction.ll 3 ; RUN: opt < %s -loop-vectorize -force-vector-interleave=2 -force-vector-width=2 -instcombine -S | FileCheck %s --check-prefix=UNROLL
4 ; RUN: opt < %s -loop-vectorize -force-vector-interleave=2 -force-vector-width=2 -S | FileCheck %s --check-prefix=UNROLL-NO-IC
85 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_01(
86 ; UNROLL-NO-IC: vector.body:
87 ; UNROLL-NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
88 ; UNROLL-NO-IC: %[[i0:.+]] = add i64 %index, 0
89 ; UNROLL-NO-IC: %[[i1:.+]] = add i64 %index, 1
90 ; UNROLL-NO-IC: %[[i2:.+]] = add i64 %index, 2
91 ; UNROLL-NO-IC: %[[i3:.+]] = add i64 %index, 3
92 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i0]
    [all...]
hints-trans.ll 3 ; it easy to test that the llvm.loop.unroll.disable hint is still present.
25 ; CHECK: = !{!"llvm.loop.unroll.disable"}
30 !1 = !{!"llvm.loop.unroll.disable"}
  /external/llvm/test/Transforms/LoopVectorize/X86/
gcc-examples.ll 2 ; RUN: opt < %s -loop-vectorize -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 -force-vector-interleave=0 -dce -instcombine -S | FileCheck %s -check-prefix=UNROLL
18 ;UNROLL-LABEL: @example1(
19 ;UNROLL: load <4 x i32>
20 ;UNROLL: load <4 x i32>
21 ;UNROLL: add nsw <4 x i32>
22 ;UNROLL: add nsw <4 x i32>
23 ;UNROLL: store <4 x i32>
24 ;UNROLL: store <4 x i32>
25 ;UNROLL: ret void
53 ;UNROLL-LABEL: @example10b
    [all...]
  /external/llvm/test/Transforms/LoopUnroll/
unroll-pragmas-disabled.ll 1 ; 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 remai
    [all...]
convergent.ll 1 ; 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 !0 = !{!0, !{!"llvm.loop.unroll.count", i32 16}}
runtime-loop4.ll 1 ; RUN: opt < %s -S -O2 -unroll-runtime=true | FileCheck %s -check-prefix=EPILOG
2 ; RUN: opt < %s -S -O2 -unroll-runtime=true -unroll-runtime-epilog=false | FileCheck %s -check-prefix=PROLOG
20 define void @unroll(i32 %iter, i32* %addr1, i32* %addr2) nounwind {
full-unroll-heuristics-dce.ll 1 ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=100 -unroll-dynamic-cost-savings-discount=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-threshold=60 | FileCheck %s
tripcount-overflow.ll 1 ; RUN: opt < %s -S -unroll-runtime -unroll-count=2 -loop-unroll | FileCheck %s -check-prefix=EPILOG
2 ; RUN: opt < %s -S -unroll-runtime -unroll-count=2 -loop-unroll -unroll-runtime-epilog=false | FileCheck %s -check-prefix=PROLOG
basic.ll 1 ; 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'.
shifted-tripcount.ll 1 ; RUN: opt < %s -loop-unroll -unroll-count=2 -S | FileCheck %s
3 ; LoopUnroll should unroll this loop into one big basic block.
2004-05-13-DontUnrollTooMuch.ll 1 ; RUN: opt < %s -loop-unroll -disable-output
  /external/clang/test/PCH/
pragma-loop.cpp 11 // CHECK: #pragma clang loop unroll(disable)
15 // CHECK: #pragma clang loop unroll(full)
18 // CHECK: #pragma unroll
19 // CHECK: #pragma unroll (32)
44 #pragma clang loop unroll(disable)
56 #pragma clang loop unroll(full)
66 #pragma unroll
75 #pragma unroll 32
  /external/llvm/test/Transforms/LICM/
2014-09-10-doFinalizationAssert.ll 1 ; RUN: opt < %s -scalar-evolution -licm -loop-unroll -disable-output
2 ; Test triggered an assertion in doFinalization() because loop unroll was deleting
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 63 bool PragmaUnroll = PragmaNameLoc->Ident->getName() == "unroll";
71 .Case("unroll", "#pragma unroll")
84 Option = LoopHintAttr::Unroll;
89 // #pragma unroll N
93 // #pragma unroll
94 Option = LoopHintAttr::Unroll;
108 .Case("unroll", LoopHintAttr::Unroll)
121 Option == LoopHintAttr::Unroll ||
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopUnrollPass.cpp 42 #define DEBUG_TYPE "loop-unroll"
45 UnrollThreshold("unroll-threshold", cl::Hidden,
49 "unroll-percent-dynamic-cost-saved-threshold", cl::init(50), cl::Hidden,
54 "unroll-dynamic-cost-savings-discount", cl::init(100), cl::Hidden,
55 cl::desc("This is the amount discounted from the total unroll cost when "
57 "the '-unroll-perecent-dynamic-cost-saved-threshold' flag)."));
60 "unroll-max-iteration-count-to-analyze", cl::init(10), cl::Hidden,
62 "iterations when checking full unroll profitability"));
65 "unroll-count", cl::Hidden,
66 cl::desc("Use this unroll count for all loops including those with
    [all...]
  /external/clang/test/Parser/
pragma-loop.cpp 84 #pragma clang loop unroll(full)
98 #pragma clang loop unroll(disable)
114 #pragma clang loop vectorize(disable) interleave(disable) unroll(disable)
133 /* expected-error {{expected '('}} */ #pragma clang loop unroll
138 /* expected-error {{expected ')'}} */ #pragma clang loop unroll(full
147 /* expected-error {{missing argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll()
150 /* expected-error {{missing option; expected vectorize, vectorize_width, interleave, interleave_count, unroll, unroll_count, or distribute}} */ #pragma clang loop
202 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(badidentifier)
212 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(=)
238 /* expected-error {{incompatible directives 'unroll(disable)' and 'unroll_count(4)'}} */ #pragma clang loop unroll_count(4
    [all...]
pragma-loop-safety.cpp 18 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(assume_safety)
23 /* expected-error {{invalid argument; expected 'enable', 'full' or 'disable'}} */ #pragma clang loop unroll(badidentifier)
  /external/eigen/Eigen/src/Core/
BooleanRedux.h 85 unroll = SizeAtCompileTime != Dynamic enumerator in enum:Eigen::__anon17888
89 if(unroll)
90 return internal::all_unroller<Evaluator, unroll ? int(SizeAtCompileTime) : Dynamic>::run(evaluator);
109 unroll = SizeAtCompileTime != Dynamic enumerator in enum:Eigen::__anon17889
113 if(unroll)
114 return internal::any_unroller<Evaluator, unroll ? int(SizeAtCompileTime) : Dynamic>::run(evaluator);
  /external/clang/test/Preprocessor/
_Pragma.c 15 _Pragma(unroll 1 // expected-error{{_Pragma takes a parenthesized string literal}}
  /external/clang/lib/CodeGen/
CGLoopInfo.cpp 60 Metadata *Vals[] = {MDString::get(Ctx, "llvm.loop.unroll.count"),
75 // Setting unroll.full or unroll.disable
79 Name = "llvm.loop.unroll.enable";
81 Name = "llvm.loop.unroll.full";
83 Name = "llvm.loop.unroll.disable";
144 LoopHintAttr::OptionType Option = LoopHintAttr::Unroll;
150 // 0 - full unroll (no argument).
151 // 1 - disable unroll.
152 // other positive integer n - unroll by n
    [all...]

Completed in 2190 milliseconds

12 3 4 5 6 7 8 91011>>