Home
last modified time | relevance | path

Searched refs:gpir_node (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dgpir.h138 struct gpir_node *pred;
140 struct gpir_node *succ;
151 typedef struct gpir_node { struct
188 struct gpir_node *last; argument
194 } gpir_node; typedef
197 gpir_node node;
199 gpir_node *children[3];
207 gpir_node node;
217 gpir_node node;
227 gpir_node node;
[all …]
Dscheduler.c351 static void schedule_update_distance(gpir_node *node) in schedule_update_distance()
359 gpir_node *pred = dep->pred; in schedule_update_distance()
370 static bool gpir_is_input_node(gpir_node *node) in gpir_is_input_node()
382 static int gpir_get_slots_required(gpir_node *node) in gpir_get_slots_required()
399 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in verify_ready_list()
422 gpir_node *insert_node) in schedule_insert_ready_list()
434 gpir_node *succ = dep->succ; in schedule_insert_ready_list()
451 list_for_each_entry(gpir_node, node, &ctx->ready_list, list) { in schedule_insert_ready_list()
465 static int gpir_get_max_start(gpir_node *node) in gpir_get_max_start()
471 gpir_node *succ = dep->succ; in gpir_get_max_start()
[all …]
Dreduce_scheduler.c34 static void schedule_calc_sched_info(gpir_node *node) in schedule_calc_sched_info()
41 gpir_node *pred = dep->pred; in schedule_calc_sched_info()
66 gpir_node *pred = dep->pred; in schedule_calc_sched_info()
105 gpir_node *insert_node) in schedule_insert_ready_list()
109 list_for_each_entry(gpir_node, node, ready_list, list) { in schedule_insert_ready_list()
136 gpir_node *node = list_first_entry(ready_list, gpir_node, list); in schedule_ready_list()
145 gpir_node *pred = dep->pred; in schedule_ready_list()
150 gpir_node *succ = dep->succ; in schedule_ready_list()
173 list_for_each_entry(gpir_node, node, &node_list, list) { in schedule_block()
184 list_for_each_entry_safe(gpir_node, node, &node_list, list) { in schedule_block()
[all …]
Dlower.c34 list_for_each_entry_safe(gpir_node, node, &block->node_list, list) { in gpir_lower_const()
54 list_for_each_entry_safe(gpir_node, node, &block->node_list, list) { in gpir_lower_const()
88 list_for_each_entry_safe(gpir_node, node, &block->node_list, list) { in gpir_lower_load()
94 gpir_node *succ = dep->succ; in gpir_lower_load()
101 gpir_node *new = gpir_node_create(succ->block, node->op); in gpir_lower_load()
124 static bool gpir_lower_neg(gpir_block *block, gpir_node *node) in gpir_lower_neg()
127 gpir_node *child = neg->children[0]; in gpir_lower_neg()
145 gpir_node *succ = dep->succ; in gpir_lower_neg()
172 static bool gpir_lower_complex(gpir_block *block, gpir_node *node) in gpir_lower_complex()
175 gpir_node *child = alu->children[0]; in gpir_lower_complex()
[all …]
Dnode.c313 gpir_node *node = rzalloc_size(block, size); in gpir_node_create()
330 gpir_dep *gpir_node_add_dep(gpir_node *succ, gpir_node *pred, int type) in gpir_node_add_dep()
359 void gpir_node_remove_dep(gpir_node *succ, gpir_node *pred) in gpir_node_remove_dep()
371 void gpir_node_replace_child(gpir_node *parent, gpir_node *old_child, in gpir_node_replace_child()
372 gpir_node *new_child) in gpir_node_replace_child()
392 void gpir_node_replace_pred(gpir_dep *dep, gpir_node *new_pred) in gpir_node_replace_pred()
399 void gpir_node_replace_succ(gpir_node *dst, gpir_node *src) in gpir_node_replace_succ()
410 void gpir_node_insert_child(gpir_node *parent, gpir_node *child, in gpir_node_insert_child()
411 gpir_node *insert_child) in gpir_node_insert_child()
422 void gpir_node_delete(gpir_node *node) in gpir_node_delete()
[all …]
Doptimize.c73 gpir_node *node = list_first_entry(&block->node_list, gpir_node, list); in optimize_branches()
88 gpir_node *prev_block_last = in optimize_branches()
89 list_last_entry(&prev_block->node_list, gpir_node, list); in optimize_branches()
120 list_for_each_entry_rev(gpir_node, node, &block->node_list, list) { in optimize_not()
126 gpir_node *replace = NULL; in optimize_not()
166 list_for_each_entry_safe_rev(gpir_node, node, &block->node_list, list) { in dead_code_eliminate()
183 list_for_each_entry(gpir_node, node, &block->node_list, list) { in dead_code_eliminate()
192 list_for_each_entry_safe(gpir_node, node, &block->node_list, list) { in dead_code_eliminate()
Dinstr.c52 static gpir_node *gpir_instr_get_the_other_acc_node(gpir_instr *instr, int slot) in gpir_instr_get_the_other_acc_node()
62 static bool gpir_instr_check_acc_same_op(gpir_instr *instr, gpir_node *node, int slot) in gpir_instr_check_acc_same_op()
65 gpir_node *acc_node = gpir_instr_get_the_other_acc_node(instr, slot); in gpir_instr_check_acc_same_op()
75 static int gpir_instr_get_consume_slot(gpir_instr *instr, gpir_node *node) in gpir_instr_get_consume_slot()
78 gpir_node *acc_node = gpir_instr_get_the_other_acc_node(instr, node->sched.pos); in gpir_instr_get_consume_slot()
90 static bool gpir_instr_insert_alu_check(gpir_instr *instr, gpir_node *node) in gpir_instr_insert_alu_check()
159 static void gpir_instr_remove_alu(gpir_instr *instr, gpir_node *node) in gpir_instr_remove_alu()
184 static bool gpir_instr_insert_reg0_check(gpir_instr *instr, gpir_node *node) in gpir_instr_insert_reg0_check()
208 static void gpir_instr_remove_reg0(gpir_instr *instr, gpir_node *node) in gpir_instr_remove_reg0()
215 static bool gpir_instr_insert_reg1_check(gpir_instr *instr, gpir_node *node) in gpir_instr_insert_reg1_check()
[all …]
Dnir.c52 static void register_node_ssa(gpir_block *block, gpir_node *node, nir_ssa_def *ssa) in register_node_ssa()
88 static void register_node_reg(gpir_block *block, gpir_node *node, nir_reg_dest *nir_reg) in register_node_reg()
107 static void register_node(gpir_block *block, gpir_node *node, nir_dest *dest) in register_node()
115 static gpir_node *gpir_node_find(gpir_block *block, nir_src *src, in gpir_node_find()
119 gpir_node *pred = NULL; in gpir_node_find()
128 gpir_node *pred = block->comp->node_for_ssa[src->ssa->index]; in gpir_node_find()
183 gpir_node *child = gpir_node_find(block, &instr->src[0].src, in gpir_emit_alu()
208 gpir_node *child = gpir_node_find(block, &src->src, src->swizzle[0]); in gpir_emit_alu()
220 static gpir_node *gpir_create_load(gpir_block *block, nir_dest *dest, in gpir_create_load()
242 gpir_node *node = gpir_create_load(block, dest, gpir_op_load_uniform, in gpir_create_vector_load()
[all …]
Dcodegen.c31 static gpir_codegen_src gpir_get_alu_input(gpir_node *parent, gpir_node *child) in gpir_get_alu_input()
88 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL0]; in gpir_codegen_mul0_slot()
148 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_MUL1]; in gpir_codegen_mul1_slot()
200 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD0]; in gpir_codegen_add0_slot()
285 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_ADD1]; in gpir_codegen_add1_slot()
370 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_COMPLEX]; in gpir_codegen_complex_slot()
415 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_PASS]; in gpir_codegen_pass_slot()
486 static gpir_codegen_store_src gpir_get_store_input(gpir_node *node) in gpir_get_store_input()
505 gpir_node *node = instr->slots[GPIR_INSTR_SLOT_STORE0]; in gpir_codegen_store_slot()
Dregalloc.c67 static void propagate_liveness_instr(gpir_node *node, BITSET_WORD *live, in propagate_liveness_instr()
98 list_for_each_entry_rev(gpir_node, node, &block->node_list, list) { in propagate_liveness_block()
112 list_for_each_entry(gpir_node, node, &block->node_list, list) { in calc_def_block()
248 list_for_each_entry_rev(gpir_node, node, &block->node_list, list) { in calc_interference()
422 list_for_each_entry(gpir_node, node, &block->node_list, list) { in assign_regs()
463 list_for_each_entry(gpir_node, node, &block->node_list, list) { in regalloc_print_result()
467 gpir_node *pred = dep->pred; in regalloc_print_result()