Home
last modified time | relevance | path

Searched refs:loop (Results 1 – 25 of 2431) sorted by relevance

12345678910>>...98

/external/clang/test/Parser/
Dpragma-loop.cpp9 #pragma clang loop vectorize(enable) in test()
10 #pragma clang loop interleave(enable) in test()
11 #pragma clang loop unroll(enable) in test()
16 #pragma clang loop vectorize_width(4) in test()
17 #pragma clang loop interleave_count(8) in test()
18 #pragma clang loop unroll_count(16) in test()
23 #pragma clang loop vectorize(disable) in test()
24 #pragma clang loop interleave(disable) in test()
25 #pragma clang loop unroll(disable) in test()
30 #pragma clang loop vectorize_width(4) interleave_count(8) unroll_count(16) in test()
[all …]
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count9.ll11 ; CHECK: Determining loop execution counts for: @foo
12 ; CHECK: Loop %loop: backedge-taken count is (-1 + %n)
13 ; CHECK: Loop %loop: max backedge-taken count is 6
17 br i1 %s, label %loop, label %exit
18 loop:
19 %i = phi i4 [ 0, %entry ], [ %i.next, %loop ]
22 br i1 %t, label %loop, label %exit
27 ; CHECK: Determining loop execution counts for: @step2
28 ; CHECK: Loop %loop: Unpredictable backedge-taken count.
29 ; CHECK: Loop %loop: Unpredictable max backedge-taken count.
[all …]
Dunsimplified-loop.ll3 ; This loop has no preheader, multiple backedges, etc., but ScalarEvolution
6 ; CHECK: %i = phi i64 [ 5, %entry ], [ 5, %alt ], [ %i.next, %loop.a ], [ %i.next, %loop.b ]
7 ; CHECK-NEXT: --> {5,+,1}<%loop>
11 br i1 %p, label %loop, label %alt
14 br i1 %s, label %loop, label %exit
16 loop:
17 %i = phi i64 [ 5, %entry ], [ 5, %alt ], [ %i.next, %loop.a ], [ %i.next, %loop.b ]
19 br i1 %q, label %loop.a, label %loop.b
21 loop.a:
22 br label %loop
[all …]
Dtrip-count10.ll5 ; CHECK: Determining loop execution counts for: @a
6 ; CHECK: Loop %loop: Unpredictable backedge-taken count.
7 ; CHECK: Loop %loop: Unpredictable max backedge-taken count.
9 ; CHECK: Determining loop execution counts for: @b
10 ; CHECK: Loop %loop: backedge-taken count is false
11 ; CHECK: Loop %loop: max backedge-taken count is false
13 ; CHECK: Determining loop execution counts for: @c
14 ; CHECK: Loop %loop: backedge-taken count is false
15 ; CHECK: Loop %loop: max backedge-taken count is false
17 ; CHECK: Determining loop execution counts for: @d
[all …]
Dtrip-count-pow2.ll6 br label %loop
7 loop:
8 %i = phi i32 [ 0, %entry ], [ %i.next, %loop ]
11 br i1 %t, label %loop, label %exit
16 ; CHECK: Loop %loop: backedge-taken count is ((-32 + (96 * %n)) /u 32)
17 ; CHECK: Loop %loop: max backedge-taken count is ((-32 + (96 * %n)) /u 32)
24 br label %loop
25 loop:
26 %i = phi i32 [ 0, %entry ], [ %i.next, %loop ]
29 br i1 %t, label %loop, label %exit
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c59 struct loop_info * loop) in loop_max_possible_iterations() argument
62 unsigned int loop_i = (loop->EndLoop->IP - loop->BeginLoop->IP) - 1; in loop_max_possible_iterations()
67 static void unroll_loop(struct radeon_compiler * c, struct loop_info * loop, in unroll_loop() argument
72 struct rc_instruction * first = loop->BeginLoop->Next; in unroll_loop()
73 struct rc_instruction * last = loop->EndLoop->Prev; in unroll_loop()
75 rc_remove_instruction(loop->BeginLoop); in unroll_loop()
76 rc_remove_instruction(loop->EndLoop); in unroll_loop()
186 static int try_unroll_loop(struct radeon_compiler * c, struct loop_info * loop) in try_unroll_loop() argument
199 if(rc_src_reg_is_immediate(c, loop->Cond->U.I.SrcReg[0].File, in try_unroll_loop()
200 loop->Cond->U.I.SrcReg[0].Index)){ in try_unroll_loop()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c59 struct loop_info * loop) in loop_max_possible_iterations() argument
62 unsigned int loop_i = (loop->EndLoop->IP - loop->BeginLoop->IP) - 1; in loop_max_possible_iterations()
67 static void unroll_loop(struct radeon_compiler * c, struct loop_info * loop, in unroll_loop() argument
72 struct rc_instruction * first = loop->BeginLoop->Next; in unroll_loop()
73 struct rc_instruction * last = loop->EndLoop->Prev; in unroll_loop()
75 rc_remove_instruction(loop->BeginLoop); in unroll_loop()
76 rc_remove_instruction(loop->EndLoop); in unroll_loop()
186 static int try_unroll_loop(struct radeon_compiler * c, struct loop_info * loop) in try_unroll_loop() argument
199 if(rc_src_reg_is_immediate(c, loop->Cond->U.I.SrcReg[0].File, in try_unroll_loop()
200 loop->Cond->U.I.SrcReg[0].Index)){ in try_unroll_loop()
[all …]
/external/chromium_org/third_party/codesighs/
Dcodesighs.c317 unsigned loop = 0; in codesighs() local
319 for(loop = 0; loop < inOptions->mMatchClassCount; loop++) in codesighs()
321 if(NULL != strstr(segClass, inOptions->mMatchClasses[loop])) in codesighs()
330 if(loop == inOptions->mMatchClassCount) in codesighs()
341 unsigned loop = 0; in codesighs() local
343 for(loop = 0; loop < inOptions->mMatchScopeCount; loop++) in codesighs()
345 if(NULL != strstr(scope, inOptions->mMatchScopes[loop])) in codesighs()
354 if(loop == inOptions->mMatchScopeCount) in codesighs()
365 unsigned loop = 0; in codesighs() local
367 for(loop = 0; loop < inOptions->mMatchModuleCount; loop++) in codesighs()
[all …]
/external/openssl/crypto/engine/
Denginetest.c78 int loop; in display_engine_list() local
81 loop = 0; in display_engine_list()
86 loop++, ENGINE_get_id(h), ENGINE_get_name(h)); in display_engine_list()
101 int loop; in main() local
220 for(loop = 0; loop < 512; loop++) in main()
222 sprintf(buf, "id%i", loop); in main()
224 sprintf(buf, "Fake engine type %i", loop); in main()
226 if(((block[loop] = ENGINE_new()) == NULL) || in main()
227 !ENGINE_set_id(block[loop], id) || in main()
228 !ENGINE_set_name(block[loop], name)) in main()
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
Dtripcount_compute.ll4 ; loops. If the trip count of the loop is computable, then we will know what
5 ; the exit value of the loop will be for some value, allowing us to substitute
6 ; it directly into users outside of the loop, making the loop dead.
13 br label %loop
15 loop: ; preds = %loop, %entry
16 %i = phi i32 [ 0, %entry ], [ %i.next, %loop ] ; <i32> [#uses=3]
19 br i1 %c, label %loop, label %loopexit
21 loopexit: ; preds = %loop
30 br label %loop
32 loop: ; preds = %loop, %entry
[all …]
Dno-iv-rewrite.ll14 br label %loop
16 ; CHECK: loop:
27 loop:
28 %i.02 = phi i32 [ 0, %ph ], [ %iinc, %loop ]
29 %s.01 = phi i32 [ 0, %ph ], [ %sinc, %loop ]
36 br i1 %cond, label %loop, label %exit
39 %s.lcssa = phi i32 [ %sinc, %loop ]
53 br label %loop
55 ; CHECK: loop:
68 loop:
[all …]
D2011-11-01-lftrptr.ll6 ; Test LinearFunctionTestReplace of a pointer-type loop counter. Note
13 ; CHECK: loop:
23 br label %loop
25 loop:
26 %p.01.us.us = phi i8* [ null, %preheader ], [ %gep, %loop ]
27 %s = phi i8 [0, %preheader], [%snext, %loop]
31 br i1 %cmp, label %loop, label %exit
38 ; CHECK: loop:
48 br label %loop
50 loop:
[all …]
Dtripcount_infinite.ll11 br label %loop
13 loop: ; preds = %loop, %entry
14 %i = phi i32 [ 1, %entry ], [ %i.next, %loop ] ; <i32> [#uses=3]
17 br i1 %c, label %loop, label %loopexit
19 loopexit: ; preds = %loop
26 br label %loop
28 loop: ; preds = %loop, %entry
29 %i = phi i32 [ 1, %entry ], [ %i.next, %loop ] ; <i32> [#uses=4]
33 br i1 %c, label %loop, label %loopexit
35 loopexit: ; preds = %loop
/external/llvm/test/CodeGen/SystemZ/
Dloop-01.ll1 ; Test loop tuning.
13 br label %loop
15 loop:
16 %index = phi i64 [ 0, %entry ], [ %next, %loop ]
21 br i1 %cmp, label %loop, label %exit
27 ; Test a loop that should be converted into dbr form and then use BRCT.
31 ; CHECK: [[LABEL:\.[^:]*]]:{{.*}} %loop
35 br label %loop
37 loop:
38 %count = phi i32 [ 0, %entry ], [ %next, %loop.next ]
[all …]
Dbranch-04.ll12 br label %loop
13 loop:
16 br i1 %cond, label %loop, label %exit
27 br label %loop
28 loop:
31 br i1 %cond, label %loop, label %exit
42 br label %loop
43 loop:
46 br i1 %cond, label %loop, label %exit
57 br label %loop
[all …]
Dbranch-06.ll13 br label %loop
14 loop:
17 br i1 %cond, label %loop, label %exit
27 br label %loop
28 loop:
31 br i1 %cond, label %loop, label %exit
41 br label %loop
42 loop:
45 br i1 %cond, label %loop, label %exit
55 br label %loop
[all …]
Dbranch-02.ll13 br label %loop
14 loop:
17 br i1 %cond, label %loop, label %exit
28 br label %loop
29 loop:
32 br i1 %cond, label %loop, label %exit
43 br label %loop
44 loop:
47 br i1 %cond, label %loop, label %exit
58 br label %loop
[all …]
/external/clang/test/CodeGen/
Dpragma-loop.cpp8 #pragma clang loop vectorize(enable) in while_test()
9 #pragma clang loop interleave_count(4) in while_test()
10 #pragma clang loop vectorize_width(4) in while_test()
11 #pragma clang loop unroll(enable) in while_test()
23 #pragma clang loop vectorize_width(8) interleave_count(4) unroll(disable) in do_test()
33 #pragma clang loop interleave(enable) in for_test()
34 #pragma clang loop interleave_count(4) in for_test()
35 #pragma clang loop unroll_count(8) in for_test()
47 #pragma clang loop vectorize_width(2) interleave_count(2) in for_range_test()
56 #pragma clang loop vectorize(disable) unroll(disable) in disable_test()
[all …]
/external/chromium_org/ppapi/api/
Dppb_message_loop.idl14 * A message loop allows PPAPI calls to be issued on a thread. You may not
15 * issue any API calls on a thread without creating a message loop. It also
16 * allows you to post work to the message loop for a thread.
18 * To process work posted to the message loop, as well as completion callbacks
19 * for asynchronous operations, you must run the message loop via Run().
31 * - Create the message loop resource.
32 * - Pass the message loop resource to your thread's main function.
33 * - Call PostWork() on the message loop to run functions on the thread.
36 * - Call AttachToCurrentThread() with the message loop resource.
37 * - Call Run() with the message loop resource.
[all …]
/external/llvm/test/Analysis/BlockFrequencyInfo/
Ddouble_backedge.ll8 br label %loop
10 loop:
11 ; CHECK-NEXT: loop: float = 10.0,
12 br i1 %x, label %exit, label %loop.1, !prof !0
14 loop.1:
15 ; CHECK-NEXT: loop.1: float = 9.0,
16 br i1 %x, label %loop, label %loop.2, !prof !1
18 loop.2:
19 ; CHECK-NEXT: loop.2: float = 5.0,
20 br label %loop
/external/chromium_org/third_party/mesa/src/src/glsl/
Dlower_jumps.cpp162 ir_loop* loop; member
176 this->loop = p_loop; in loop_record()
188 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag()
198 assert(this->loop); in get_break_flag()
201 this->loop->insert_before(this->break_flag); in get_break_flag()
202 …this->loop->insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_v… in get_break_flag()
272 struct loop_record loop; member
325 this->loop.may_set_return_flag = true; in insert_lowered_return()
351 new(ctx) ir_dereference_variable(this->loop.get_break_flag()), in create_lowered_break()
472 assert(this->loop.loop); in should_lower_jump()
[all …]
/external/mesa3d/src/glsl/
Dlower_jumps.cpp162 ir_loop* loop; member
176 this->loop = p_loop; in loop_record()
188 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag()
198 assert(this->loop); in get_break_flag()
201 this->loop->insert_before(this->break_flag); in get_break_flag()
202 …this->loop->insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_v… in get_break_flag()
272 struct loop_record loop; member
325 this->loop.may_set_return_flag = true; in insert_lowered_return()
351 new(ctx) ir_dereference_variable(this->loop.get_break_flag()), in create_lowered_break()
472 assert(this->loop.loop); in should_lower_jump()
[all …]
/external/llvm/test/Transforms/LoopStrengthReduce/
Dquadradic-exit-value.ll5 ; CHECK-LABEL: IV Users for loop %foo.loop
6 ; CHECK: {1,+,3,+,2}<%foo.loop>
9 br label %foo.loop
11 foo.loop:
12 %indvar = phi i64 [ 0, %entry ], [ %indvar.next, %foo.loop ]
15 br i1 %c, label %exit, label %foo.loop
27 ; CHECK-LABEL: IV Users for loop %test2.loop
28 ; CHECK: %sext.us = {0,+,(16777216 + (-16777216 * %sub.us)),+,33554432}<%test2.loop> in %f = ashr i…
31 br label %test2.loop
33 test2.loop:
[all …]
/external/llvm/test/CodeGen/X86/
Dmasked-iv-unsafe.ll6 ; Don't optimize away zext-inreg and sext-inreg on the loop induction
11 br label %loop
13 loop:
14 %indvar = phi i64 [ 10, %entry ], [ %indvar.next, %loop ]
31 br i1 %exitcond, label %return, label %loop
39 br label %loop
41 loop:
42 %indvar = phi i64 [ 10, %entry ], [ %indvar.next, %loop ]
59 br i1 %exitcond, label %return, label %loop
67 br label %loop
[all …]
Dloop-blocks.ll3 ; These tests check for loop branching structure, and that the loop align
6 ; CodeGen should insert a branch into the middle of the loop in
7 ; order to avoid a branch within the loop.
19 br label %loop
21 loop:
29 br label %loop
36 ; CodeGen should move block_a to the top of the loop so that it
37 ; falls through into the loop, avoiding a branch within the loop.
49 br label %loop
51 loop:
[all …]

12345678910>>...98