Home
last modified time | relevance | path

Searched refs:rc_src_register (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h39 struct rc_src_register;
73 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
75 void reset_srcreg(struct rc_src_register* reg);
93 const struct rc_src_register * replace_reg,
94 const struct rc_src_register * presub_src0,
95 const struct rc_src_register * presub_src1);
Dradeon_program_alu.c45 struct rc_dst_register DstReg, struct rc_src_register SrcReg) in emit1()
63 struct rc_src_register SrcReg0, struct rc_src_register SrcReg1) in emit2()
82 struct rc_src_register SrcReg0, struct rc_src_register SrcReg1, in emit3()
83 struct rc_src_register SrcReg2) in emit3()
108 static const struct rc_src_register builtin_zero = {
113 static const struct rc_src_register builtin_one = {
119 static const struct rc_src_register builtin_half = {
125 static const struct rc_src_register srcreg_undefined = {
131 static struct rc_src_register srcreg(int file, int index) in srcreg()
133 struct rc_src_register src = srcreg_undefined; in srcreg()
[all …]
Dradeon_compiler_util.c212 struct rc_src_register * src) in normal_rewrite_writemask_cb()
288 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg) in lmul_swizzle()
290 struct rc_src_register tmp = srcreg; in lmul_swizzle()
306 void reset_srcreg(struct rc_src_register* reg) in reset_srcreg()
308 memset(reg, 0, sizeof(struct rc_src_register)); in reset_srcreg()
370 const struct rc_src_register * ReplaceReg;
395 struct rc_src_register * src) in can_use_presub_read_cb()
415 const struct rc_src_register * replace_reg, in rc_inst_can_use_presub()
416 const struct rc_src_register * presub_src0, in rc_inst_can_use_presub()
417 const struct rc_src_register * presub_src1) in rc_inst_can_use_presub()
Dradeon_program.h41 struct rc_src_register { struct
66 struct rc_src_register SrcReg[2]; argument
78 struct rc_src_register SrcReg[3];
Dradeon_swizzle.h48 int (*IsNative)(rc_opcode opcode, struct rc_src_register reg);
54 void (*Split)(struct rc_src_register reg, unsigned int mask, struct rc_swizzle_split * split);
Dradeon_dataflow.h37 struct rc_src_register;
59 struct rc_src_register * src);
79 struct rc_src_register * Src;
Dradeon_optimize.c48 static struct rc_src_register chain_srcregs(struct rc_src_register outer, struct rc_src_register in… in chain_srcregs()
50 struct rc_src_register combine; in chain_srcregs()
67 struct rc_src_register * src) in copy_propagate_scan_read()
107 struct rc_src_register * src) in src_clobbered_reads_cb()
193 static int is_src_uniform_constant(struct rc_src_register src, in is_src_uniform_constant()
334 struct rc_src_register newsrc; in constant_folding()
418 memset(&inst->U.I.SrcReg[i], 0, sizeof(struct rc_src_register)); in constant_folding()
426 static unsigned int src_reads_dst_mask(struct rc_src_register src, in src_reads_dst_mask()
437 static int src_has_const_swz(struct rc_src_register src) { in src_has_const_swz()
452 struct rc_src_register * src) in presub_scan_read()
[all …]
Dr300_fragprog_swizzle.c109 static int r300_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in r300_swizzle_is_native()
151 struct rc_src_register src, unsigned int mask, in r300_swizzle_split()
Dradeon_emulate_loops.c45 struct rc_src_register * Src;
193 struct rc_src_register * counter; in try_unroll_loop()
194 struct rc_src_register * limit; in try_unroll_loop()
373 struct rc_src_register *src; in build_loop_info()
Dr500_fragprog.c164 struct rc_src_register temp_src; in r500_transform_IF()
183 static int r500_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in r500_swizzle_is_native()
244 static void r500_swizzle_split(struct rc_src_register src, unsigned int usemask, in r500_swizzle_split()
Dr3xx_vertprog.c98 static int t_src_conflict(struct rc_src_register a, struct rc_src_register b) in t_src_conflict()
123 struct rc_src_register *src) in t_src_index()
141 struct rc_src_register *src) in t_src()
157 struct rc_src_register *src) in t_src_scalar()
786 static int swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in swizzle_is_native()
Dradeon_dataflow_swizzles.c102 struct rc_src_register *reg) in try_rewrite_constant()
434 struct rc_src_register *reg = &inst->U.I.SrcReg[src]; in rc_dataflow_swizzles()
Dradeon_compiler.h104 void rc_move_input(struct radeon_compiler * c, unsigned input, struct rc_src_register new_input);
Dradeon_inline_literals.c111 struct rc_src_register * src_reg = in rc_inline_literals()
Dradeon_pair_translate.c40 struct rc_src_register tmp; in final_rewrite()
132 static void src_uses(struct rc_src_register src, unsigned int * rgb, in src_uses()
Dradeon_program_tex.c35 static struct rc_src_register shadow_fail_value(struct r300_fragment_program_compiler *compiler, in shadow_fail_value()
38 struct rc_src_register reg = { 0, 0, 0, 0, 0, 0 }; in shadow_fail_value()
46 static struct rc_src_register shadow_pass_value(struct r300_fragment_program_compiler *compiler, in shadow_pass_value()
49 struct rc_src_register reg = { 0, 0, 0, 0, 0, 0 }; in shadow_pass_value()
Dradeon_remove_constants.c48 struct rc_src_register * src) in mark_used()
Dradeon_dataflow.c43 struct rc_src_register * src) in reads_normal_callback()
495 struct rc_src_register * src) in add_reader_normal()
590 struct rc_src_register * src) in get_readers_normal_read_callback()
Dradeon_vert_fc.c43 struct rc_src_register * src, in build_pred_src()
Dradeon_program_print.c233 struct rc_src_register src) in rc_print_src_register()
Dradeon_compiler.c140 void rc_move_input(struct radeon_compiler * c, unsigned input, struct rc_src_register new_input) in rc_move_input()
Dradeon_pair_schedule.c1244 struct rc_src_register * src) in is_rgb_to_alpha_possible_normal()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c173 struct rc_src_register * dst, in transform_srcreg()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c142 struct rc_src_register * src_reg = &inst->U.I.SrcReg[src_index]; in init_rc_normal_src()