Searched refs:loop (Results 1 - 25 of 645) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/bin/
H A Dpick-ui.py30 evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
31 loop = urwid.MainLoop(u.render(), PALETTE, event_loop=evl, handle_mouse=False) variable
32 u.mainloop = loop
33 loop.run()
/xsrc/external/mit/xsetmode/dist/
H A Dxsetmode.c61 int loop, num_extensions, num_devices; local in function:main
88 for (loop = 0; loop < num_extensions &&
89 (strcmp(extensions[loop], "XInputExtension") != 0); loop++);
91 if (loop != num_extensions)
94 for(loop=0; loop<num_devices; loop++)
96 if (devices[loop]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_loop_unroll.c39 /* Prepare this loop for unrolling by first converting to lcssa and then
40 * converting the phis from the top level of the loop body to regs.
41 * Partially converting out of SSA allows us to unroll the loop without having
45 * The loop may have a continue instruction at the end of the loop which does
50 loop_prepare_for_unroll(nir_loop *loop) argument
53 nir_cf_node_get_function(&loop->cf_node));
55 nir_convert_loop_to_lcssa(loop);
57 /* Lower phis at the top level of the loop body */
58 foreach_list_typed_safe(nir_cf_node, node, node, &loop
106 simple_unroll(nir_loop * loop) argument
238 complex_unroll_loop_body(nir_loop * loop,nir_loop_terminator * unlimit_term,nir_cf_list * lp_header,nir_cf_list * lp_body,struct hash_table * remap_table,unsigned num_times_to_clone) argument
339 complex_unroll(nir_loop * loop,nir_loop_terminator * unlimit_term,bool limiting_term_second) argument
467 complex_unroll_single_terminator(nir_loop * loop) argument
515 wrapper_unroll(nir_loop * loop) argument
613 remove_out_of_bounds_induction_use(nir_shader * shader,nir_loop * loop,nir_loop_terminator * term,nir_cf_list * lp_header,nir_cf_list * lp_body,unsigned trip_count) argument
679 partial_unroll(nir_shader * shader,nir_loop * loop,unsigned trip_count) argument
753 check_unrolling_restrictions(nir_shader * shader,nir_loop * loop) argument
783 nir_loop *loop; local in function:process_loops
[all...]
H A Dnir_opt_trivial_continues.c36 lower_trivial_continues_block(nir_block *block, nir_loop *loop) argument
46 nir_if_last_then_block(prev_if), loop);
48 nir_if_last_else_block(prev_if), loop);
65 * loop and continues to the top. We can exit normally instead of jump.
67 nir_lower_phis_to_regs_block(nir_loop_first_block(loop));
75 nir_loop *loop)
87 if (lower_trivial_continues_list(&nif->then_list, at_loop_tail, loop))
89 if (lower_trivial_continues_list(&nif->else_list, at_loop_tail, loop))
95 nir_loop *loop = nir_cf_node_as_loop(cf_node); local in function:lower_trivial_continues_list
96 if (lower_trivial_continues_list(&loop
73 lower_trivial_continues_list(struct exec_list * cf_list,bool list_ends_at_loop_tail,nir_loop * loop) argument
[all...]
H A Dnir_to_lcssa.c26 * done by placing phi nodes at the exits of the loop for all values
27 * that are used outside the loop. The result is it transforms:
29 * loop { -> loop {
45 /* The loop we store information for */
46 nir_loop *loop; member in struct:__anonaeeceddc0108
51 is_if_use_inside_loop(nir_src *use, nir_loop* loop) argument
54 nir_cf_node_as_block(nir_cf_node_prev(&loop->cf_node));
56 nir_cf_node_as_block(nir_cf_node_next(&loop->cf_node));
69 is_use_inside_loop(nir_src *use, nir_loop* loop) argument
206 nir_convert_loop_to_lcssa(nir_loop * loop) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_loops.c60 struct loop_info * loop)
63 unsigned int loop_i = (loop->EndLoop->IP - loop->BeginLoop->IP) - 1;
64 /* +1 because the program already has one iteration of the loop. */
68 static void unroll_loop(struct radeon_compiler * c, struct loop_info * loop, argument
73 struct rc_instruction * first = loop->BeginLoop->Next;
74 struct rc_instruction * last = loop->EndLoop->Prev;
76 rc_remove_instruction(loop->BeginLoop);
77 rc_remove_instruction(loop->EndLoop);
187 static int try_unroll_loop(struct radeon_compiler * c, struct loop_info * loop) argument
59 loop_max_possible_iterations(struct radeon_compiler * c,struct loop_info * loop) argument
327 build_loop_info(struct radeon_compiler * c,struct loop_info * loop,struct rc_instruction * inst) argument
437 struct loop_info * loop; local in function:transform_loop
505 struct loop_info loop; local in function:rc_unroll_loops
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_emulate_loops.c60 struct loop_info * loop)
63 unsigned int loop_i = (loop->EndLoop->IP - loop->BeginLoop->IP) - 1;
64 /* +1 because the program already has one iteration of the loop. */
68 static void unroll_loop(struct radeon_compiler * c, struct loop_info * loop, argument
73 struct rc_instruction * first = loop->BeginLoop->Next;
74 struct rc_instruction * last = loop->EndLoop->Prev;
76 rc_remove_instruction(loop->BeginLoop);
77 rc_remove_instruction(loop->EndLoop);
187 static int try_unroll_loop(struct radeon_compiler * c, struct loop_info * loop) argument
59 loop_max_possible_iterations(struct radeon_compiler * c,struct loop_info * loop) argument
327 build_loop_info(struct radeon_compiler * c,struct loop_info * loop,struct rc_instruction * inst) argument
437 struct loop_info * loop; local in function:transform_loop
[all...]
/xsrc/external/mit/xsetpointer/dist/
H A Dxsetpointer.c62 int loop, num_extensions, num_devices; local in function:main
97 for (loop = 0; loop < num_extensions &&
98 (strcmp(extensions[loop], "XInputExtension") != 0); loop++);
100 if (loop != num_extensions)
103 for(loop=0; loop<num_devices; loop++)
106 printf("%d: \"%s\" [", (int)devices[loop]
[all...]
/xsrc/external/mit/xinput/dist/src/
H A Dtest.c107 int loop; local in function:print_events
112 for(loop=0; loop<motion->axes_count; loop++) {
113 printf("a[%d]=%d ", motion->first_axis + loop, motion->axis_data[loop]);
118 int loop; local in function:print_events
124 for(loop=0; loop<button->axes_count; loop
130 int loop; local in function:print_events
142 int loop; local in function:print_events
[all...]
H A Dstate.c36 int loop; local in function:query_state
68 for(loop=0; loop<state->num_classes; loop++) {
H A Dfeedback.c38 int loop; local in function:set_ptr_feedback
63 for(loop=0; loop<num_feedbacks; loop++) {
99 int loop; local in function:get_feedbacks
131 for(loop=0; loop<num_feedbacks; loop++) {
H A Dxinput.c239 int loop; local in function:find_device_info
245 for(loop=0; loop<len; loop++) {
246 if (!isdigit(name[loop])) {
258 for(loop=0; loop<num_devices; loop++) {
259 if ((!only_extended || (devices[loop].use >= IsXExtensionDevice)) &&
260 ((!is_id && strcmp(devices[loop]
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_trivial_continues.c36 lower_trivial_continues_block(nir_block *block, nir_loop *loop) argument
46 nir_if_last_then_block(prev_if), loop);
48 nir_if_last_else_block(prev_if), loop);
65 * loop and continues to the top. We can exit normally instead of jump.
67 nir_lower_phis_to_regs_block(nir_loop_first_block(loop));
75 nir_loop *loop)
87 if (lower_trivial_continues_list(&nif->then_list, at_loop_tail, loop))
89 if (lower_trivial_continues_list(&nif->else_list, at_loop_tail, loop))
95 nir_loop *loop = nir_cf_node_as_loop(cf_node); local in function:lower_trivial_continues_list
96 if (lower_trivial_continues_list(&loop
73 lower_trivial_continues_list(struct exec_list * cf_list,bool list_ends_at_loop_tail,nir_loop * loop) argument
[all...]
H A Dnir_opt_loop_unroll.c39 /* Prepare this loop for unrolling by first converting to lcssa and then
40 * converting the phis from the top level of the loop body to regs.
41 * Partially converting out of SSA allows us to unroll the loop without having
45 * The loop may have a jump instruction at the end of the loop which does
50 loop_prepare_for_unroll(nir_loop *loop) argument
53 nir_cf_node_get_function(&loop->cf_node));
55 nir_convert_loop_to_lcssa(loop);
57 /* Lower phis at the top level of the loop body */
58 foreach_list_typed_safe(nir_cf_node, node, node, &loop
106 simple_unroll(nir_loop * loop) argument
238 complex_unroll_loop_body(nir_loop * loop,nir_loop_terminator * unlimit_term,nir_cf_list * lp_header,nir_cf_list * lp_body,struct hash_table * remap_table,unsigned num_times_to_clone) argument
339 complex_unroll(nir_loop * loop,nir_loop_terminator * unlimit_term,bool limiting_term_second) argument
467 complex_unroll_single_terminator(nir_loop * loop) argument
515 wrapper_unroll(nir_loop * loop) argument
617 remove_out_of_bounds_induction_use(nir_shader * shader,nir_loop * loop,nir_loop_terminator * term,nir_cf_list * lp_header,nir_cf_list * lp_body,unsigned trip_count) argument
683 partial_unroll(nir_shader * shader,nir_loop * loop,unsigned trip_count) argument
796 can_pipeline_loads(nir_loop * loop) argument
830 check_unrolling_restrictions(nir_shader * shader,nir_loop * loop) argument
919 nir_loop *loop; local in function:process_loops
[all...]
H A Dnir_to_lcssa.c27 * done by placing phi nodes at the exits of the loop for all values
28 * that are used outside the loop. The result is it transforms:
30 * loop { -> loop {
46 /* The loop we store information for */
47 nir_loop *loop; member in struct:__anon931aec4f0108
51 /* Whether to skip loop invariant variables */
59 is_if_use_inside_loop(nir_src *use, nir_loop *loop) argument
62 nir_cf_node_as_block(nir_cf_node_prev(&loop->cf_node));
64 nir_cf_node_as_block(nir_cf_node_next(&loop
77 is_use_inside_loop(nir_src * use,nir_loop * loop) argument
93 is_defined_before_loop(nir_ssa_def * def,nir_loop * loop) argument
112 def_is_invariant(nir_ssa_def * def,nir_loop * loop) argument
131 phi_is_invariant(nir_phi_instr * instr,nir_loop * loop) argument
167 instr_is_invariant(nir_instr * instr,nir_loop * loop) argument
286 setup_loop_state(lcssa_state * state,nir_loop * loop) argument
319 nir_loop *loop = nir_cf_node_as_loop(cf_node); local in function:convert_to_lcssa
371 nir_convert_loop_to_lcssa(nir_loop * loop) argument
[all...]
H A Dnir_lower_returns.c31 nir_loop *loop; member in struct:lower_returns_state
53 if (!state->loop && nir_cursors_equal(b->cursor, nir_after_cf_list(state->cf_list)))
60 if (state->loop) {
61 /* If we're inside of a loop, then all we need to do is insert a
83 lower_returns_in_loop(nir_loop *loop, struct lower_returns_state *state) argument
85 nir_loop *parent = state->loop;
86 state->loop = loop;
87 bool progress = lower_returns_in_cf_list(&loop->body, state);
88 state->loop
[all...]
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest_main.cc38 void loop() { RUN_ALL_TESTS(); } function in typeref:typename:void
/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Dregs3v.h257 do { int loop=0; mem_barrier(); \
258 while ((((IN_SUBSYS_STAT()) & 0x1f00) < (((v)+2) << 8)) && (loop++<MAXLOOP)); \
259 if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
264 do { int loop=0; mem_barrier(); \
267 (loop++<MAXLOOP)); \
269 while (((IN_SUBSYS_STAT() & 0x3f00) != 0x3000) && (loop++<MAXLOOP)); \
270 if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
275 do { int loop=0; mem_barrier(); \
276 while ((!(IN_SUBSYS_STAT() & 0x2000)) && (loop++<MAXLOOP)); \
277 if (loop >
[all...]
/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dslicer.cc82 #define ZERO 0.00001 /*determing whether a loop is a rectngle or not*/
86 static Int is_Convex(Arc_ptr loop)
88 if(area(loop->tail(), loop->head(), loop->next->head()) <0 )
90 for(Arc_ptr jarc = loop->next; jarc != loop; jarc = jarc->next)
102 static int is_U_monotone(Arc_ptr loop)
109 cur_sign = compV2InX(loop->head(), loop
143 monoTriangulationLoop(Arc_ptr loop,Backend & backend,primStream * pStream) argument
220 is_rect(Arc_ptr loop) argument
319 triangulateRect(Arc_ptr loop,Backend & backend,int TB_or_LR,int ulinear,int vlinear) argument
778 triangulateRectGen(Arc_ptr loop,int n_ulines,int n_vlines,Backend & backend) argument
948 arcLoopToDLineLoop(Arc_ptr loop) argument
1068 slice_new(Arc_ptr loop) argument
1165 slice(Arc_ptr loop) argument
1212 slice_old(Arc_ptr loop) argument
[all...]
H A Dsorter.cc103 loop:
107 goto loop;
113 goto loop;
121 goto loop;
H A DdataTransform.cc46 extern directedLine* arcLoopToDLineLoop(Arc_ptr loop);
49 static directedLine* copy_loop(Arc_ptr loop, Real2* vertArray, int& index, directedLine dline_buf[], sampledLine sline_buf[], int& index_dline)
55 for(j=0; j<loop->pwlArc->npts-1; j++, i++)
57 vertArray[i][0] = loop->pwlArc->pts[j].param[0];
58 vertArray[i][1] = loop->pwlArc->pts[j].param[1];
60 loop->clearmark();
62 for(Arc_ptr jarc = loop->next; jarc != loop; jarc=jarc->next)
72 vertArray[i][0] = loop->pwlArc->pts[0].param[0];
73 vertArray[i][1] = loop
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_callstack.cpp51 ++m_bc.stack.loop;
72 --m_bc.stack.loop;
73 assert(m_bc.stack.loop >= 0);
90 elements = (stack.loop + stack.push_wqm ) * entry_size;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_jumps.cpp32 * 3. Replace all "break" with a single conditional one at the end of the loop
42 * Continues are lowered by adding a per-loop "execute flag", initialized to
43 * true, that when cleared inhibits all execution until the end of the loop.
46 * at the end of the loop, and trigger the unique "break".
54 * a dummy loop and using break.
86 * - It assumes it is always possible for control to flow from a loop
88 * is not true (since all execution paths through the loop might
101 * continue to the top of the innermost enclosing loop, break out
109 * continue to the top of the innermost enclosing loop, break out
116 * continue to the top of the innermost enclosing loop, brea
164 ir_loop* loop; member in struct:__anon68d3f30f0110::loop_record
276 struct loop_record loop; member in struct:__anon68d3f30f0110::ir_lower_jumps_visitor
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_jumps.cpp32 * 3. Replace all "break" with a single conditional one at the end of the loop
42 * Continues are lowered by adding a per-loop "execute flag", initialized to
43 * true, that when cleared inhibits all execution until the end of the loop.
46 * at the end of the loop, and trigger the unique "break".
54 * a dummy loop and using break.
86 * - It assumes it is always possible for control to flow from a loop
88 * is not true (since all execution paths through the loop might
101 * continue to the top of the innermost enclosing loop, break out
109 * continue to the top of the innermost enclosing loop, break out
116 * continue to the top of the innermost enclosing loop, brea
164 ir_loop* loop; member in struct:__anonc12c8bdc0110::loop_record
274 struct loop_record loop; member in struct:__anonc12c8bdc0110::ir_lower_jumps_visitor
[all...]
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Ddri2-race.c132 int count, loop, n; local in function:race_window
145 loop = 256 >> ffs(divisors[n]);
146 printf("DRI2SwapBuffers(divisor=%d), loop=%d", divisors[n], loop);
167 for (count = 0; count < loop; count++)
171 } while (--loop);
176 loop = 256 >> ffs(divisors[n]);
177 printf("xcb_dri2_swap_buffers(divisor=%d), loops=%d", divisors[n], loop);
198 for (count = 0; count < loop; count++)
202 } while (--loop);
258 int count, loop, n; local in function:race_resize
388 int count, loop, n; local in function:race_manager
517 int count, loop, n; local in function:race_close
631 int count, loop, n; local in function:race_client
[all...]

Completed in 16 milliseconds

1234567891011>>