Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h12 struct rc_src_register;
46 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
48 void reset_srcreg(struct rc_src_register* reg);
66 const struct rc_src_register * replace_reg,
67 const struct rc_src_register * presub_src0,
68 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()
176 static int is_src_uniform_constant(struct rc_src_register src, in is_src_uniform_constant()
317 struct rc_src_register newsrc; in constant_folding()
401 memset(&inst->U.I.SrcReg[i], 0, sizeof(struct rc_src_register)); in constant_folding()
409 static unsigned int src_reads_dst_mask(struct rc_src_register src, in src_reads_dst_mask()
420 static int src_has_const_swz(struct rc_src_register src) { in src_has_const_swz()
435 struct rc_src_register * src) in presub_scan_read()
[all …]
Dr300_fragprog_swizzle.c107 static int r300_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in r300_swizzle_is_native()
149 struct rc_src_register src, unsigned int mask, in r300_swizzle_split()
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()
Dradeon_emulate_loops.c44 struct rc_src_register * Src;
192 struct rc_src_register * counter; in try_unroll_loop()
193 struct rc_src_register * limit; in try_unroll_loop()
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()
778 static int swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in swizzle_is_native()
Dradeon_compiler.h105 void rc_move_input(struct radeon_compiler * c, unsigned input, struct rc_src_register new_input);
Dradeon_inline_literals.c86 struct rc_src_register * src_reg = in rc_inline_literals()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.h12 struct rc_src_register;
46 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
48 void reset_srcreg(struct rc_src_register* reg);
66 const struct rc_src_register * replace_reg,
67 const struct rc_src_register * presub_src0,
68 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()
176 static int is_src_uniform_constant(struct rc_src_register src, in is_src_uniform_constant()
317 struct rc_src_register newsrc; in constant_folding()
401 memset(&inst->U.I.SrcReg[i], 0, sizeof(struct rc_src_register)); in constant_folding()
409 static unsigned int src_reads_dst_mask(struct rc_src_register src, in src_reads_dst_mask()
420 static int src_has_const_swz(struct rc_src_register src) { in src_has_const_swz()
435 struct rc_src_register * src) in presub_scan_read()
[all …]
Dr300_fragprog_swizzle.c107 static int r300_swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in r300_swizzle_is_native()
149 struct rc_src_register src, unsigned int mask, in r300_swizzle_split()
Dradeon_emulate_loops.c44 struct rc_src_register * Src;
192 struct rc_src_register * counter; in try_unroll_loop()
193 struct rc_src_register * limit; in try_unroll_loop()
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()
778 static int swizzle_is_native(rc_opcode opcode, struct rc_src_register reg) in swizzle_is_native()
Dradeon_inline_literals.c86 struct rc_src_register * src_reg = in rc_inline_literals()

12