Home
last modified time | relevance | path

Searched refs:sel_chan (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_sched.h45 unsigned kc_sel(sel_chan r) { in kc_sel()
56 bool try_reserve(sel_chan r);
57 void unreserve(sel_chan r);
154 sel_chan get_value_id(value *v);
262 typedef std::map<sel_chan, value*> rv_map;
319 void set_color_local_val(value *v, sel_chan color);
320 void set_color_local(value *v, sel_chan color);
Dsb_ra_init.cpp73 sel_chan find_free_bit();
74 sel_chan find_free_chans(unsigned mask);
75 sel_chan find_free_chan_by_mask(unsigned mask);
76 sel_chan find_free_array(unsigned size, unsigned mask);
149 sel_chan regbits::find_free_bit() { in find_free_bit()
167 sel_chan regbits::find_free_array(unsigned length, unsigned mask) { in find_free_array()
176 return sel_chan(a - length + 1, c); in find_free_array()
186 sel_chan regbits::find_free_chans(unsigned mask) { in find_free_chans()
221 sel_chan regbits::find_free_chan_by_mask(unsigned mask) { in find_free_chan_by_mask()
302 sel_chan base = rb.find_free_array(a->array_size, in alloc_arrays()
[all …]
Dsb_ir.h55 struct sel_chan struct
59 sel_chan(unsigned id = 0) : id(id) {} in id() argument
60 sel_chan(unsigned sel, unsigned chan) : id(((sel << 2) | chan) + 1) {} in sel_chan() function
69 sel_chan(unsigned bank, unsigned index, in sel_chan() argument
71 : id(sel_chan((bank << 12) | index | ((unsigned)index_mode << 28), chan).id) {} in sel_chan()
77 inline sb_ostream& operator <<(sb_ostream& o, sel_chan r) { argument
295 value* create(value_kind k, sel_chan regid, unsigned ver);
384 sel_chan base_gpr; // original gpr
385 sel_chan gpr; // assigned by regalloc
388 gpr_array(sel_chan base_gpr, unsigned array_size) : base_gpr(base_gpr), in gpr_array()
[all …]
Dsb_shader.h105 sel_chan pin;
242 void color_chunk(ra_chunk *c, sel_chan color);
409 value* create_value(value_kind k, sel_chan regid, unsigned ver);
410 value* get_value(value_kind kind, sel_chan id,
Dsb_ra_coalesce.cpp86 c1->pin = sel_chan(c1->pin.sel(), c2->pin.chan()); in unify_chunks()
91 c1->pin = sel_chan(c2->pin.sel(), c1->pin.chan()); in unify_chunks()
320 unsigned bit = sel_chan(reg, chan); in color_chunks()
361 void coalescer::color_chunk(ra_chunk *c, sel_chan color) { in color_chunk()
548 unsigned bit = sel_chan(reg, swz[i]); in color_reg_constraint()
584 sel_chan color(min_reg, min_swz[i]); in color_reg_constraint()
Dsb_shader.cpp132 value* shader::get_value(value_kind kind, sel_chan id, in get_value()
149 sel_chan id(sv_id, 0); in get_special_value()
164 sel_chan id(reg, chan); in get_gpr_value()
188 sel_chan id(++next_temp_value_index, 0); in create_temp_value()
194 sel_chan(bank, index, chan, index_mode)); in get_kcache_value()
246 value* shader::create_value(value_kind k, sel_chan regid, unsigned ver) { in create_value()
397 sel_chan(gpr_start, chan), gpr_count); in add_gpr_array()
Dsb_bc_finalize.cpp318 sel_chan fdst = d ? d->get_final_gpr() : sel_chan(0, 0); in finalize_alu_group()
378 sel_chan sc; in finalize_alu_src()
381 sel_chan gpr; in finalize_alu_src()
440 sel_chan k = translate_kcache(clause, v); in finalize_alu_src()
849 sel_chan bc_finalizer::translate_kcache(cf_node* alu, value* v) { in translate_kcache()
870 return sel_chan(sel, chan); in translate_kcache()
Dsb_sched.cpp50 bool rp_kcache_tracker::try_reserve(sel_chan r) { in try_reserve()
104 void rp_kcache_tracker::unreserve(sel_chan r) { in unreserve()
321 sel_chan alu_group_tracker::get_value_id(value* v) { in get_value_id()
325 return sel_chan(id, v->get_final_chan()); in get_value_id()
475 sel_chan vid = get_value_id(n->src[i]); in try_reserve()
833 sel_chan r = v->gpr; in init_regmap()
1218 sel_chan gpr = vi->get_final_gpr(); in add_interferences()
1237 void post_scheduler::set_color_local_val(value *v, sel_chan color) { in set_color_local_val()
1247 void post_scheduler::set_color_local(value *v, sel_chan color) { in set_color_local()
1323 set_color_local(v, sel_chan(reg, chan)); in recolor_local()
[all …]
Dsb_pass.h458 typedef std::map<sel_chan, value *> reg_value_map;
556 void assign_color(value *v, sel_chan c);
717 sel_chan translate_kcache(cf_node *alu, value *v);
Dsb_valtable.cpp118 sel_chan g; in operator <<()
330 value* sb_value_pool::create(value_kind k, sel_chan regid, in create()
Dsb_ra_checker.cpp93 sel_chan gpr = v->gpr; in check_value_gpr()
Dsb_bc_parser.cpp521 n->src[s] = sh->get_special_ro_value(sel_chan(src.sel, in prepare_alu_group()