Home
last modified time | relevance | path

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

12345678910>>...65

/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 …]
/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/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/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/chromium_org/third_party/openssl/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.ll12 br label %loop
13 loop:
16 br i1 %cond, label %loop, label %exit
26 br label %loop
27 loop:
30 br i1 %cond, label %loop, label %exit
40 br label %loop
41 loop:
44 br i1 %cond, label %loop, label %exit
54 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/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/chromium_org/chrome_frame/test/
Dchrome_frame_automation_mock.cc12 base::MessageLoopForUI loop; in TEST() local
13 AutomationMockLaunch mock_launch(&loop, in TEST()
16 loop.PostDelayedTask( in TEST()
26 base::MessageLoopForUI loop; in TEST() local
27 AutomationMockNavigate mock_navigate(&loop, in TEST()
30 loop.PostDelayedTask( in TEST()
40 base::MessageLoopForUI loop; in TEST() local
41 AutomationMockPostMessage mock_postmessage(&loop, in TEST()
44 loop.PostDelayedTask( in TEST()
54 base::MessageLoopForUI loop; in TEST() local
[all …]
Durl_request_test.cc49 void PostponeReadRequest(chrome_frame_test::TimedMsgLoop* loop, in PostponeReadRequest() argument
51 loop->PostTask(FROM_HERE, in PostponeReadRequest()
65 chrome_frame_test::TimedMsgLoop loop; in TEST() local
98 &MockUrlDelegate::PostponeReadRequest, &loop, &request, 64))); in TEST()
102 .WillOnce(QUIT_LOOP_SOON(loop, base::TimeDelta::FromSeconds(2))); in TEST()
105 loop.RunFor(kChromeFrameLongNavigationTimeout); in TEST()
113 chrome_frame_test::TimedMsgLoop loop; in TEST() local
146 .WillOnce(QUIT_LOOP_SOON(loop, base::TimeDelta::FromSeconds(2))); in TEST()
149 loop.RunFor(kChromeFrameLongNavigationTimeout); in TEST()
155 chrome_frame_test::TimedMsgLoop loop; in TEST() local
[all …]
/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/CodeGen/X86/
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 …]
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 …]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dspinlock_internal.cc46 namespace base { namespace internal { static int SuggestedDelayNS(int loop); }}
64 for (int loop = 0; !done; loop++) { in SpinLockWait() local
70 SpinLockDelay(w, v, loop); // no matching transition in SpinLockWait()
80 static int SuggestedDelayNS(int loop) { in SuggestedDelayNS() argument
89 if (loop < 0 || loop > 32) { // limit loop to 0..32 in SuggestedDelayNS()
90 loop = 32; in SuggestedDelayNS()
98 return r >> (44 - (loop >> 3)); in SuggestedDelayNS()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dspinlock_internal.cc46 namespace base { namespace internal { static int SuggestedDelayNS(int loop); }}
64 for (int loop = 0; !done; loop++) { in SpinLockWait() local
70 SpinLockDelay(w, v, loop); // no matching transition in SpinLockWait()
80 static int SuggestedDelayNS(int loop) { in SuggestedDelayNS() argument
89 if (loop < 0 || loop > 32) { // limit loop to 0..32 in SuggestedDelayNS()
90 loop = 32; in SuggestedDelayNS()
98 return r >> (44 - (loop >> 3)); in SuggestedDelayNS()

12345678910>>...65