/external/igt-gpu-tools/assembler/ |
D | brw_reg.h | 112 struct brw_reg { struct 179 static inline struct brw_reg 180 brw_reg(unsigned file, in brw_reg() function 190 struct brw_reg reg; in brw_reg() 224 static inline struct brw_reg 227 return brw_reg(file, in brw_vec16_reg() 239 static inline struct brw_reg 242 return brw_reg(file, in brw_vec8_reg() 254 static inline struct brw_reg 257 return brw_reg(file, in brw_vec4_reg() [all …]
|
D | brw_eu.h | 119 struct brw_reg dest); 121 struct brw_reg reg); 124 struct brw_reg *src, 131 struct brw_reg dest, \ 132 struct brw_reg src0); 136 struct brw_reg dest, \ 137 struct brw_reg src0, \ 138 struct brw_reg src1); 142 struct brw_reg dest, \ 143 struct brw_reg src0, \ [all …]
|
D | brw_eu_util.c | 39 struct brw_reg dst, in brw_math_invert() 40 struct brw_reg src) in brw_math_invert() 54 struct brw_reg dst, in brw_copy4() 55 struct brw_reg src, in brw_copy4() 73 struct brw_reg dst, in brw_copy8() 74 struct brw_reg src, in brw_copy8() 107 struct brw_reg dst, in brw_copy_from_indirect()
|
D | brw_eu_emit.c | 46 struct brw_reg reg) in guess_execution_size() 64 struct brw_reg *src, in gen6_resolve_implied_move() 86 gen7_convert_mrf_to_grf(struct brw_compile *p, struct brw_reg *reg) in gen7_convert_mrf_to_grf() 106 struct brw_reg dest) in brw_set_dest() 161 validate_reg(struct brw_instruction *insn, struct brw_reg reg) in validate_reg() 248 struct brw_reg reg) in brw_set_src0() 352 struct brw_reg reg) in brw_set_src1() 783 struct brw_reg dest, in brw_alu1() 784 struct brw_reg src ) in brw_alu1() 794 struct brw_reg dest, in brw_alu2() [all …]
|
D | gen4asm.h | 115 struct brw_reg reg; 216 struct brw_reg reg;
|
D | gen8_instruction.h | 291 void gen8_set_dst(struct gen8_instruction *insn, struct brw_reg reg); 292 void gen8_set_src0(struct gen8_instruction *insn, struct brw_reg reg); 293 void gen8_set_src1(struct gen8_instruction *insn, struct brw_reg reg);
|
D | gen8_instruction.c | 34 gen8_set_dst(struct gen8_instruction *inst, struct brw_reg reg) in gen8_set_dst() 93 gen8_validate_reg(struct gen8_instruction *inst, struct brw_reg reg) in gen8_validate_reg() 160 gen8_set_src0(struct gen8_instruction *inst, struct brw_reg reg) in gen8_set_src0() 251 gen8_set_src1(struct gen8_instruction *inst, struct brw_reg reg) in gen8_set_src1()
|
D | gram.y | 63 static struct brw_reg dst_null_reg = 68 static struct brw_reg ip_dst = 90 struct brw_reg *dest); 98 struct brw_reg *dest); 115 static void set_direct_dst_operand(struct brw_reg *dst, struct brw_reg *reg, 117 static void set_direct_src_operand(struct src_operand *src, struct brw_reg *reg, 171 static bool reg_equal(struct brw_reg *r1, struct brw_reg *r2) in reg_equal() 173 return memcmp(r1, r2, sizeof(struct brw_reg)) == 0; in reg_equal() 285 static bool validate_dst_reg(struct brw_program_instruction *insn, struct brw_reg *reg) in validate_dst_reg() 307 struct brw_reg reg, in validate_src_reg() [all …]
|
/external/mesa3d/src/intel/compiler/ |
D | brw_reg.h | 216 struct brw_reg { struct 252 brw_regs_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_equal() argument 258 brw_regs_negative_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_negative_equal() 299 struct brw_reg tmp = *a; in brw_regs_negative_equal() 402 static inline struct brw_reg 403 brw_reg(enum brw_reg_file file, in brw_reg() function 415 struct brw_reg reg; in brw_reg() 451 static inline struct brw_reg 454 return brw_reg(file, in brw_vec16_reg() 468 static inline struct brw_reg [all …]
|
D | brw_clip.h | 52 struct brw_reg R0; 53 struct brw_reg vertex[MAX_VERTS]; 55 struct brw_reg t; 56 struct brw_reg t0, t1; 57 struct brw_reg dp0, dp1; 59 struct brw_reg dpPrev; 60 struct brw_reg dp; 61 struct brw_reg loopcount; 62 struct brw_reg nr_verts; 63 struct brw_reg planemask; [all …]
|
D | brw_ir.h | 36 struct backend_reg : private brw_reg 39 backend_reg(const struct brw_reg ®) : brw_reg(reg), offset(0) {} in backend_reg() 41 const brw_reg &as_brw_reg() const in as_brw_reg() 45 return static_cast<const brw_reg &>(*this); in as_brw_reg() 48 brw_reg &as_brw_reg() in as_brw_reg() 52 return static_cast<brw_reg &>(*this); in as_brw_reg() 67 using brw_reg::type; 68 using brw_reg::file; 69 using brw_reg::negate; 70 using brw_reg::abs; [all …]
|
D | brw_fs.h | 288 struct brw_reg get_tcs_output_urb_handle(); 481 struct brw_reg payload, 482 struct brw_reg implied_header, 485 struct brw_reg dst, 486 struct brw_reg desc, 487 struct brw_reg ex_desc, 488 struct brw_reg payload, 489 struct brw_reg payload2); 490 void generate_fb_write(fs_inst *inst, struct brw_reg payload); 491 void generate_fb_read(fs_inst *inst, struct brw_reg dst, [all …]
|
D | brw_eu.h | 202 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest); 203 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg); 206 struct brw_reg *src, 213 struct brw_reg dest, \ 214 struct brw_reg src0); 218 struct brw_reg dest, \ 219 struct brw_reg src0, \ 220 struct brw_reg src1); 224 struct brw_reg dest, \ 225 struct brw_reg src0, \ [all …]
|
D | test_eu_compact.cpp | 179 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_ADD_GRF_GRF_GRF() 180 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_ADD_GRF_GRF_GRF() 181 struct brw_reg g4 = brw_vec8_grf(4, 0); in gen_ADD_GRF_GRF_GRF() 189 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_ADD_GRF_GRF_IMM() 190 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_ADD_GRF_GRF_IMM() 198 struct brw_reg g0 = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_D); in gen_ADD_GRF_GRF_IMM_d() 199 struct brw_reg g2 = retype(brw_vec8_grf(2, 0), BRW_REGISTER_TYPE_D); in gen_ADD_GRF_GRF_IMM_d() 207 struct brw_reg g0 = brw_vec8_grf(0, 0); in gen_MOV_GRF_GRF() 208 struct brw_reg g2 = brw_vec8_grf(2, 0); in gen_MOV_GRF_GRF() 216 struct brw_reg m6 = brw_vec8_reg(BRW_MESSAGE_REGISTER_FILE, 6, 0); in gen_ADD_MRF_GRF_GRF() [all …]
|
D | brw_vec4_generator.cpp | 34 struct brw_reg dst, in generate_math1_gen4() 35 struct brw_reg src) in generate_math1_gen4() 46 check_gen6_math_src_arg(struct brw_reg src) in check_gen6_math_src_arg() 57 struct brw_reg dst, in generate_math_gen6() 58 struct brw_reg src0, in generate_math_gen6() 59 struct brw_reg src1) in generate_math_gen6() 76 struct brw_reg dst, in generate_math2_gen4() 77 struct brw_reg src0, in generate_math2_gen4() 78 struct brw_reg src1) in generate_math2_gen4() 90 struct brw_reg &op0 = is_int_div ? src1 : src0; in generate_math2_gen4() [all …]
|
D | brw_fs_generator.cpp | 56 static struct brw_reg 60 struct brw_reg brw_reg; in brw_reg_from_fs_reg() local 68 brw_reg = brw_vec1_reg(brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 99 brw_reg = brw_vecn_reg(1, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 100 brw_reg = stride(brw_reg, reg->stride, 1, 0); in brw_reg_from_fs_reg() 103 brw_reg = brw_vecn_reg(width, brw_file_from_reg(reg), reg->nr, 0); in brw_reg_from_fs_reg() 104 brw_reg = stride(brw_reg, width * reg->stride, width, reg->stride); in brw_reg_from_fs_reg() 130 brw_reg.width++; in brw_reg_from_fs_reg() 131 if (brw_reg.vstride > 0) in brw_reg_from_fs_reg() 132 brw_reg.vstride++; in brw_reg_from_fs_reg() [all …]
|
D | brw_compile_sf.c | 34 struct brw_reg pv; 35 struct brw_reg det; 36 struct brw_reg dx0; 37 struct brw_reg dx2; 38 struct brw_reg dy0; 39 struct brw_reg dy2; 43 struct brw_reg z[3]; 44 struct brw_reg inv_w[3]; 48 struct brw_reg vert[3]; 52 struct brw_reg inv_det; [all …]
|
D | brw_eu_util.c | 38 struct brw_reg dst, in brw_math_invert() 39 struct brw_reg src) in brw_math_invert() 52 struct brw_reg dst, in brw_copy4() 53 struct brw_reg src, in brw_copy4() 71 struct brw_reg dst, in brw_copy8() 72 struct brw_reg src, in brw_copy8() 105 struct brw_reg dst, in brw_copy_from_indirect()
|
D | brw_eu_emit.c | 47 struct brw_reg *src, in gen6_resolve_implied_move() 71 gen7_convert_mrf_to_grf(struct brw_codegen *p, struct brw_reg *reg) in gen7_convert_mrf_to_grf() 89 brw_set_dest(struct brw_codegen *p, brw_inst *inst, struct brw_reg dest) in brw_set_dest() 209 brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src0() 345 brw_set_src1(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg) in brw_set_src1() 711 struct brw_reg dest, struct brw_reg src) in brw_alu1() 721 struct brw_reg dest, struct brw_reg src0, struct brw_reg src1) in brw_alu2() 735 get_3src_subreg_nr(struct brw_reg reg) in get_3src_subreg_nr() 786 brw_alu3(struct brw_codegen *p, unsigned opcode, struct brw_reg dest, in brw_alu3() 787 struct brw_reg src0, struct brw_reg src1, struct brw_reg src2) in brw_alu3() [all …]
|
D | brw_clip_util.c | 40 struct brw_reg get_tmp( struct brw_clip_compile *c ) in get_tmp() 42 struct brw_reg tmp = brw_vec4_grf(c->last_tmp, 0); in get_tmp() 50 static void release_tmp( struct brw_clip_compile *c, struct brw_reg tmp ) in release_tmp() 57 static struct brw_reg make_plane_ud(GLuint x, GLuint y, GLuint z, GLuint w) in make_plane_ud() 83 void brw_clip_project_position(struct brw_clip_compile *c, struct brw_reg pos ) in brw_clip_project_position() 104 struct brw_reg tmp = get_tmp(c); in brw_clip_project_vertex() 131 struct brw_reg t0, in brw_clip_interp_vertex() 135 struct brw_reg t_nopersp, v0_ndc_copy; in brw_clip_interp_vertex() 166 struct brw_reg tmp = get_tmp(c); in brw_clip_interp_vertex() 182 struct brw_reg tmp = get_tmp(c); in brw_clip_interp_vertex() [all …]
|
D | brw_clip_unfilled.c | 46 struct brw_reg e = c->reg.tmp0; in compute_tri_direction() 47 struct brw_reg f = c->reg.tmp1; in compute_tri_direction() 49 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); in compute_tri_direction() 50 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); in compute_tri_direction() 51 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); in compute_tri_direction() 54 struct brw_reg v0n = get_tmp(c); in compute_tri_direction() 55 struct brw_reg v1n = get_tmp(c); in compute_tri_direction() 56 struct brw_reg v2n = get_tmp(c); in compute_tri_direction() 197 struct brw_reg off = c->reg.offset; in compute_offset() 198 struct brw_reg dir = c->reg.dir; in compute_offset() [all …]
|
D | brw_shader.h | 100 bool brw_saturate_immediate(enum brw_reg_type type, struct brw_reg *reg); 101 bool brw_negate_immediate(enum brw_reg_type type, struct brw_reg *reg); 102 bool brw_abs_immediate(enum brw_reg_type type, struct brw_reg *reg);
|
D | brw_clip_tri.c | 137 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_init_vertices() 177 struct brw_reg tmp0 = c->reg.loopcount; /* handy temporary */ in brw_clip_tri_flat_shade() 229 struct brw_reg dst, GLuint hpos_offset, int cond) in load_clip_distance() 517 struct brw_reg t = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 518 struct brw_reg t1 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 519 struct brw_reg t2 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 520 struct brw_reg t3 = retype(get_tmp(c), BRW_REGISTER_TYPE_UD); in brw_clip_test() 522 struct brw_reg v0 = get_tmp(c); in brw_clip_test() 523 struct brw_reg v1 = get_tmp(c); in brw_clip_test() 524 struct brw_reg v2 = get_tmp(c); in brw_clip_test() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_ff_gs.h | 79 struct brw_reg R0; 86 struct brw_reg SVBI; 88 struct brw_reg vertex[MAX_GS_VERTS]; 89 struct brw_reg header; 90 struct brw_reg temp; 96 struct brw_reg destination_indices;
|
/external/mesa3d/src/intel/tools/ |
D | i965_gram.y | 83 static struct brw_reg 84 set_direct_src_operand(struct brw_reg *reg, int type) in set_direct_src_operand() 86 return brw_reg(reg->file, in set_direct_src_operand() 101 struct brw_reg dest, struct brw_reg src0) in i965_asm_unary_instruction() 157 struct brw_reg dest, in i965_asm_binary_instruction() 158 struct brw_reg src0, in i965_asm_binary_instruction() 159 struct brw_reg src1) in i965_asm_binary_instruction() 251 struct brw_reg dest, in i965_asm_ternary_instruction() 252 struct brw_reg src0, in i965_asm_ternary_instruction() 253 struct brw_reg src1, in i965_asm_ternary_instruction() [all …]
|