/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow.h | 35 struct rc_instruction; 48 typedef void (*rc_read_write_chan_fn)(void * userdata, struct rc_instruction * inst, 50 void rc_for_all_reads_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata); 51 void rc_for_all_writes_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata… 53 typedef void (*rc_read_write_mask_fn)(void * userdata, struct rc_instruction * inst, 55 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata); 56 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata… 58 typedef void (*rc_read_src_fn)(void * userdata, struct rc_instruction * inst, 60 void rc_for_all_reads_src(struct rc_instruction * inst, rc_read_src_fn cb, 64 struct rc_instruction * inst, struct rc_pair_instruction_arg * arg, [all …]
|
D | radeon_program.h | 133 struct rc_instruction { struct 134 struct rc_instruction * Prev; argument 135 struct rc_instruction * Next; argument 156 struct rc_instruction Instructions; argument 181 struct rc_instruction*, 203 struct rc_instruction *rc_alloc_instruction(struct radeon_compiler * c); 204 struct rc_instruction *rc_insert_new_instruction(struct radeon_compiler * c, struct rc_instruction … 205 void rc_insert_instruction(struct rc_instruction * after, struct rc_instruction * inst); 206 void rc_remove_instruction(struct rc_instruction * inst);
|
D | radeon_program.c | 57 struct rc_instruction * inst = c->Program.Instructions.Next; in rc_local_transform() 60 struct rc_instruction * current = inst; in rc_local_transform() 81 struct rc_instruction * inst, in get_used_temporaries_cb() 109 struct rc_instruction * inst; in rc_get_used_temporaries() 169 struct rc_instruction *rc_alloc_instruction(struct radeon_compiler * c) in rc_alloc_instruction() 171 struct rc_instruction * inst = memory_pool_malloc(&c->Pool, sizeof(struct rc_instruction)); in rc_alloc_instruction() 173 memset(inst, 0, sizeof(struct rc_instruction)); in rc_alloc_instruction() 184 void rc_insert_instruction(struct rc_instruction * after, struct rc_instruction * inst) in rc_insert_instruction() 193 struct rc_instruction *rc_insert_new_instruction(struct radeon_compiler * c, struct rc_instruction … in rc_insert_new_instruction() 195 struct rc_instruction * inst = rc_alloc_instruction(c); in rc_insert_new_instruction() [all …]
|
D | radeon_compiler_util.h | 9 struct rc_instruction; 39 struct rc_instruction * inst, 63 struct rc_instruction * inst, 75 struct rc_instruction * inst, 80 rc_opcode rc_get_flow_control_inst(struct rc_instruction * inst); 82 struct rc_instruction * rc_match_endloop(struct rc_instruction * endloop); 83 struct rc_instruction * rc_match_bgnloop(struct rc_instruction * bgnloop);
|
D | radeon_emulate_loops.h | 11 struct rc_instruction * BeginLoop; 12 struct rc_instruction * Cond; 13 struct rc_instruction * If; 14 struct rc_instruction * Brk; 15 struct rc_instruction * EndIf; 16 struct rc_instruction * EndLoop;
|
D | radeon_program_alu.h | 35 struct rc_instruction * inst, 40 struct rc_instruction * inst, 45 struct rc_instruction * inst, 50 struct rc_instruction * inst, 55 struct rc_instruction *inst, 60 struct rc_instruction * inst,
|
D | radeon_emulate_branches.c | 45 struct rc_instruction * If; 46 struct rc_instruction * Else; 58 static void handle_if(struct emulate_branch_state * s, struct rc_instruction * inst) in handle_if() 61 struct rc_instruction * inst_mov; in handle_if() 88 static void handle_else(struct emulate_branch_state * s, struct rc_instruction * inst) in handle_else() 119 static void scan_write(void * userdata, struct rc_instruction * inst, in scan_write() 131 static void remap_proxy_function(void * userdata, struct rc_instruction * inst, in remap_proxy_function() 149 struct rc_instruction * begin, in allocate_and_insert_proxies() 150 struct rc_instruction * end) in allocate_and_insert_proxies() 157 for(struct rc_instruction * inst = begin; inst != end; inst = inst->Next) { in allocate_and_insert_proxies() [all …]
|
D | radeon_program_alu.c | 42 static struct rc_instruction *emit1( in emit1() 43 struct radeon_compiler * c, struct rc_instruction * after, in emit1() 47 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit1() 59 static struct rc_instruction *emit2( in emit2() 60 struct radeon_compiler * c, struct rc_instruction * after, in emit2() 65 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit2() 78 static struct rc_instruction *emit3( in emit3() 79 struct radeon_compiler * c, struct rc_instruction * after, in emit3() 85 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit3() 197 static int is_dst_safe_to_reuse(struct rc_instruction *inst) in is_dst_safe_to_reuse() [all …]
|
D | radeon_dataflow.c | 42 struct rc_instruction * fullinst, in reads_normal_callback() 101 static void reads_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata) in reads_pair() 133 struct rc_instruction * fullinst, in pair_sub_for_all_args() 184 struct rc_instruction * inst, in rc_for_all_reads_src() 220 struct rc_instruction * inst, in rc_pair_for_all_reads_arg() 241 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata) in rc_for_all_reads_mask() 256 static void writes_normal(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userda… in writes_normal() 268 static void writes_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata) in writes_pair() 288 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata) in rc_for_all_writes_mask() 303 static void mask_to_chan_cb(void * data, struct rc_instruction * inst, in mask_to_chan_cb() [all …]
|
D | radeon_optimize.c | 44 typedef void (*rc_presub_replace_fn)(struct rc_instruction *, 45 struct rc_instruction *, 66 static void copy_propagate_scan_read(void * data, struct rc_instruction * inst, in copy_propagate_scan_read() 106 struct rc_instruction * inst, in src_clobbered_reads_cb() 125 struct rc_instruction * inst, in is_src_clobbered_scan_write() 140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate() 161 struct rc_instruction * inst = reader_data.Readers[i].Inst; in copy_propagate() 210 static void constant_folding_mad(struct rc_instruction * inst) in constant_folding_mad() 251 static void constant_folding_mul(struct rc_instruction * inst) in constant_folding_mul() 284 static void constant_folding_add(struct rc_instruction * inst) in constant_folding_add() [all …]
|
D | radeon_vert_fc.c | 37 static void mark_write(void * userdata, struct rc_instruction * inst, in mark_write() 55 struct rc_instruction * inst; in reserve_predicate_reg() 84 struct rc_instruction * inst, in lower_bgnloop() 87 struct rc_instruction * new_inst = in lower_bgnloop() 135 struct rc_instruction * inst, in lower_brk() 153 struct rc_instruction * inst, in lower_endloop() 156 struct rc_instruction * new_inst = in lower_endloop() 167 struct rc_instruction * inst, in lower_if() 210 struct rc_instruction * inst; in rc_vert_fc() 254 struct rc_instruction * to_delete = inst; in rc_vert_fc()
|
D | radeon_emulate_loops.c | 71 struct rc_instruction * ptr; in unroll_loop() 72 struct rc_instruction * first = loop->BeginLoop->Next; in unroll_loop() 73 struct rc_instruction * last = loop->EndLoop->Prev; in unroll_loop() 74 struct rc_instruction * append_to = last; in unroll_loop() 79 struct rc_instruction *new = rc_alloc_instruction(c); in unroll_loop() 80 memcpy(new, ptr, sizeof(struct rc_instruction)); in unroll_loop() 88 static void update_const_value(void * data, struct rc_instruction * inst, in update_const_value() 113 static void get_incr_amount(void * data, struct rc_instruction * inst, in get_incr_amount() 195 struct rc_instruction * inst; in try_unroll_loop() 327 struct rc_instruction * inst) in build_loop_info() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow.h | 35 struct rc_instruction; 48 typedef void (*rc_read_write_chan_fn)(void * userdata, struct rc_instruction * inst, 50 void rc_for_all_reads_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata); 51 void rc_for_all_writes_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata… 53 typedef void (*rc_read_write_mask_fn)(void * userdata, struct rc_instruction * inst, 55 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata); 56 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata… 58 typedef void (*rc_read_src_fn)(void * userdata, struct rc_instruction * inst, 60 void rc_for_all_reads_src(struct rc_instruction * inst, rc_read_src_fn cb, 64 struct rc_instruction * inst, struct rc_pair_instruction_arg * arg, [all …]
|
D | radeon_program.h | 133 struct rc_instruction { struct 134 struct rc_instruction * Prev; argument 135 struct rc_instruction * Next; argument 156 struct rc_instruction Instructions; argument 181 struct rc_instruction*, 203 struct rc_instruction *rc_alloc_instruction(struct radeon_compiler * c); 204 struct rc_instruction *rc_insert_new_instruction(struct radeon_compiler * c, struct rc_instruction … 205 void rc_insert_instruction(struct rc_instruction * after, struct rc_instruction * inst); 206 void rc_remove_instruction(struct rc_instruction * inst);
|
D | radeon_program.c | 57 struct rc_instruction * inst = c->Program.Instructions.Next; in rc_local_transform() 60 struct rc_instruction * current = inst; in rc_local_transform() 81 struct rc_instruction * inst, in get_used_temporaries_cb() 109 struct rc_instruction * inst; in rc_get_used_temporaries() 169 struct rc_instruction *rc_alloc_instruction(struct radeon_compiler * c) in rc_alloc_instruction() 171 struct rc_instruction * inst = memory_pool_malloc(&c->Pool, sizeof(struct rc_instruction)); in rc_alloc_instruction() 173 memset(inst, 0, sizeof(struct rc_instruction)); in rc_alloc_instruction() 184 void rc_insert_instruction(struct rc_instruction * after, struct rc_instruction * inst) in rc_insert_instruction() 193 struct rc_instruction *rc_insert_new_instruction(struct radeon_compiler * c, struct rc_instruction … in rc_insert_new_instruction() 195 struct rc_instruction * inst = rc_alloc_instruction(c); in rc_insert_new_instruction() [all …]
|
D | radeon_compiler_util.h | 9 struct rc_instruction; 39 struct rc_instruction * inst, 63 struct rc_instruction * inst, 75 struct rc_instruction * inst, 80 rc_opcode rc_get_flow_control_inst(struct rc_instruction * inst); 82 struct rc_instruction * rc_match_endloop(struct rc_instruction * endloop); 83 struct rc_instruction * rc_match_bgnloop(struct rc_instruction * bgnloop);
|
D | radeon_program_alu.h | 35 struct rc_instruction * inst, 40 struct rc_instruction * inst, 45 struct rc_instruction * inst, 50 struct rc_instruction * inst, 55 struct rc_instruction *inst, 60 struct rc_instruction * inst,
|
D | radeon_emulate_loops.h | 11 struct rc_instruction * BeginLoop; 12 struct rc_instruction * Cond; 13 struct rc_instruction * If; 14 struct rc_instruction * Brk; 15 struct rc_instruction * EndIf; 16 struct rc_instruction * EndLoop;
|
D | radeon_emulate_branches.c | 45 struct rc_instruction * If; 46 struct rc_instruction * Else; 58 static void handle_if(struct emulate_branch_state * s, struct rc_instruction * inst) in handle_if() 61 struct rc_instruction * inst_mov; in handle_if() 88 static void handle_else(struct emulate_branch_state * s, struct rc_instruction * inst) in handle_else() 119 static void scan_write(void * userdata, struct rc_instruction * inst, in scan_write() 131 static void remap_proxy_function(void * userdata, struct rc_instruction * inst, in remap_proxy_function() 149 struct rc_instruction * begin, in allocate_and_insert_proxies() 150 struct rc_instruction * end) in allocate_and_insert_proxies() 157 for(struct rc_instruction * inst = begin; inst != end; inst = inst->Next) { in allocate_and_insert_proxies() [all …]
|
D | radeon_program_alu.c | 42 static struct rc_instruction *emit1( in emit1() 43 struct radeon_compiler * c, struct rc_instruction * after, in emit1() 47 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit1() 59 static struct rc_instruction *emit2( in emit2() 60 struct radeon_compiler * c, struct rc_instruction * after, in emit2() 65 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit2() 78 static struct rc_instruction *emit3( in emit3() 79 struct radeon_compiler * c, struct rc_instruction * after, in emit3() 85 struct rc_instruction *fpi = rc_insert_new_instruction(c, after); in emit3() 197 static int is_dst_safe_to_reuse(struct rc_instruction *inst) in is_dst_safe_to_reuse() [all …]
|
D | radeon_dataflow.c | 42 struct rc_instruction * fullinst, in reads_normal_callback() 101 static void reads_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata) in reads_pair() 133 struct rc_instruction * fullinst, in pair_sub_for_all_args() 184 struct rc_instruction * inst, in rc_for_all_reads_src() 220 struct rc_instruction * inst, in rc_pair_for_all_reads_arg() 241 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata) in rc_for_all_reads_mask() 256 static void writes_normal(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userda… in writes_normal() 268 static void writes_pair(struct rc_instruction * fullinst, rc_read_write_mask_fn cb, void * userdata) in writes_pair() 288 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata) in rc_for_all_writes_mask() 303 static void mask_to_chan_cb(void * data, struct rc_instruction * inst, in mask_to_chan_cb() [all …]
|
D | radeon_optimize.c | 44 typedef void (*rc_presub_replace_fn)(struct rc_instruction *, 45 struct rc_instruction *, 66 static void copy_propagate_scan_read(void * data, struct rc_instruction * inst, in copy_propagate_scan_read() 106 struct rc_instruction * inst, in src_clobbered_reads_cb() 125 struct rc_instruction * inst, in is_src_clobbered_scan_write() 140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate() 161 struct rc_instruction * inst = reader_data.Readers[i].Inst; in copy_propagate() 210 static void constant_folding_mad(struct rc_instruction * inst) in constant_folding_mad() 251 static void constant_folding_mul(struct rc_instruction * inst) in constant_folding_mul() 284 static void constant_folding_add(struct rc_instruction * inst) in constant_folding_add() [all …]
|
D | radeon_vert_fc.c | 37 static void mark_write(void * userdata, struct rc_instruction * inst, in mark_write() 55 struct rc_instruction * inst; in reserve_predicate_reg() 84 struct rc_instruction * inst, in lower_bgnloop() 87 struct rc_instruction * new_inst = in lower_bgnloop() 135 struct rc_instruction * inst, in lower_brk() 153 struct rc_instruction * inst, in lower_endloop() 156 struct rc_instruction * new_inst = in lower_endloop() 167 struct rc_instruction * inst, in lower_if() 210 struct rc_instruction * inst; in rc_vert_fc() 254 struct rc_instruction * to_delete = inst; in rc_vert_fc()
|
D | radeon_emulate_loops.c | 71 struct rc_instruction * ptr; in unroll_loop() 72 struct rc_instruction * first = loop->BeginLoop->Next; in unroll_loop() 73 struct rc_instruction * last = loop->EndLoop->Prev; in unroll_loop() 74 struct rc_instruction * append_to = last; in unroll_loop() 79 struct rc_instruction *new = rc_alloc_instruction(c); in unroll_loop() 80 memcpy(new, ptr, sizeof(struct rc_instruction)); in unroll_loop() 88 static void update_const_value(void * data, struct rc_instruction * inst, in update_const_value() 113 static void get_incr_amount(void * data, struct rc_instruction * inst, in get_incr_amount() 195 struct rc_instruction * inst; in try_unroll_loop() 327 struct rc_instruction * inst) in build_loop_info() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.h | 3 struct rc_instruction * inst, 8 struct rc_instruction * inst, 12 struct rc_instruction * inst,
|