/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_insn.c | 38 static boolean emit_vs_postamble( struct svga_shader_emitter *emit ); 39 static boolean emit_ps_postamble( struct svga_shader_emitter *emit ); 87 translate_dst_register( struct svga_shader_emitter *emit, in translate_dst_register() argument 99 dest = emit->output_map[reg->Register.Index]; in translate_dst_register() 100 emit->num_output_writes++; in translate_dst_register() 165 svga_arl_needs_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_needs_adjustment() argument 169 for (i = 0; i < emit->num_arl_consts; ++i) { in svga_arl_needs_adjustment() 170 if (emit->arl_consts[i].arl_num == emit->current_arl) in svga_arl_needs_adjustment() 178 svga_arl_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_adjustment() argument 182 for (i = 0; i < emit->num_arl_consts; ++i) { in svga_arl_adjustment() [all …]
|
D | svga_tgsi_vgpu10.c | 230 emit_post_helpers(struct svga_shader_emitter_v10 *emit); 233 emit_vertex(struct svga_shader_emitter_v10 *emit, 239 expand(struct svga_shader_emitter_v10 *emit) in expand() argument 242 unsigned newsize = emit->size * 2; in expand() 244 if (emit->buf != err_buf) in expand() 245 new_buf = REALLOC(emit->buf, emit->size, newsize); in expand() 250 emit->ptr = err_buf; in expand() 251 emit->buf = err_buf; in expand() 252 emit->size = sizeof(err_buf); in expand() 256 emit->size = newsize; in expand() [all …]
|
D | svga_tgsi_decl_sm30.c | 39 translate_vs_ps_semantic(struct svga_shader_emitter *emit, in translate_vs_ps_semantic() argument 67 *idx = svga_remap_generic_index(emit->key.generic_remap_table, in translate_vs_ps_semantic() 99 emit_decl(struct svga_shader_emitter *emit, in emit_decl() argument 120 return (emit_instruction(emit, opcode) && in emit_decl() 121 svga_shader_emit_dwords( emit, dcl.values, ARRAY_SIZE(dcl.values))); in emit_decl() 129 emit_vface_decl(struct svga_shader_emitter *emit) in emit_vface_decl() argument 131 if (!emit->emitted_vface) { in emit_vface_decl() 135 if (!emit_decl( emit, reg, 0, 0 )) in emit_vface_decl() 138 emit->emitted_vface = TRUE; in emit_vface_decl() 149 ps30_input_emit_depth_fog( struct svga_shader_emitter *emit, in ps30_input_emit_depth_fog() argument [all …]
|
D | svga_tgsi.c | 55 svga_shader_expand(struct svga_shader_emitter *emit) in svga_shader_expand() argument 58 unsigned newsize = emit->size * 2; in svga_shader_expand() 60 if (emit->buf != err_buf) in svga_shader_expand() 61 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand() 66 emit->ptr = err_buf; in svga_shader_expand() 67 emit->buf = err_buf; in svga_shader_expand() 68 emit->size = sizeof(err_buf); in svga_shader_expand() 72 emit->size = newsize; in svga_shader_expand() 73 emit->ptr = new_buf + (emit->ptr - emit->buf); in svga_shader_expand() 74 emit->buf = new_buf; in svga_shader_expand() [all …]
|
/external/python/cpython3/Parser/ |
D | asdl_c.py | 87 self.emit("_Py_IDENTIFIER(%s);" % name, 0) 90 def emit(self, s, depth, reflow=True): member in EmitVisitor 124 self.emit(s, depth) 125 self.emit("", depth) 130 self.emit(s, depth) 131 self.emit("", depth) 136 self.emit(s, depth) 137 self.emit("", depth) 155 def emit(s, depth=depth): function 156 self.emit(s % sys._getframe(1).f_locals, depth) [all …]
|
/external/python/cpython2/Parser/ |
D | asdl_c.py | 89 def emit(self, s, depth, reflow=True): member in EmitVisitor 122 self.emit(s, depth) 123 self.emit("", depth) 128 self.emit(s, depth) 129 self.emit("", depth) 134 self.emit(s, depth) 135 self.emit("", depth) 153 def emit(s, depth=depth): function 154 self.emit(s % sys._getframe(1).f_locals, depth) 160 emit("enum _%(name)s_kind {" + ", ".join(enum) + "};") [all …]
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 698 emit(opcode); in arithmetic_op() 712 emit(opcode ^ 0x02); in arithmetic_op() 716 emit(opcode); in arithmetic_op() 727 emit(0x66); in arithmetic_op_16() 729 emit(opcode ^ 0x02); in arithmetic_op_16() 732 emit(0x66); in arithmetic_op_16() 734 emit(opcode); in arithmetic_op_16() 741 emit(0x66); in arithmetic_op_16() 743 emit(opcode); in arithmetic_op_16() 754 emit(opcode); in arithmetic_op_8() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv10_driver.h | 61 nv10_emit_framebuffer(struct gl_context *ctx, int emit); 64 nv10_emit_render_mode(struct gl_context *ctx, int emit); 67 nv10_emit_scissor(struct gl_context *ctx, int emit); 70 nv10_emit_viewport(struct gl_context *ctx, int emit); 73 nv10_emit_zclear(struct gl_context *ctx, int emit); 77 nv10_emit_cull_face(struct gl_context *ctx, int emit); 80 nv10_emit_front_face(struct gl_context *ctx, int emit); 83 nv10_emit_line_mode(struct gl_context *ctx, int emit); 86 nv10_emit_line_stipple(struct gl_context *ctx, int emit); 89 nv10_emit_point_mode(struct gl_context *ctx, int emit); [all …]
|
D | nv20_driver.h | 55 nv20_emit_framebuffer(struct gl_context *ctx, int emit); 58 nv20_emit_viewport(struct gl_context *ctx, int emit); 62 nv20_emit_point_mode(struct gl_context *ctx, int emit); 66 nv20_emit_logic_opcode(struct gl_context *ctx, int emit); 70 nv20_emit_tex_env(struct gl_context *ctx, int emit); 73 nv20_emit_frag(struct gl_context *ctx, int emit); 77 nv20_emit_tex_gen(struct gl_context *ctx, int emit); 80 nv20_emit_tex_mat(struct gl_context *ctx, int emit); 83 nv20_emit_tex_obj(struct gl_context *ctx, int emit); 86 nv20_emit_tex_shader(struct gl_context *ctx, int emit); [all …]
|
/external/python/cpython2/Lib/ |
D | sre_compile.py | 66 emit = code.append 83 emit(OPCODES[IN_IGNORE]) 84 skip = _len(code); emit(0) 86 emit(OPCODES[NEGATE]) 88 emit(OPCODES[LITERAL]) 89 emit(k) 90 emit(OPCODES[FAILURE]) 93 emit(OPCODES[OP_IGNORE[op]]) 94 emit(lo) 96 emit(OPCODES[op]) [all …]
|
/external/mesa3d/src/intel/compiler/ |
D | gen6_gs_visitor.cpp | 69 emit(MOV(dst_reg(this->vertex_output_offset), brw_imm_ud(0u))); in emit_prolog() 74 vec4_instruction *inst = emit(MOV(dst_reg(MRF, 1), in emit_prolog() 91 emit(MOV(dst_reg(this->first_vertex), brw_imm_ud(URB_WRITE_PRIM_START))); in emit_prolog() 97 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog() 108 emit(MOV(dst_reg(this->max_svbi), in emit_prolog() 135 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id)); in emit_prolog() 169 vec4_instruction *inst = emit(MOV(dst, src_reg(tmp))); in gs_emit_vertex() 173 emit(ADD(dst_reg(this->vertex_output_offset), in gs_emit_vertex() 185 emit(MOV(dst, brw_imm_d((_3DPRIM_POINTLIST << URB_WRITE_PRIM_TYPE_SHIFT) | in gs_emit_vertex() 187 emit(ADD(dst_reg(this->prim_count), this->prim_count, brw_imm_ud(1u))); in gs_emit_vertex() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | builtin_int64.h | 16 body.emit(r0003); in umul64() 17 body.emit(assign(r0003, imul_high(swizzle_x(r0001), swizzle_x(r0002)), 0x02)); in umul64() 19 body.emit(assign(r0003, mul(swizzle_x(r0001), swizzle_x(r0002)), 0x01)); in umul64() 24 body.emit(assign(r0003, add(swizzle_y(r0003), r0006), 0x02)); in umul64() 26 body.emit(ret(r0003)); in umul64() 44 body.emit(r0008); in sign64() 45 body.emit(assign(r0008, rshift(swizzle_y(r0007), body.constant(int(31))), 0x02)); in sign64() 50 body.emit(assign(r0008, bit_or(swizzle_y(r0008), r000B), 0x01)); in sign64() 52 body.emit(ret(r0008)); in sign64() 72 body.emit(r000E); in udivmod64() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_emit.c | 54 draw_pt_emit_prepare(struct pt_emit *emit, in draw_pt_emit_prepare() argument 58 struct draw_context *draw = emit->draw; in draw_pt_emit_prepare() 71 emit->prim = prim; in draw_pt_emit_prepare() 73 draw->render->set_primitive(draw->render, emit->prim); in draw_pt_emit_prepare() 77 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare() 88 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 89 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare() 94 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare() 118 if (!emit->translate || in draw_pt_emit_prepare() 119 translate_key_compare(&emit->translate->key, &hw_key) != 0) { in draw_pt_emit_prepare() [all …]
|
D | draw_vs_variant.c | 57 struct translate *emit; member 201 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts() 207 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts() 213 vsvg->emit->run( vsvg->emit, in vsvg_run_elts() 266 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_linear() 272 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_linear() 278 vsvg->emit->run( vsvg->emit, in vsvg_run_linear() 302 struct translate_key fetch, emit; in draw_vs_create_variant_generic() local 336 emit.nr_elements = key->nr_outputs; in draw_vs_create_variant_generic() 337 emit.output_stride = key->output_stride; in draw_vs_create_variant_generic() [all …]
|
D | draw_pt_so_emit.c | 79 void draw_pt_so_emit_prepare(struct pt_so_emit *emit, boolean use_pre_clip_pos) in draw_pt_so_emit_prepare() argument 81 struct draw_context *draw = emit->draw; in draw_pt_so_emit_prepare() 83 emit->use_pre_clip_pos = use_pre_clip_pos; in draw_pt_so_emit_prepare() 84 emit->has_so = draw_has_so(draw); in draw_pt_so_emit_prepare() 86 emit->pos_idx = draw_current_shader_position_output(draw); in draw_pt_so_emit_prepare() 90 if (emit->has_so) { in draw_pt_so_emit_prepare() 99 emit->has_so = has_valid_buffer; in draw_pt_so_emit_prepare() 102 if (!emit->has_so) in draw_pt_so_emit_prepare() 260 void draw_pt_so_emit( struct pt_so_emit *emit, in draw_pt_so_emit() argument 264 struct draw_context *draw = emit->draw; in draw_pt_so_emit() [all …]
|
/external/python/cpython2/Lib/compiler/ |
D | pycodegen.py | 240 self.emit = self.graph.emit 283 self.emit(prefix + '_NAME', name) 285 self.emit(prefix + '_FAST', name) 287 self.emit(prefix + '_GLOBAL', name) 290 self.emit(prefix + '_NAME', name) 292 self.emit(prefix + '_GLOBAL', name) 294 self.emit(prefix + '_DEREF', name) 307 self.emit(prefix + '_FAST', name) 309 self.emit(prefix + '_NAME', name) 333 self.emit('SET_LINENO', lineno) [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_alu.c | 716 bld_base->op_actions[TGSI_OPCODE_AND].emit = emit_and; in si_shader_context_init_alu() 717 bld_base->op_actions[TGSI_OPCODE_ARL].emit = emit_arl; in si_shader_context_init_alu() 718 bld_base->op_actions[TGSI_OPCODE_BFI].emit = emit_bfi; in si_shader_context_init_alu() 719 bld_base->op_actions[TGSI_OPCODE_BREV].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() 721 bld_base->op_actions[TGSI_OPCODE_CEIL].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() 723 bld_base->op_actions[TGSI_OPCODE_CMP].emit = emit_cmp; in si_shader_context_init_alu() 724 bld_base->op_actions[TGSI_OPCODE_COS].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() 726 bld_base->op_actions[TGSI_OPCODE_DABS].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() 728 bld_base->op_actions[TGSI_OPCODE_DCEIL].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() 730 bld_base->op_actions[TGSI_OPCODE_DFLR].emit = build_tgsi_intrinsic_nomem; in si_shader_context_init_alu() [all …]
|
/external/python/cpython3/Lib/ |
D | sre_compile.py | 73 emit = code.append 93 emit(op) 94 emit(av) 96 emit(OP_LOCALE_IGNORE[op]) 97 emit(av) 99 emit(op) 100 emit(av) 104 emit(OP_IGNORE[op]) 105 emit(lo) 107 emit(OP_UNICODE_IGNORE[op]) [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.h | 71 fd4_emit_get_vp(struct fd4_emit *emit) in fd4_emit_get_vp() argument 73 if (!emit->vp) { in fd4_emit_get_vp() 74 struct fd4_shader_stateobj *so = emit->prog->vp; in fd4_emit_get_vp() 75 emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug); in fd4_emit_get_vp() 77 return emit->vp; in fd4_emit_get_vp() 81 fd4_emit_get_fp(struct fd4_emit *emit) in fd4_emit_get_fp() argument 83 if (!emit->fp) { in fd4_emit_get_fp() 84 if (emit->key.binning_pass) { in fd4_emit_get_fp() 87 emit->fp = &binning_fp; in fd4_emit_get_fp() 89 struct fd4_shader_stateobj *so = emit->prog->fp; in fd4_emit_get_fp() [all …]
|
D | fd4_draw.c | 47 struct fd4_emit *emit, unsigned index_offset) in draw_impl() argument 49 const struct pipe_draw_info *info = emit->info; in draw_impl() 52 fd4_emit_state(ctx, ring, emit); in draw_impl() 54 if (emit->dirty & (FD_DIRTY_VTXBUF | FD_DIRTY_VTXSTATE)) in draw_impl() 55 fd4_emit_vertex_bufs(ring, emit); in draw_impl() 67 fd4_emit_get_vp(emit)->writes_psize && in draw_impl() 72 emit->key.binning_pass ? IGNORE_VISIBILITY : USE_VISIBILITY, in draw_impl() 106 struct fd4_emit emit = { in fd4_draw_vbo() local 135 fixup_shader_state(ctx, &emit.key); in fd4_draw_vbo() 141 if (!(fd4_emit_get_vp(&emit) && fd4_emit_get_fp(&emit))) in fd4_draw_vbo() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.h | 62 fd3_emit_get_vp(struct fd3_emit *emit) in fd3_emit_get_vp() argument 64 if (!emit->vp) { in fd3_emit_get_vp() 65 struct fd3_shader_stateobj *so = emit->prog->vp; in fd3_emit_get_vp() 66 emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug); in fd3_emit_get_vp() 68 return emit->vp; in fd3_emit_get_vp() 72 fd3_emit_get_fp(struct fd3_emit *emit) in fd3_emit_get_fp() argument 74 if (!emit->fp) { in fd3_emit_get_fp() 75 if (emit->key.binning_pass) { in fd3_emit_get_fp() 78 emit->fp = &binning_fp; in fd3_emit_get_fp() 80 struct fd3_shader_stateobj *so = emit->prog->fp; in fd3_emit_get_fp() [all …]
|
D | fd3_draw.c | 58 struct fd3_emit *emit, unsigned index_offset) in draw_impl() argument 60 const struct pipe_draw_info *info = emit->info; in draw_impl() 63 fd3_emit_state(ctx, ring, emit); in draw_impl() 65 if (emit->dirty & (FD_DIRTY_VTXBUF | FD_DIRTY_VTXSTATE)) in draw_impl() 66 fd3_emit_vertex_bufs(ring, emit); in draw_impl() 83 fd3_emit_get_vp(emit)->writes_psize && in draw_impl() 88 emit->key.binning_pass ? IGNORE_VISIBILITY : USE_VISIBILITY, in draw_impl() 122 struct fd3_emit emit = { in fd3_draw_vbo() local 147 emit.key.ucp_enables = ctx->rasterizer->clip_plane_enable; in fd3_draw_vbo() 149 fixup_shader_state(ctx, &emit.key); in fd3_draw_vbo() [all …]
|
/external/clang/test/Driver/ |
D | r600-mcpu.cl | 3 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=r600 %s -o - 2>&1 | FileCheck --check-pr… 4 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv630 %s -o - 2>&1 | FileCheck --check-p… 5 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv635 %s -o - 2>&1 | FileCheck --check-p… 6 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv610 %s -o - 2>&1 | FileCheck --check-p… 7 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv620 %s -o - 2>&1 | FileCheck --check-p… 8 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rs780 %s -o - 2>&1 | FileCheck --check-p… 9 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rs880 %s -o - 2>&1 | FileCheck --check-p… 10 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv670 %s -o - 2>&1 | FileCheck --check-p… 11 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv710 %s -o - 2>&1 | FileCheck --check-p… 12 // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv730 %s -o - 2>&1 | FileCheck --check-p… [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | r300_fragprog_emit.c | 57 struct r300_fragment_program_compiler *c = emit->compiler; \ 151 static int emit_alu(struct r300_emit_state * emit, struct rc_pair_instruction* inst) in emit_alu() argument 258 emit->node_flags |= R300_RGBA_OUT; in emit_alu() 272 emit->node_flags |= R300_RGBA_OUT; in emit_alu() 276 emit->node_flags |= R300_W_OUT; in emit_alu() 305 static int finish_node(struct r300_emit_state * emit) in finish_node() argument 307 struct r300_fragment_program_compiler * c = emit->compiler; in finish_node() 308 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; in finish_node() 316 if (code->alu.length == emit->node_first_alu) { in finish_node() 320 if (!emit_alu(emit, &inst)) in finish_node() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.h | 75 fd5_emit_get_vp(struct fd5_emit *emit) in fd5_emit_get_vp() argument 77 if (!emit->vp) { in fd5_emit_get_vp() 78 struct fd5_shader_stateobj *so = emit->prog->vp; in fd5_emit_get_vp() 79 emit->vp = ir3_shader_variant(so->shader, emit->key, emit->debug); in fd5_emit_get_vp() 81 return emit->vp; in fd5_emit_get_vp() 85 fd5_emit_get_fp(struct fd5_emit *emit) in fd5_emit_get_fp() argument 87 if (!emit->fp) { in fd5_emit_get_fp() 88 if (emit->key.binning_pass) { in fd5_emit_get_fp() 91 emit->fp = &binning_fp; in fd5_emit_get_fp() 93 struct fd5_shader_stateobj *so = emit->prog->fp; in fd5_emit_get_fp() [all …]
|