Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_expr.h38 void convert_predset_to_set(shader &sh, alu_node *a);
45 void convert_to_mov(alu_node &n, value *src,
60 bool ops_equal(const alu_node *l, const alu_node *r);
70 bool fold(alu_node &n);
74 bool fold_setcc(alu_node &n);
76 bool fold_alu_op1(alu_node &n);
77 bool fold_alu_op2(alu_node &n);
78 bool fold_alu_op3(alu_node &n);
80 bool fold_mul_add(alu_node *n);
82 bool fold_assoc(alu_node *n);
Dsb_peephole.cpp69 alu_node *a = static_cast<alu_node*>(n); in run_on()
83 alu_node *s = a; in run_on()
93 void peephole::optimize_cc_op(alu_node* a) { in optimize_cc_op()
103 void peephole::convert_float_setcc(alu_node *f2i, alu_node *s) { in convert_float_setcc()
104 alu_node *ns = sh.clone(s); in convert_float_setcc()
113 void peephole::optimize_cc_op2(alu_node* a) { in optimize_cc_op2()
211 void peephole::optimize_CNDcc_op(alu_node* a) { in optimize_CNDcc_op()
236 alu_node *d = bop.n; in optimize_CNDcc_op()
300 bool peephole::get_bool_flt_to_int_source(alu_node* &a) { in get_bool_flt_to_int_source()
311 alu_node *dn = static_cast<alu_node*>(s->def); in get_bool_flt_to_int_source()
[all …]
Dsb_ir.cpp36 bool alu_node::accept(vpass& p, bool enter) { return p.visit(*this, enter); } in accept()
55 alu_node *p = static_cast<alu_node*>(first); in init_args()
60 p = static_cast<alu_node*>(p->next); in init_args()
305 bool alu_node::fold_dispatch(expr_handler* ex) { return ex->fold(*this); } in fold_dispatch()
313 mask |= 1 << static_cast<alu_node*>(*I)->bc.slot; in get_slot_mask()
323 alu_node *c = static_cast<alu_node*>(first); in update_packed_items()
353 alu_node *n = static_cast<alu_node*>(*I); in update_packed_items()
377 alu_node *c = static_cast<alu_node*>(this); in is_alu_op()
393 alu_node *a = static_cast<alu_node*>(this); in is_mova()
400 alu_node *a = static_cast<alu_node*>(this); in is_pred_set()
[all …]
Dsb_sched.h73 bool try_reserve(alu_node *n);
74 void unreserve(alu_node *n);
95 bool try_reserve(alu_node *n);
96 void unreserve(alu_node *n);
114 alu_node * slots[5];
142 void assign_slot(unsigned slot, alu_node *n);
148 bool try_reserve(alu_node *n);
155 void update_flags(alu_node *n);
157 alu_node* slot(unsigned i) { return slots[i]; } in slot()
246 alu_node* create_ar_load(value *v, chan_select ar_channel);
[all …]
Dsb_pass.h63 virtual bool visit(alu_node &n, bool enter);
108 virtual bool visit(alu_node &n, bool enter);
114 void dump(alu_node& n);
134 virtual bool visit(alu_node &n, bool enter);
181 virtual bool visit(alu_node &n, bool enter);
203 static void dump_alu(alu_node *n);
323 virtual bool visit(alu_node &n, bool enter);
355 alu_node* convert_phi(value *select, node *phi);
377 virtual bool visit(alu_node &n, bool enter);
410 alu_node *n;
[all …]
Dsb_if_conversion.cpp70 alu_node *a = static_cast<alu_node*>(*I); in convert_kill_instructions()
188 alu_node *ns = convert_phi(select, n); in check_and_convert()
231 alu_node *predset = static_cast<alu_node*>(em->def); in run_on()
240 alu_node *newpredset = sh.clone(predset); in run_on()
279 alu_node* if_conversion::convert_phi(value* select, node* phi) { in convert_phi()
300 alu_node* n = sh.create_alu(); in convert_phi()
Dsb_expr.cpp41 alu_node *s = sh.clone(static_cast<alu_node*>(predset)); in get_select_value_for_em()
52 void convert_to_mov(alu_node &n, value *src, bool neg, bool abs) { in convert_to_mov()
119 static_cast<alu_node*>(d1), in defs_equal()
120 static_cast<alu_node*>(d2)); in defs_equal()
188 bool expr_handler::fold_setcc(alu_node &n) { in fold_setcc()
292 bool expr_handler::fold(alu_node& n) { in fold()
357 bool expr_handler::ops_equal(const alu_node *l, const alu_node* r) { in ops_equal()
382 bool expr_handler::fold_alu_op1(alu_node& n) { in fold_alu_op1()
402 alu_node *sd = static_cast<alu_node*>(v0->def); in fold_alu_op1()
476 bool expr_handler::fold_mul_add(alu_node *n) { in fold_mul_add()
[all …]
Dsb_sched.cpp117 bool literal_tracker::try_reserve(alu_node* n) { in try_reserve()
145 void literal_tracker::unreserve(alu_node* n) { in unreserve()
230 void rp_gpr_tracker::unreserve(alu_node* n) { in unreserve()
258 bool rp_gpr_tracker::try_reserve(alu_node* n) { in try_reserve()
329 void alu_group_tracker::assign_slot(unsigned slot, alu_node* n) { in assign_slot()
405 alu_node *t = slots[4]; in discard_slots()
431 alu_node *n = slots[i]; in emit()
439 bool alu_group_tracker::try_reserve(alu_node* n) { in try_reserve()
524 alu_node *a = slots[i]; in try_reserve()
557 alu_node *a = slots[i]; in try_reserve()
[all …]
Dsb_shader.cpp45 bool shader::assign_slot(alu_node* n, alu_node *slots[5]) { in assign_slot()
110 alu_node* shader::create_mov(value* dst, value* src) { in create_mov()
111 alu_node *n = create_alu(); in create_mov()
120 alu_node* shader::create_copy_mov(value* dst, value* src, unsigned affcost) { in create_copy_mov()
121 alu_node *n = create_mov(dst, src); in create_copy_mov()
263 alu_node* shader::create_alu() { in create_alu()
264 alu_node* n = new (pool.allocate(sizeof(alu_node))) alu_node(); in create_alu()
481 alu_node* shader::clone(alu_node* n) { in clone()
482 alu_node *c = create_alu(); in clone()
Dsb_shader.h339 bool assign_slot(alu_node *n, alu_node *slots[5]);
357 alu_node* create_alu();
379 alu_node* create_mov(value* dst, value* src);
380 alu_node* create_copy_mov(value *dst, value *src, unsigned affcost = 1);
402 alu_node* clone(alu_node *n);
Dsb_psi_ops.cpp33 bool r600_sb::psi_ops::visit(alu_node& n, bool enter) { in visit()
134 alu_node *a = static_cast<alu_node*>(n); in unpredicate()
162 alu_node *a = sh.create_alu(); in eliminate()
Dsb_bc_parser.cpp266 alu_node *n; in decode_alu_group()
294 n = static_cast<alu_node*>(*I); in decode_alu_group()
350 void bc_parser::save_mova(alu_node *mova) in save_mova()
355 alu_node *bc_parser::get_mova() in get_mova()
363 alu_node *n; in prepare_alu_group()
370 n = static_cast<alu_node*>(*I); in prepare_alu_group()
480 alu_node *prev_alu = slots[pgroup][prev_slot]; in prepare_alu_group()
581 alu_node *a = static_cast<alu_node*>(*I); in prepare_alu_group()
603 alu_node *f = static_cast<alu_node*>(p->first); in prepare_alu_group()
604 alu_node *a = sh->create_alu(); in prepare_alu_group()
Dsb_gvn.cpp95 bool gvn::visit(alu_node& n, bool enter) { in visit()
163 alu_node *a = static_cast<alu_node*>(&n); in process_alu_src_constants()
Dsb_dump.cpp151 bool dump::visit(alu_node& n, bool enter) { in visit()
338 alu_node &a = static_cast<alu_node&>(n); in dump_op()
400 void dump::dump_alu(alu_node *n) { in dump_alu()
463 dump_alu(static_cast<alu_node*>(n)); in dump_op()
Dsb_bc_finalize.cpp44 alu_node *a = sh.create_alu(); in insert_rv6xx_load_ar_workaround()
83 alu_node *a = sh.create_alu(); in run()
301 alu_node *last = NULL; in finalize_alu_group()
309 alu_node *n = static_cast<alu_node*>(*I); in finalize_alu_group()
362 bool bc_finalizer::finalize_alu_src(alu_group_node* g, alu_node* a, alu_group_node *prev) { in finalize_alu_src()
393 alu_node *pn = static_cast<alu_node*>(*pI); in finalize_alu_src()
471 alu_node *pn = static_cast<alu_node*>(*pI); in finalize_alu_src()
Dsb_bc.h45 class alu_node; variable
834 alu_node *slots[2][5];
847 alu_node *mova;
884 void save_mova(alu_node *mova);
885 alu_node *get_mova();
978 int build_alu(alu_node *n);
Dsb_ssa_builder.cpp73 bool ssa_prepare::visit(alu_node& n, bool enter) { in visit()
163 bool ssa_rename::visit(alu_node& n, bool enter) { in visit()
309 alu_node *an = static_cast<alu_node*>(n); in rename_use()
Dsb_ra_checker.cpp212 alu_node *a = static_cast<alu_node*>(*I); in check_alu_group()
Dsb_pass.cpp76 bool vpass::visit(alu_node& n, bool enter) { return true; } in visit()
Dsb_dce_cleanup.cpp78 bool dce_cleanup::visit(alu_node& n, bool enter) { in visit()
Dsb_ir.h1003 class alu_node : public node {
1005 alu_node() : node(NT_OP, NST_ALU_INST) { memset(&bc, 0, sizeof(bc_alu)); }; in alu_node() function
1034 return static_cast<alu_node*>(first)->bc.op_ptr; in op_ptr()
1036 unsigned op() { return static_cast<alu_node*>(first)->bc.op; } in op()
Dsb_bc_dump.cpp67 bool bc_dump::visit(alu_node& n, bool enter) { in visit()
349 void bc_dump::dump(alu_node& n) { in dump()
Dsb_bc_builder.cpp112 alu_node *a = static_cast<alu_node*>(*I); in build_alu_group()
372 int bc_builder::build_alu(alu_node* n) { in build_alu()
Dsb_gcm.cpp643 alu_node *a = static_cast<alu_node*>(n); in add_ready()
Dsb_liveness.cpp82 bool liveness::visit(alu_node& n, bool enter) { in visit()