Home
last modified time | relevance | path

Searched refs:ppir_instr (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dscheduler.c30 static void ppir_schedule_calc_sched_info(ppir_instr *instr) in ppir_schedule_calc_sched_info()
37 ppir_instr *pred = dep->pred; in ppir_schedule_calc_sched_info()
60 ppir_instr *pred = dep->pred; in ppir_schedule_calc_sched_info()
99 ppir_instr *insert_instr) in ppir_insert_ready_list()
103 list_for_each_entry(ppir_instr, instr, ready_list, list) { in ppir_insert_ready_list()
124 ppir_instr *instr = list_first_entry(ready_list, ppir_instr, list); in ppir_schedule_ready_list()
134 ppir_instr *pred = dep->pred; in ppir_schedule_ready_list()
139 ppir_instr *succ = dep->succ; in ppir_schedule_ready_list()
166 list_for_each_entry(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block()
179 list_for_each_entry_safe(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block()
Dinstr.c29 ppir_instr *ppir_instr_create(ppir_block *block) in ppir_instr_create()
31 ppir_instr *instr = rzalloc(block, ppir_instr); in ppir_instr_create()
45 void ppir_instr_add_dep(ppir_instr *succ, ppir_instr *pred) in ppir_instr_add_dep()
62 ppir_instr *instr = add->instr; in ppir_instr_insert_mul_node()
153 static void ppir_instr_update_src_pipeline(ppir_instr *instr, ppir_pipeline pipeline, in ppir_instr_update_src_pipeline()
177 bool ppir_instr_insert_node(ppir_instr *instr, ppir_node *node) in ppir_instr_insert_node()
286 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_list()
308 static void ppir_instr_print_sub(ppir_instr *instr) in ppir_instr_print_sub()
331 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_dep()
339 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_dep()
Dliveness.c61 ppir_liveness_instr_srcs(ppir_compiler *comp, ppir_instr *instr) in ppir_liveness_instr_srcs()
124 ppir_liveness_instr_dest(ppir_compiler *comp, ppir_instr *instr) in ppir_liveness_instr_dest()
190 ppir_instr *last = list_last_entry(&block->instr_list, ppir_instr, list); in ppir_liveness_compute_live_sets()
193 list_for_each_entry_rev(ppir_instr, instr, &block->instr_list, list) { in ppir_liveness_compute_live_sets()
204 ppir_instr *next_instr; in ppir_liveness_compute_live_sets()
218 next_instr = list_first_entry(&succ->instr_list, ppir_instr, list); in ppir_liveness_compute_live_sets()
227 ppir_instr *next_instr = LIST_ENTRY(ppir_instr, instr->list.next, list); in ppir_liveness_compute_live_sets()
Dppir.h161 struct ppir_instr *instr;
303 typedef struct ppir_instr { struct
329 } ppir_instr; argument
657 ppir_instr *ppir_instr_create(ppir_block *block);
658 bool ppir_instr_insert_node(ppir_instr *instr, ppir_node *node);
659 void ppir_instr_add_dep(ppir_instr *succ, ppir_instr *pred);
673 static inline bool ppir_instr_is_root(ppir_instr *instr) in ppir_instr_is_root()
678 static inline bool ppir_instr_is_leaf(ppir_instr *instr) in ppir_instr_is_leaf()
Dregalloc.c109 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_print_result()
138 static bool create_new_instr_after(ppir_block *block, ppir_instr *ref, in create_new_instr_after()
141 ppir_instr *newinstr = ppir_instr_create(block); in create_new_instr_after()
151 list_for_each_entry_from(ppir_instr, instr, ref, &block->instr_list, list) { in create_new_instr_after()
159 static bool create_new_instr_before(ppir_block *block, ppir_instr *ref, in create_new_instr_before()
162 ppir_instr *newinstr = ppir_instr_create(block); in create_new_instr_before()
172 list_for_each_entry_from(ppir_instr, instr, ref, &block->instr_list, list) { in create_new_instr_before()
428 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_choose_spill_node()
495 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_reset_liveness_info()
545 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_prog_try()
Dcodegen.c589 ppir_instr *target_instr; in ppir_codegen_encode_branch()
628 target_instr = list_first_entry(&target->instr_list, ppir_instr, list); in ppir_codegen_encode_branch()
658 static int get_instr_encode_size(ppir_instr *instr) in get_instr_encode_size()
705 static int encode_instr(ppir_instr *instr, void *code, void *last_code) in encode_instr()
772 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_print_prog()
793 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_prog()
806 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_prog()
Dnode_to_instr.c30 ppir_instr *instr = ppir_instr_create(block); in create_new_instr()
323 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_build_instr_dependency()