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

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/
H A 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 *
[all...]
H A Dsb_peephole.cpp69 alu_node *a = static_cast<alu_node*>(n);
83 alu_node *s = a;
93 void peephole::optimize_cc_op(alu_node* a) {
103 void peephole::convert_float_setcc(alu_node *f2i, alu_node *s) {
104 alu_node *ns = sh.clone(s);
113 void peephole::optimize_cc_op2(alu_node* a) {
211 void peephole::optimize_CNDcc_op(alu_node* a) {
236 alu_node *
[all...]
H A 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]; }
246 alu_node* create_ar_loa
[all...]
H A Dsb_ir.cpp36 bool alu_node::accept(vpass& p, bool enter) { return p.visit(*this, enter); }
55 alu_node *p = static_cast<alu_node*>(first);
60 p = static_cast<alu_node*>(p->next);
305 bool alu_node::fold_dispatch(expr_handler* ex) { return ex->fold(*this); }
313 mask |= 1 << static_cast<alu_node*>(*I)->bc.slot;
323 alu_node *c = static_cast<alu_node*>(first);
353 alu_node *n = static_cast<alu_node*>(*
[all...]
H A Dsb_if_conversion.cpp67 alu_node *a = static_cast<alu_node*>(*I);
185 alu_node *ns = convert_phi(select, n);
228 alu_node *predset = static_cast<alu_node*>(em->def);
237 alu_node *newpredset = sh.clone(predset);
276 alu_node* if_conversion::convert_phi(value* select, node* phi) {
297 alu_node* n = sh.create_alu();
H A Dsb_psi_ops.cpp33 bool r600_sb::psi_ops::visit(alu_node& n, bool enter) {
134 alu_node *a = static_cast<alu_node*>(n);
162 alu_node *a = sh.create_alu();
H A 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);
H A 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 *
[all...]
H A Dsb_gvn.cpp95 bool gvn::visit(alu_node& n, bool enter) {
163 alu_node *a = static_cast<alu_node*>(&n);
H A Dsb_sched.cpp117 bool literal_tracker::try_reserve(alu_node* n) {
145 void literal_tracker::unreserve(alu_node* n) {
230 void rp_gpr_tracker::unreserve(alu_node* n) {
258 bool rp_gpr_tracker::try_reserve(alu_node* n) {
329 void alu_group_tracker::assign_slot(unsigned slot, alu_node* n) {
405 alu_node *t = slots[4];
431 alu_node *n = slots[i];
439 bool alu_group_tracker::try_reserve(alu_node* n) {
524 alu_node *a = slots[i];
557 alu_node *
[all...]
H A Dsb_expr.cpp41 alu_node *s = sh.clone(static_cast<alu_node*>(predset));
52 void convert_to_mov(alu_node &n, value *src, bool neg, bool abs) {
119 static_cast<alu_node*>(d1),
120 static_cast<alu_node*>(d2));
188 bool expr_handler::fold_setcc(alu_node &n) {
292 bool expr_handler::fold(alu_node& n) {
357 bool expr_handler::ops_equal(const alu_node *l, const alu_node* r) {
382 bool expr_handler::fold_alu_op1(alu_node
[all...]
H A Dsb_shader.cpp45 bool shader::assign_slot(alu_node* n, alu_node *slots[5]) {
110 alu_node* shader::create_mov(value* dst, value* src) {
111 alu_node *n = create_alu();
120 alu_node* shader::create_copy_mov(value* dst, value* src, unsigned affcost) {
121 alu_node *n = create_mov(dst, src);
263 alu_node* shader::create_alu() {
264 alu_node* n = new (pool.allocate(sizeof(alu_node))) alu_node();
[all...]
H A Dsb_pass.cpp76 bool vpass::visit(alu_node& n, bool enter) { return true; }
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/
H A 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 *
[all...]
H A Dsb_peephole.cpp69 alu_node *a = static_cast<alu_node*>(n);
83 alu_node *s = a;
93 void peephole::optimize_cc_op(alu_node* a) {
103 void peephole::convert_float_setcc(alu_node *f2i, alu_node *s) {
104 alu_node *ns = sh.clone(s);
113 void peephole::optimize_cc_op2(alu_node* a) {
211 void peephole::optimize_CNDcc_op(alu_node* a) {
236 alu_node *
[all...]
H A 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]; }
246 alu_node* create_ar_loa
[all...]
H A Dsb_ir.cpp36 bool alu_node::accept(vpass& p, bool enter) { return p.visit(*this, enter); }
55 alu_node *p = static_cast<alu_node*>(first);
60 p = static_cast<alu_node*>(p->next);
305 bool alu_node::fold_dispatch(expr_handler* ex) { return ex->fold(*this); }
313 mask |= 1 << static_cast<alu_node*>(*I)->bc.slot;
323 alu_node *c = static_cast<alu_node*>(first);
353 alu_node *n = static_cast<alu_node*>(*
[all...]
H A Dsb_if_conversion.cpp67 alu_node *a = static_cast<alu_node*>(*I);
185 alu_node *ns = convert_phi(select, n);
228 alu_node *predset = static_cast<alu_node*>(em->def);
237 alu_node *newpredset = sh.clone(predset);
276 alu_node* if_conversion::convert_phi(value* select, node* phi) {
297 alu_node* n = sh.create_alu();
H A Dsb_psi_ops.cpp33 bool r600_sb::psi_ops::visit(alu_node& n, bool enter) {
134 alu_node *a = static_cast<alu_node*>(n);
162 alu_node *a = sh.create_alu();
H A 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);
H A 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 *
[all...]
H A Dsb_gvn.cpp95 bool gvn::visit(alu_node& n, bool enter) {
163 alu_node *a = static_cast<alu_node*>(&n);
H A Dsb_sched.cpp117 bool literal_tracker::try_reserve(alu_node* n) {
145 void literal_tracker::unreserve(alu_node* n) {
230 void rp_gpr_tracker::unreserve(alu_node* n) {
258 bool rp_gpr_tracker::try_reserve(alu_node* n) {
329 void alu_group_tracker::assign_slot(unsigned slot, alu_node* n) {
405 alu_node *t = slots[4];
431 alu_node *n = slots[i];
439 bool alu_group_tracker::try_reserve(alu_node* n) {
524 alu_node *a = slots[i];
557 alu_node *
[all...]
H A Dsb_expr.cpp41 alu_node *s = sh.clone(static_cast<alu_node*>(predset));
52 void convert_to_mov(alu_node &n, value *src, bool neg, bool abs) {
119 static_cast<alu_node*>(d1),
120 static_cast<alu_node*>(d2));
188 bool expr_handler::fold_setcc(alu_node &n) {
292 bool expr_handler::fold(alu_node& n) {
357 bool expr_handler::ops_equal(const alu_node *l, const alu_node* r) {
382 bool expr_handler::fold_alu_op1(alu_node
[all...]
H A Dsb_shader.cpp45 bool shader::assign_slot(alu_node* n, alu_node *slots[5]) {
110 alu_node* shader::create_mov(value* dst, value* src) {
111 alu_node *n = create_alu();
120 alu_node* shader::create_copy_mov(value* dst, value* src, unsigned affcost) {
121 alu_node *n = create_mov(dst, src);
263 alu_node* shader::create_alu() {
264 alu_node* n = new (pool.allocate(sizeof(alu_node))) alu_node();
[all...]

Completed in 22 milliseconds

123