Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.h42 struct radeon_compiler { struct
77 void rc_init(struct radeon_compiler * c, const struct rc_regalloc_state *rs); argument
78 void rc_destroy(struct radeon_compiler * c);
80 void rc_debug(struct radeon_compiler * c, const char * fmt, ...);
81 void rc_error(struct radeon_compiler * c, const char * fmt, ...);
83 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * asserti…
100 void rc_calculate_inputs_outputs(struct radeon_compiler * c);
102 void rc_copy_output(struct radeon_compiler * c, unsigned output, unsigned dup_output);
103 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
105 void rc_transform_fragment_face(struct radeon_compiler *c, unsigned face);
[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,
64 struct radeon_compiler * c,
68 void rc_transform_KILL(struct radeon_compiler * c,
71 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_program_alu.c44 struct radeon_compiler * c, struct rc_instruction * after, in emit1()
61 struct radeon_compiler * c, struct rc_instruction * after, in emit2()
80 struct radeon_compiler * c, struct rc_instruction * after, in emit3()
217 static struct rc_dst_register try_to_reuse_dst(struct radeon_compiler *c, in try_to_reuse_dst()
230 static void transform_CEIL(struct radeon_compiler* c, in transform_CEIL()
250 static void transform_DP2(struct radeon_compiler* c, in transform_DP2()
269 static void transform_DST(struct radeon_compiler* c, in transform_DST()
278 static void transform_FLR(struct radeon_compiler* c, in transform_FLR()
288 static void transform_TRUNC(struct radeon_compiler* c, in transform_TRUNC()
324 static void transform_LIT(struct radeon_compiler* c, in transform_LIT()
[all …]
Dradeon_dataflow.h36 struct radeon_compiler;
110 struct radeon_compiler * c,
118 struct radeon_compiler * c,
131 void rc_dataflow_deadcode(struct radeon_compiler * c, void *user);
132 void rc_dataflow_swizzles(struct radeon_compiler * c, void *user);
135 void rc_optimize(struct radeon_compiler * c, void *user);
136 void rc_inline_literals(struct radeon_compiler *c, void *user);
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_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_compiler.c39 void rc_init(struct radeon_compiler * c, const struct rc_regalloc_state *rs) in rc_init()
50 void rc_destroy(struct radeon_compiler * c) in rc_destroy()
57 void rc_debug(struct radeon_compiler * c, const char * fmt, ...) in rc_debug()
69 void rc_error(struct radeon_compiler * c, const char * fmt, ...) in rc_error()
104 int rc_if_fail_helper(struct radeon_compiler * c, const char * file, int line, const char * asserti… in rc_if_fail_helper()
115 void rc_calculate_inputs_outputs(struct radeon_compiler * c) in rc_calculate_inputs_outputs()
142 void rc_copy_output(struct radeon_compiler * c, unsigned output, unsigned dup_output) in rc_copy_output()
221 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, in rc_transform_fragment_wpos()
307 void rc_transform_fragment_face(struct radeon_compiler *c, unsigned face) in rc_transform_fragment_face()
355 void rc_get_stats(struct radeon_compiler *c, struct rc_program_stats *s) in rc_get_stats()
[all …]
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);
Dradeon_compiler_util.h35 struct radeon_compiler;
98 struct radeon_compiler * c,
115 struct radeon_compiler * c,
120 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_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_optimize.c142 static void copy_propagate(struct radeon_compiler * c, struct rc_instruction * inst_mov) in copy_propagate()
328 static void constant_folding(struct radeon_compiler * c, struct rc_instruction * inst) in constant_folding()
469 struct radeon_compiler * c, in presub_helper()
535 struct radeon_compiler * c, in is_presub_candidate()
585 struct radeon_compiler * c, in peephole_add_presub_add()
649 struct radeon_compiler * c, in peephole_add_presub_inv()
722 struct radeon_compiler * c, in peephole_mul_omod()
872 static int peephole(struct radeon_compiler * c, struct rc_instruction * inst) in peephole()
903 static int merge_movs(struct radeon_compiler * c, struct rc_instruction * inst) in merge_movs()
969 void rc_optimize(struct radeon_compiler * c, void *user) in rc_optimize()
Dradeon_dataflow_swizzles.c40 static void rewrite_source(struct radeon_compiler * c, in rewrite_source()
95 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_remove_constants.h33 void rc_remove_unused_constants(struct radeon_compiler *c, void *user);
Dradeon_program_tex.h35 struct radeon_compiler * c,
Dr3xx_vertprog.c367 static void translate_vertex_program(struct radeon_compiler *c, void *user) in translate_vertex_program()
593 static int get_reg(struct radeon_compiler *c, struct temporary_allocation *ta, bool *hwtemps, in get_reg()
611 static void allocate_temporary_registers(struct radeon_compiler *c, void *user) in allocate_temporary_registers()
696 struct radeon_compiler *c, in transform_nonnative_modifiers()
736 struct radeon_compiler *c, in transform_source_conflicts()
782 static void rc_vs_add_artificial_outputs(struct radeon_compiler *c, void *user) in rc_vs_add_artificial_outputs()
848 static void rc_emulate_negative_addressing(struct radeon_compiler *compiler, void *user) in rc_emulate_negative_addressing()
Dradeon_compiler_util.c539 struct radeon_compiler * c, in rc_get_max_index()
679 struct radeon_compiler * c, in rc_src_reg_is_immediate()
691 struct radeon_compiler * c, in rc_get_constant_value()
Dradeon_vert_fc.c33 struct radeon_compiler *C;
222 void rc_vert_fc(struct radeon_compiler *c, void *user) in rc_vert_fc()
/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.c459 void add_instruction(struct radeon_compiler *c, const char * inst_string) in add_instruction()
468 int add_constant(struct radeon_compiler *c, const char *const_str) in add_constant()
507 struct radeon_compiler *c, in init_compiler()
535 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