/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_expr.h | 38 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);
|
D | sb_peephole.cpp | 69 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 …]
|
D | sb_ir.cpp | 36 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 …]
|
D | sb_sched.h | 73 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 …]
|
D | sb_pass.h | 63 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 …]
|
D | sb_if_conversion.cpp | 67 alu_node *a = static_cast<alu_node*>(*I); in convert_kill_instructions() 185 alu_node *ns = convert_phi(select, n); in check_and_convert() 228 alu_node *predset = static_cast<alu_node*>(em->def); in run_on() 237 alu_node *newpredset = sh.clone(predset); in run_on() 276 alu_node* if_conversion::convert_phi(value* select, node* phi) { in convert_phi() 297 alu_node* n = sh.create_alu(); in convert_phi()
|
D | sb_expr.cpp | 41 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() 477 bool expr_handler::fold_mul_add(alu_node *n) { in fold_mul_add() [all …]
|
D | sb_sched.cpp | 117 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 …]
|
D | sb_shader.cpp | 45 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()
|
D | sb_shader.h | 339 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);
|
D | sb_psi_ops.cpp | 33 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()
|
D | sb_gvn.cpp | 95 bool gvn::visit(alu_node& n, bool enter) { in visit() 163 alu_node *a = static_cast<alu_node*>(&n); in process_alu_src_constants()
|
D | sb_bc_parser.cpp | 271 alu_node *n; in decode_alu_group() 299 n = static_cast<alu_node*>(*I); in decode_alu_group() 355 void bc_parser::save_mova(alu_node *mova) in save_mova() 360 alu_node *bc_parser::get_mova() in get_mova() 368 alu_node *n; in prepare_alu_group() 375 n = static_cast<alu_node*>(*I); in prepare_alu_group() 488 alu_node *prev_alu = slots[pgroup][prev_slot]; in prepare_alu_group() 589 alu_node *a = static_cast<alu_node*>(*I); in prepare_alu_group() 615 alu_node *f = static_cast<alu_node*>(p->first); in prepare_alu_group() 616 alu_node *a = sh->create_alu(); in prepare_alu_group()
|
D | sb_bc_finalize.cpp | 44 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()
|
D | sb_dump.cpp | 151 bool dump::visit(alu_node& n, bool enter) { in visit() 338 alu_node &a = static_cast<alu_node&>(n); in dump_op() 407 void dump::dump_alu(alu_node *n) { in dump_alu() 470 dump_alu(static_cast<alu_node*>(n)); in dump_op()
|
D | sb_bc.h | 45 class alu_node; variable 882 alu_node *slots[2][5]; 895 alu_node *mova; 932 void save_mova(alu_node *mova); 933 alu_node *get_mova(); 1026 int build_alu(alu_node *n);
|
D | sb_ssa_builder.cpp | 73 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()
|
D | sb_ra_checker.cpp | 212 alu_node *a = static_cast<alu_node*>(*I); in check_alu_group()
|
D | sb_pass.cpp | 76 bool vpass::visit(alu_node& n, bool enter) { return true; } in visit()
|
D | sb_dce_cleanup.cpp | 78 bool dce_cleanup::visit(alu_node& n, bool enter) { in visit()
|
D | sb_ir.h | 1014 class alu_node : public node { 1016 alu_node() : node(NT_OP, NST_ALU_INST) { } in alu_node() function 1046 return static_cast<alu_node*>(first)->bc.op_ptr; in op_ptr() 1048 unsigned op() { return static_cast<alu_node*>(first)->bc.op; } in op()
|
D | sb_bc_dump.cpp | 67 bool bc_dump::visit(alu_node& n, bool enter) { in visit() 375 void bc_dump::dump(alu_node& n) { in dump()
|
D | sb_bc_builder.cpp | 112 alu_node *a = static_cast<alu_node*>(*I); in build_alu_group() 374 int bc_builder::build_alu(alu_node* n) { in build_alu()
|
D | sb_gcm.cpp | 643 alu_node *a = static_cast<alu_node*>(n); in add_ready()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | nir.c | 268 ppir_alu_node *alu_node; in ppir_emit_intrinsic() local 361 alu_node = ppir_node_create_dest(block, ppir_op_mov, NULL, 0); in ppir_emit_intrinsic() 362 if (!alu_node) in ppir_emit_intrinsic() 365 ppir_dest *dest = ppir_node_get_dest(&alu_node->node); in ppir_emit_intrinsic() 371 alu_node->num_src = 1; in ppir_emit_intrinsic() 374 alu_node->src[0].swizzle[i] = i; in ppir_emit_intrinsic() 376 ppir_node_add_src(block->comp, &alu_node->node, alu_node->src, instr->src, in ppir_emit_intrinsic() 379 alu_node->node.is_end = 1; in ppir_emit_intrinsic() 381 list_addtail(&alu_node->node.list, &block->node_list); in ppir_emit_intrinsic()
|