Home
last modified time | relevance | path

Searched refs:radeon_compiler (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.h42 struct radeon_compiler { struct
79 void rc_init(struct radeon_compiler * c, const struct rc_regalloc_state *rs); argument
80 void rc_destroy(struct radeon_compiler * c);
82 void rc_debug(struct radeon_compiler * c, const char * fmt, ...);
83 void rc_error(struct radeon_compiler * c, const char * fmt, ...);
85 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * asserti…
102 void rc_calculate_inputs_outputs(struct radeon_compiler * c);
104 void rc_move_input(struct radeon_compiler * c, unsigned input, struct rc_src_register new_input);
105 void rc_move_output(struct radeon_compiler * c, unsigned output, unsigned new_output, unsigned writ…
106 void rc_copy_output(struct radeon_compiler * c, unsigned output, unsigned dup_output);
[all …]
Dradeon_program_alu.h34 struct radeon_compiler * c,
39 struct radeon_compiler * c,
44 struct radeon_compiler * c,
49 struct radeon_compiler * c,
54 struct radeon_compiler *c,
59 struct radeon_compiler * c,
63 void rc_transform_KILL(struct radeon_compiler * c,
66 int rc_force_output_alpha_to_one(struct radeon_compiler *c,
Dradeon_program.h39 struct radeon_compiler;
180 struct radeon_compiler*,
187 struct radeon_compiler *c,
191 struct radeon_compiler * c,
196 struct radeon_compiler * c,
201 unsigned int rc_find_free_temporary(struct radeon_compiler * c);
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 …
208 unsigned int rc_recompute_ips(struct radeon_compiler * c);
Dradeon_dataflow.h34 struct radeon_compiler;
107 struct radeon_compiler * c,
115 struct radeon_compiler * c,
128 void rc_dataflow_deadcode(struct radeon_compiler * c, void *user);
129 void rc_dataflow_swizzles(struct radeon_compiler * c, void *user);
132 void rc_optimize(struct radeon_compiler * c, void *user);
133 void rc_inline_literals(struct radeon_compiler *c, void *user);
Dradeon_program_alu.c43 struct radeon_compiler * c, struct rc_instruction * after, in emit1()
60 struct radeon_compiler * c, struct rc_instruction * after, in emit2()
79 struct radeon_compiler * c, struct rc_instruction * after, in emit3()
216 static struct rc_dst_register try_to_reuse_dst(struct radeon_compiler *c, in try_to_reuse_dst()
229 static void transform_ABS(struct radeon_compiler* c, in transform_ABS()
239 static void transform_CEIL(struct radeon_compiler* c, in transform_CEIL()
259 static void transform_CLAMP(struct radeon_compiler *c, in transform_CLAMP()
275 static void transform_DP2(struct radeon_compiler* c, in transform_DP2()
290 static void transform_DPH(struct radeon_compiler* c, in transform_DPH()
305 static void transform_DST(struct radeon_compiler* c, in transform_DST()
[all …]
Dradeon_program_pair.h35 struct radeon_compiler;
132 void rc_pair_translate(struct radeon_compiler *cc, void *user);
133 void rc_pair_schedule(struct radeon_compiler *cc, void *user);
134 void rc_pair_regalloc(struct radeon_compiler *cc, void *user);
135 void rc_pair_remove_dead_sources(struct radeon_compiler *c, void *user);
Dradeon_emulate_loops.h33 struct radeon_compiler;
45 struct radeon_compiler * C;
51 void rc_transform_loops(struct radeon_compiler *c, void *user);
53 void rc_emulate_loops(struct radeon_compiler * c, void *user);
Dradeon_program.c52 struct radeon_compiler * c, in rc_local_transform()
105 struct radeon_compiler * c, in rc_get_used_temporaries()
135 struct radeon_compiler * c, in rc_find_free_temporary_list()
150 unsigned int rc_find_free_temporary(struct radeon_compiler * c) in rc_find_free_temporary()
169 struct rc_instruction *rc_alloc_instruction(struct radeon_compiler * c) in rc_alloc_instruction()
193 struct rc_instruction *rc_insert_new_instruction(struct radeon_compiler * c, struct rc_instruction … in rc_insert_new_instruction()
211 unsigned int rc_recompute_ips(struct radeon_compiler * c) in rc_recompute_ips()
Dradeon_variable.h33 struct radeon_compiler;
45 struct radeon_compiler * C;
70 struct radeon_compiler * c,
76 struct rc_list * rc_get_variables(struct radeon_compiler * c);
Dr500_fragprog.h39 extern void r500BuildFragmentProgramHwCode(struct radeon_compiler *c, void *user);
41 extern void r500FragmentProgramDump(struct radeon_compiler *c, void *user);
46 struct radeon_compiler * c,
Dradeon_compiler.c36 void rc_init(struct radeon_compiler * c, const struct rc_regalloc_state *rs) in rc_init()
47 void rc_destroy(struct radeon_compiler * c) in rc_destroy()
54 void rc_debug(struct radeon_compiler * c, const char * fmt, ...) in rc_debug()
66 void rc_error(struct radeon_compiler * c, const char * fmt, ...) in rc_error()
101 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * asserti… in rc_if_fail_helper()
112 void rc_calculate_inputs_outputs(struct radeon_compiler * c) in rc_calculate_inputs_outputs()
140 void rc_move_input(struct radeon_compiler * c, unsigned input, struct rc_src_register new_input) in rc_move_input()
172 void rc_move_output(struct radeon_compiler * c, unsigned output, unsigned new_output, unsigned writ… in rc_move_output()
196 void rc_copy_output(struct radeon_compiler * c, unsigned output, unsigned dup_output) in rc_copy_output()
237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, in rc_transform_fragment_wpos()
[all …]
Dradeon_compiler_util.h35 struct radeon_compiler;
98 struct radeon_compiler * c,
117 struct radeon_compiler * c,
122 struct radeon_compiler * c,
Dradeon_emulate_branches.h26 struct radeon_compiler;
28 void rc_emulate_branches(struct radeon_compiler *c, void *user);
Dradeon_rename_regs.h31 struct radeon_compiler;
33 void rc_rename_regs(struct radeon_compiler *c, void *user);
Dr300_fragprog.h40 extern void r300BuildFragmentProgramHwCode(struct radeon_compiler *c, void *user);
42 extern void r300FragmentProgramDump(struct radeon_compiler *c, void *user);
Dradeon_emulate_loops.c44 struct radeon_compiler * C;
51 struct radeon_compiler * C;
59 static unsigned int loop_max_possible_iterations(struct radeon_compiler *c, in loop_max_possible_iterations()
68 static void unroll_loop(struct radeon_compiler * c, struct loop_info * loop, in unroll_loop()
187 static int try_unroll_loop(struct radeon_compiler * c, struct loop_info * loop) in try_unroll_loop()
327 static int build_loop_info(struct radeon_compiler * c, struct loop_info * loop, in build_loop_info()
485 void rc_transform_loops(struct radeon_compiler *c, void *user) in rc_transform_loops()
502 void rc_emulate_loops(struct radeon_compiler *c, void *user) in rc_emulate_loops()
Dradeon_optimize.c140 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate()
326 static void constant_folding(struct radeon_compiler * c, struct rc_instruction * inst) in constant_folding()
468 struct radeon_compiler * c, in presub_helper()
530 struct radeon_compiler * c, in is_presub_candidate()
580 struct radeon_compiler * c, in peephole_add_presub_add()
644 struct radeon_compiler * c, in peephole_add_presub_inv()
717 struct radeon_compiler * c, in peephole_mul_omod()
860 static int peephole(struct radeon_compiler * c, struct rc_instruction * inst) in peephole()
877 void rc_optimize(struct radeon_compiler * c, void *user) in rc_optimize()
Dradeon_remove_constants.h33 void rc_remove_unused_constants(struct radeon_compiler *c, void *user);
Dradeon_program_tex.h35 struct radeon_compiler * c,
Dradeon_dataflow_swizzles.c40 static void rewrite_source(struct radeon_compiler * c, in rewrite_source()
101 static unsigned try_rewrite_constant(struct radeon_compiler *c, in try_rewrite_constant()
422 void rc_dataflow_swizzles(struct radeon_compiler * c, void *user) in rc_dataflow_swizzles()
Dradeon_rename_regs.c47 void rc_rename_regs(struct radeon_compiler *c, void *user) in rc_rename_regs()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.h58 void add_instruction(struct radeon_compiler *c, const char * inst_string);
60 int add_constant(struct radeon_compiler *c, const char *const_str);
63 struct radeon_compiler *c,
69 struct radeon_compiler *c,
Dradeon_compiler_optimize_tests.c36 struct radeon_compiler * c, in test_rc_optimize()
55 struct radeon_compiler c; in test_runner_rc_optimize()
Drc_test_helpers.c458 void add_instruction(struct radeon_compiler *c, const char * inst_string) in add_instruction()
467 int add_constant(struct radeon_compiler *c, const char *const_str) in add_constant()
506 struct radeon_compiler *c, in init_compiler()
534 struct radeon_compiler *c, in load_program()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.h28 struct radeon_compiler;
40 struct radeon_compiler * compiler;

12