Searched refs:loop_state (Results 1 - 22 of 22) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dloop_analysis.h34 extern class loop_state *
46 unroll_loops(exec_list *instructions, loop_state *ls,
218 class loop_state { class
220 ~loop_state();
232 loop_state();
241 friend loop_state *analyze_loop_variables(exec_list *instructions);
H A Dloop_analysis.cpp253 loop_state::loop_state() function in class:loop_state
261 loop_state::~loop_state()
269 loop_state::insert(ir_loop *ir)
281 loop_state::get(const ir_loop *ir)
356 loop_analysis(loop_state *loops);
370 loop_state *loops;
381 loop_analysis::loop_analysis(loop_state *loops)
803 loop_state *
[all...]
H A Dloop_unroll.cpp34 loop_unroll_visitor(loop_state *state,
50 loop_state *state;
590 unroll_loops(exec_list *instructions, loop_state *ls,
H A Dglsl_parser_extras.cpp2290 loop_state *ls = analyze_loop_variables(ir);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dloop_analysis.h34 extern class loop_state *
46 unroll_loops(exec_list *instructions, loop_state *ls,
218 class loop_state { class
220 ~loop_state();
232 loop_state();
241 friend loop_state *analyze_loop_variables(exec_list *instructions);
H A Dloop_analysis.cpp299 loop_state::loop_state() function in class:loop_state
307 loop_state::~loop_state()
315 loop_state::insert(ir_loop *ir)
327 loop_state::get(const ir_loop *ir)
403 loop_analysis(loop_state *loops);
417 loop_state *loops;
428 loop_analysis::loop_analysis(loop_state *loops)
850 loop_state *
[all...]
H A Dloop_unroll.cpp34 loop_unroll_visitor(loop_state *state,
50 loop_state *state;
583 unroll_loops(exec_list *instructions, loop_state *ls,
H A Dglsl_parser_extras.cpp2403 loop_state *ls = analyze_loop_variables(ir);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir_soa.c793 struct lp_build_loop_state loop_state; local in function:emit_load_global
794 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
798 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, "");
802 loop_state.counter, "");
809 temp_res = LLVMBuildInsertElement(builder, temp_res, value_ptr, loop_state.counter, "");
812 lp_build_loop_end_cond(&loop_state, lp_build_const_int32(gallivm, uint_bld->type.length),
835 struct lp_build_loop_state loop_state; local in function:emit_store_global
836 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
838 loop_state.counter, "");
841 loop_state
886 struct lp_build_loop_state loop_state; local in function:emit_atomic_global
1059 struct lp_build_loop_state loop_state; local in function:emit_load_mem
1148 struct lp_build_loop_state loop_state; local in function:emit_store_mem
1220 struct lp_build_loop_state loop_state; local in function:emit_atomic_mem
1875 struct lp_build_loop_state loop_state; local in function:emit_vote
1939 struct lp_build_loop_state loop_state; local in function:emit_ballot
1962 struct lp_build_loop_state loop_state; local in function:emit_elect
2001 struct lp_build_loop_state loop_state; local in function:emit_reduce
2226 struct lp_build_loop_state loop_state; local in function:emit_read_invocation
2310 struct lp_build_loop_state loop_state; local in function:emit_load_scratch
2374 struct lp_build_loop_state loop_state; local in function:emit_store_scratch
[all...]
H A Dlp_bld_format_soa.c1095 struct lp_build_loop_state loop_state; local in function:lp_build_store_rgba_soa
1100 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
1103 LLVMValueRef cond = LLVMBuildExtractElement(gallivm->builder, should_store_mask, loop_state.counter, "");
1106 LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed[i], loop_state.counter, "");
1107 LLVMValueRef this_offset = LLVMBuildExtractElement(gallivm->builder, store_offset, loop_state.counter, "");
1119 lp_build_loop_end_cond(&loop_state, lp_build_const_int32(gallivm, type.length),
H A Dlp_bld_tgsi_soa.c3522 struct lp_build_loop_state loop_state; local in function:load_emit
3523 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
3529 loop_state.counter, "");
3532 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, "");
3538 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, "");
3542 temp_res = LLVMBuildInsertElement(builder, temp_res, lp_build_const_int32(gallivm, 0), loop_state.counter, "");
3545 lp_build_loop_end_cond(&loop_state, lp_build_const_int32(gallivm, uint_bld->type.length),
3642 struct lp_build_loop_state loop_state; local in function:store_emit
3643 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
3646 loop_state
3836 struct lp_build_loop_state loop_state; local in function:atomic_emit
[all...]
H A Dlp_bld_sample_soa.c4536 struct lp_build_loop_state loop_state; local in function:lp_build_do_atomic_soa
4537 lp_build_loop_begin(&loop_state, gallivm, lp_build_const_int32(gallivm, 0));
4546 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, "");
4549 LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed, loop_state.counter, "");
4550 LLVMValueRef cast_base_ptr = LLVMBuildExtractElement(gallivm->builder, offset, loop_state.counter, "");
4555 LLVMValueRef cas_src_ptr = LLVMBuildExtractElement(gallivm->builder, packed2, loop_state.counter, "");
4571 temp_res = LLVMBuildInsertElement(gallivm->builder, temp_res, data, loop_state.counter, "");
4575 lp_build_loop_end_cond(&loop_state, lp_build_const_int32(gallivm, type.length),
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_dce.c104 struct loop_state { struct
110 dce_block(nir_block *block, BITSET_WORD *defs_live, struct loop_state *loop)
149 struct loop_state *parent_loop)
169 struct loop_state inner_state;
225 struct loop_state loop;
H A Dnir_divergence_analysis.c919 struct divergence_state loop_state = *state; local in function:visit_loop
920 loop_state.divergent_loop_cf = false;
921 loop_state.divergent_loop_continue = false;
922 loop_state.divergent_loop_break = false;
927 progress |= visit_cf_list(&loop->body, &loop_state);
937 loop_state.divergent_loop_continue);
940 loop_state.divergent_loop_cf = false;
941 loop_state.first_visit = false;
952 loop_state.divergent_loop_break);
955 loop->divergent = (loop_state
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_cs.c185 struct lp_build_loop_state loop_state[4]; local in function:generate_compute
211 lp_build_loop_begin(&loop_state[3], gallivm,
213 lp_build_loop_begin(&loop_state[2], gallivm,
215 lp_build_loop_begin(&loop_state[1], gallivm,
217 lp_build_loop_begin(&loop_state[0], gallivm,
222 args[1] = loop_state[0].counter;
223 args[2] = loop_state[1].counter;
224 args[3] = loop_state[2].counter;
240 LLVMValueRef coro_hdl_idx = LLVMBuildMul(gallivm->builder, loop_state[2].counter,
243 LLVMBuildMul(gallivm->builder, loop_state[
[all...]
H A Dlp_state_fs.c425 struct lp_build_for_loop_state *loop_state; member in struct:lp_build_fs_llvm_iface
449 return lp_build_interp_soa(interp, bld->gallivm, fs_iface->loop_state->counter,
524 LLVMValueRef counter = fs_iface->loop_state->counter;
528 LLVMBuildAnd(builder, fs_iface->loop_state->counter, lp_build_const_int32(gallivm, 1), ""),
530 counter = LLVMBuildLShr(builder, fs_iface->loop_state->counter, lp_build_const_int32(gallivm, 1), "");
597 struct lp_build_for_loop_state loop_state, sample_loop_state = {0}; local in function:generate_fs_loop
720 lp_build_for_loop_begin(&loop_state, gallivm,
732 s_mask_idx = LLVMBuildAdd(builder, s_mask_idx, loop_state.counter, "");
745 &loop_state.counter, 1, "mask_ptr");
804 s_mask_idx = LLVMBuildAdd(builder, s_mask_idx, loop_state
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h74 struct emulate_loop_state loop_state; member in struct:radeon_compiler
H A Dradeon_emulate_loops.c487 struct emulate_loop_state * s = &c->loop_state;
520 struct emulate_loop_state * s = &c->loop_state;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h74 struct emulate_loop_state loop_state; member in struct:radeon_compiler
H A Dradeon_emulate_loops.c487 struct emulate_loop_state * s = &c->loop_state;
504 struct emulate_loop_state * s = &c->loop_state;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c321 struct lp_build_for_loop_state loop_state; local in function:generate_fs_loop
395 lp_build_for_loop_begin(&loop_state, gallivm,
402 &loop_state.counter, 1, "mask_ptr");
432 lp_build_interp_soa_update_pos_dyn(interp, gallivm, loop_state.counter);
446 &z_fb, &s_fb, loop_state.counter);
462 NULL, NULL, NULL, loop_state.counter,
475 lp_build_interp_soa_update_inputs_dyn(interp, gallivm, loop_state.counter);
571 &z_fb, &s_fb, loop_state.counter);
588 NULL, NULL, NULL, loop_state.counter,
602 &mask, z_fb, s_fb, loop_state
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c3441 struct lp_build_loop_state loop_state[2]; local in function:draw_tcs_llvm_generate
3448 lp_build_loop_begin(&loop_state[1], gallivm,
3450 lp_build_loop_begin(&loop_state[0], gallivm,
3460 args[6] = loop_state[0].counter;
3461 LLVMValueRef coro_entry = LLVMBuildGEP(builder, coro_hdls, &loop_state[0].counter, 1, "");
3465 LLVMValueRef cmp = LLVMBuildICmp(builder, LLVMIntEQ, loop_state[1].counter,
3478 lp_build_loop_force_set_counter(&loop_state[1], lp_build_const_int32(gallivm, end_coroutine - 1));
3484 lp_build_loop_force_reload_counter(&loop_state[1]);
3486 lp_build_loop_end_cond(&loop_state[0],
3489 lp_build_loop_end_cond(&loop_state[
[all...]

Completed in 81 milliseconds