Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Doptimize.c68 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in optimize_branches()
77 gpir_block *target = gpir_node_to_branch(node)->dest; in optimize_branches()
83 gpir_block *prev_block = LIST_ENTRY(gpir_block, block->list.prev, list); in optimize_branches()
95 gpir_block *prev_target = prev_branch->dest; in optimize_branches()
112 block->successors[0] = LIST_ENTRY(gpir_block, block->list.next, list); in optimize_branches()
119 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in optimize_not()
165 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in dead_code_eliminate()
182 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in dead_code_eliminate()
191 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in dead_code_eliminate()
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()
172 static bool gpir_emit_alu(gpir_block *block, nir_instr *ni) in gpir_emit_alu()
220 static gpir_node *gpir_create_load(gpir_block *block, nir_dest *dest, in gpir_create_load()
234 static bool gpir_create_vector_load(gpir_block *block, nir_dest *dest, int index) in gpir_create_vector_load()
254 static bool gpir_emit_intrinsic(gpir_block *block, nir_instr *ni) in gpir_emit_intrinsic()
299 static bool gpir_emit_load_const(gpir_block *block, nir_instr *ni) in gpir_emit_load_const()
316 static bool gpir_emit_ssa_undef(gpir_block *block, nir_instr *ni) in gpir_emit_ssa_undef()
[all …]
Dgpir.h158 struct gpir_block *block;
337 typedef struct gpir_block { struct
343 struct gpir_block *successors[2]; argument
379 } gpir_block; argument
383 gpir_block *dest;
410 gpir_block **blocks;
435 void *gpir_node_create(gpir_block *block, gpir_op op);
471 gpir_instr *gpir_instr_create(gpir_block *block);
Dlower.c33 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_lower_const()
53 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_lower_const()
87 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_lower_load()
124 static bool gpir_lower_neg(gpir_block *block, gpir_node *node) in gpir_lower_neg()
172 static bool gpir_lower_complex(gpir_block *block, gpir_node *node) in gpir_lower_complex()
259 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_lower_node_may_consume_two_slots()
312 static bool gpir_lower_eq_ne(gpir_block *block, gpir_node *node) in gpir_lower_eq_ne()
369 static bool gpir_lower_abs(gpir_block *block, gpir_node *node) in gpir_lower_abs()
388 static bool gpir_lower_not(gpir_block *block, gpir_node *node) in gpir_lower_not()
417 static bool gpir_lower_branch_uncond(gpir_block *block, gpir_node *node) in gpir_lower_branch_uncond()
[all …]
Dreduce_scheduler.c131 static void schedule_ready_list(gpir_block *block, struct list_head *ready_list) in schedule_ready_list()
164 static void schedule_block(gpir_block *block) in schedule_block()
215 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in add_false_dependencies()
237 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_reduce_reg_pressure_schedule_prog()
246 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_reduce_reg_pressure_schedule_prog()
Dregalloc.c87 static bool propagate_liveness_block(gpir_block *block, struct regalloc_ctx *ctx) in propagate_liveness_block()
110 static void calc_def_block(gpir_block *block) in calc_def_block()
125 list_for_each_entry_rev(gpir_block, block, &ctx->comp->block_list, list) { in calc_liveness()
130 list_for_each_entry(gpir_block, block, &ctx->comp->block_list, list) { in calc_liveness()
137 list_for_each_entry(gpir_block, block, &ctx->comp->block_list, list) { in calc_liveness()
139 gpir_block *succ = block->successors[i]; in calc_liveness()
227 list_for_each_entry(gpir_block, block, &ctx->comp->block_list, list) { in calc_interference()
421 list_for_each_entry(gpir_block, block, &ctx->comp->block_list, list) { in assign_regs()
462 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in regalloc_print_result()
503 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_regalloc_prog()
Dnode.c301 void *gpir_node_create(gpir_block *block, gpir_op op) in gpir_node_create()
468 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_node_print_prog_dep()
475 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_node_print_prog_dep()
491 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_node_print_prog_seq()
Dscheduler.c202 gpir_block *block;
1575 static bool schedule_block(gpir_block *block) in schedule_block()
1638 static void schedule_build_dependency(gpir_block *block) in schedule_build_dependency()
1692 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in print_statistic()
1737 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_schedule_prog()
1757 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_schedule_prog()
1764 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_schedule_prog()
Dinstr.c31 gpir_instr *gpir_instr_create(gpir_block *block) in gpir_instr_create()
558 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_instr_print_prog()
Dcodegen.c582 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_codegen_prog()
594 list_for_each_entry(gpir_block, block, &comp->block_list, list) { in gpir_codegen_prog()