/external/clang/test/Parser/ |
pragma-unroll.cpp | 9 #pragma unroll 19 #pragma unroll 4 24 #pragma unroll(8) 29 /* expected-error {{expected ')'}} */ #pragma unroll(4 30 /* expected-error {{missing argument; expected an integer value}} */ #pragma unroll() 31 /* expected-warning {{extra tokens at end of '#pragma unroll'}} */ #pragma unroll 1 2 41 /* expected-error {{expected ')'}} */ #pragma unroll(() 42 /* expected-error {{expected expression}} */ #pragma unroll - 43 /* expected-error {{invalid value '0'; must be positive}} */ #pragma unroll(0 [all...] |
/external/llvm/test/Transforms/LoopUnroll/ |
runtime-loop5.ll | 1 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-count=16 | FileCheck --check-prefix=UNROLL-16 %s 2 ; RUN: opt < %s -S -loop-unroll -unroll-runtime=true -unroll-count=4 | FileCheck --check-prefix=UNROLL-4 %s 5 ; safely unroll it with a count of anything more than 8. 8 ; UNROLL-16-LABEL: @test [all...] |
loop-remarks.ll | 1 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=16 2>&1 | FileCheck -check-prefix=COMPLETE-UNROLL %s 2 ; RUN: opt < %s -S -loop-unroll -pass-remarks=loop-unroll -unroll-count=4 2>&1 | FileCheck -check-prefix=PARTIAL-UNROLL %s 4 ; COMPLETE-UNROLL: remark: {{.*}}: completely unrolled loop with 16 iterations 5 ; PARTIAL-UNROLL: remark: {{.*}}: unrolled loop by a factor of [all...] |
full-unroll-heuristics.ll | 3 ; 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 -unroll-percent-dynamic-cost-saved-threshold=20 -unroll-dynamic-cost-savings-discoun (…) [all...] |
partial-unroll-const-bounds.ll | 1 ; RUN: opt < %s -S -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unroll-allow-remainder -unroll-dynamic-cost-savings-discount=0 | FileCheck %s 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 unrolling.
|
runtime-loop2.ll | 1 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-runtime -unroll-count=8 | FileCheck %s -check-prefix=EPILOG 2 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-runtime -unroll-runtime-epilog=false | FileCheck %s -check-prefix=PROLOG 4 ; Choose a smaller, power-of-two, unroll count if the loop is too large.
|
full-unroll-heuristics-phi-prop.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=50 | FileCheck %s
|
unroll-count.ll | 1 ; RUN: opt < %s -S -loop-unroll -unroll-count=2 | FileCheck %s 2 ; Checks that "llvm.loop.unroll.disable" is set when 3 ; unroll with count set by user has been applied. 6 ; CHECK: llvm.loop.unroll.disable
|
full-unroll-heuristics-geps.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 6 ; our estimate, so that we might decide to unroll even a simple memcpy loop.
|
/external/llvm/test/Other/ |
2008-02-14-PassManager.ll | 1 ; RUN: opt < %s -loop-unroll -loop-rotate -simplifycfg -disable-output
|
/external/swiftshader/third_party/LLVM/test/Other/ |
2008-02-14-PassManager.ll | 1 ; RUN: opt < %s -loop-unroll -loop-rotate -simplifycfg -disable-output
|
/external/llvm/test/Assembler/ |
no-mdstring-upgrades.ll | 9 ; CHECK: !0 = !{!"llvm.vectorizer.unroll"} 10 !0 = !{!"llvm.vectorizer.unroll"}
|
/external/clang/test/CodeGenCXX/ |
pragma-unroll.cpp | 3 // Verify while loop is recognized after unroll pragma. 8 #pragma unroll 29 // Verify for loop is recognized after unroll pragma. 32 #pragma unroll 8 39 // Verify c++11 for range loop is recognized after unroll pragma. 44 #pragma unroll(4) 53 // Verify defines are correctly resolved in unroll pragmas. 56 #pragma unroll(UNROLLCOUNT) 67 #pragma unroll 8 79 #pragma unroll(UNROLLCOUNT [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
LoopUnrollPass.cpp | 15 #define DEBUG_TYPE "loop-unroll" 31 UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden, 35 UnrollCount("unroll-count", cl::init(0), cl::Hidden, 36 cl::desc("Use this unroll count for all loops, for testing purposes")); 39 UnrollAllowPartial("unroll-allow-partial", cl::init(false), cl::Hidden, 41 "-unroll-threshold loop size is reached.")); 45 NoSCEVUnroll("disable-unroll-scev", cl::init(false), cl::Hidden, 63 /// that the loop unroll should be performed regardless of how much 68 // explicit -unroll-threshold). 90 // FIXME: Loop unroll requires LCSSA. And LCSSA requires dom info [all...] |
/external/clang/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/Sema/ |
LoopHint.h | 20 /// \brief Loop optimization hint for loop and unroll pragmas. 25 // "#pragma clang loop" directives and "unroll" for "#pragma unroll" 28 // Name of the loop hint. Examples: "unroll", "vectorize". In the 29 // "#pragma unroll" and "#pragma nounroll" cases, this is identical to 33 // default value such as for "#pragma unroll".
|