Home
last modified time | relevance | path

Searched refs:emit (Results 1 – 25 of 1216) sorted by relevance

12345678910>>...49

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c37 static boolean emit_vs_postamble( struct svga_shader_emitter *emit );
38 static boolean emit_ps_postamble( struct svga_shader_emitter *emit );
86 translate_dst_register( struct svga_shader_emitter *emit, in translate_dst_register() argument
98 dest = emit->output_map[reg->Register.Index]; in translate_dst_register()
146 svga_arl_needs_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_needs_adjustment() argument
150 for (i = 0; i < emit->num_arl_consts; ++i) { in svga_arl_needs_adjustment()
151 if (emit->arl_consts[i].arl_num == emit->current_arl) in svga_arl_needs_adjustment()
158 svga_arl_adjustment( const struct svga_shader_emitter *emit ) in svga_arl_adjustment() argument
162 for (i = 0; i < emit->num_arl_consts; ++i) { in svga_arl_adjustment()
163 if (emit->arl_consts[i].arl_num == emit->current_arl) in svga_arl_adjustment()
[all …]
Dsvga_tgsi_decl_sm30.c39 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, Elements(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 …]
Dsvga_tgsi.c53 static void svga_destroy_shader_emitter( struct svga_shader_emitter *emit )
55 if (emit->buf != err_buf)
56 FREE(emit->buf);
61 static boolean svga_shader_expand( struct svga_shader_emitter *emit ) in svga_shader_expand() argument
64 unsigned newsize = emit->size * 2; in svga_shader_expand()
66 if(emit->buf != err_buf) in svga_shader_expand()
67 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand()
72 emit->ptr = err_buf; in svga_shader_expand()
73 emit->buf = err_buf; in svga_shader_expand()
74 emit->size = sizeof(err_buf); in svga_shader_expand()
[all …]
Dsvga_tgsi_emit.h132 boolean svga_shader_emit_dword( struct svga_shader_emitter *emit,
135 boolean svga_shader_emit_dwords( struct svga_shader_emitter *emit,
139 boolean svga_shader_emit_opcode( struct svga_shader_emitter *emit,
142 boolean svga_shader_emit_instructions( struct svga_shader_emitter *emit,
145 boolean svga_translate_decl_sm30( struct svga_shader_emitter *emit,
149 static INLINE boolean emit_dst( struct svga_shader_emitter *emit, in emit_dst() argument
154 return svga_shader_emit_dword( emit, dest.value ); in emit_dst()
157 static INLINE boolean emit_src( struct svga_shader_emitter *emit, in emit_src() argument
163 return (svga_shader_emit_dword( emit, src.base.value ) && in emit_src()
164 svga_shader_emit_dword( emit, src.indirect.value )); in emit_src()
[all …]
/external/v8/src/x64/
Dassembler-x64.cc470 emit(opcode); in arithmetic_op()
484 emit(opcode ^ 0x02); in arithmetic_op()
488 emit(opcode); in arithmetic_op()
499 emit(0x66); in arithmetic_op_16()
501 emit(opcode ^ 0x02); in arithmetic_op_16()
504 emit(0x66); in arithmetic_op_16()
506 emit(opcode); in arithmetic_op_16()
516 emit(0x66); in arithmetic_op_16()
518 emit(opcode); in arithmetic_op_16()
529 emit(opcode); in arithmetic_op_8()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_driver.h61 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 …]
Dnv20_driver.h55 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 …]
Dnv04_driver.h67 nv04_emit_framebuffer(struct gl_context *ctx, int emit);
70 nv04_emit_scissor(struct gl_context *ctx, int emit);
74 nv04_defer_control(struct gl_context *ctx, int emit);
77 nv04_emit_control(struct gl_context *ctx, int emit);
80 nv04_defer_blend(struct gl_context *ctx, int emit);
83 nv04_emit_blend(struct gl_context *ctx, int emit);
87 nv04_emit_tex_env(struct gl_context *ctx, int emit);
91 nv04_emit_tex_obj(struct gl_context *ctx, int emit);
Dnv10_state_raster.c35 nv10_emit_alpha_func(struct gl_context *ctx, int emit) in nv10_emit_alpha_func() argument
48 nv10_emit_blend_color(struct gl_context *ctx, int emit) in nv10_emit_blend_color() argument
60 nv10_emit_blend_equation(struct gl_context *ctx, int emit) in nv10_emit_blend_equation() argument
72 nv10_emit_blend_func(struct gl_context *ctx, int emit) in nv10_emit_blend_func() argument
82 nv10_emit_color_mask(struct gl_context *ctx, int emit) in nv10_emit_color_mask() argument
94 nv10_emit_depth(struct gl_context *ctx, int emit) in nv10_emit_depth() argument
107 nv10_emit_dither(struct gl_context *ctx, int emit) in nv10_emit_dither() argument
116 nv10_emit_logic_opcode(struct gl_context *ctx, int emit) in nv10_emit_logic_opcode() argument
129 nv10_emit_shade_model(struct gl_context *ctx, int emit) in nv10_emit_shade_model() argument
139 nv10_emit_stencil_func(struct gl_context *ctx, int emit) in nv10_emit_stencil_func() argument
[all …]
Dnv20_render.c86 .emit = nv20_emit_material,
89 .emit = nv20_emit_material,
92 .emit = nv20_emit_material,
95 .emit = nv20_emit_material,
98 .emit = nv20_emit_material,
101 .emit = nv20_emit_material,
104 .emit = nv20_emit_material,
107 .emit = nv20_emit_material,
110 .emit = nv20_emit_material,
113 .emit = nv20_emit_material,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c50 draw_pt_emit_prepare(struct pt_emit *emit, in draw_pt_emit_prepare() argument
54 struct draw_context *draw = emit->draw; in draw_pt_emit_prepare()
67 emit->prim = prim; in draw_pt_emit_prepare()
69 draw->render->set_primitive(draw->render, emit->prim); in draw_pt_emit_prepare()
73 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare()
84 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
85 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
90 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare()
109 if (!emit->translate || in draw_pt_emit_prepare()
110 translate_key_compare(&emit->translate->key, &hw_key) != 0) { in draw_pt_emit_prepare()
[all …]
Ddraw_pt_so_emit.c54 void draw_pt_so_emit_prepare(struct pt_so_emit *emit) in draw_pt_so_emit_prepare() argument
56 struct draw_context *draw = emit->draw; in draw_pt_so_emit_prepare()
58 emit->has_so = (draw->vs.vertex_shader->state.stream_output.num_outputs > 0); in draw_pt_so_emit_prepare()
62 if (emit->has_so) { in draw_pt_so_emit_prepare()
71 emit->has_so = has_valid_buffer; in draw_pt_so_emit_prepare()
74 if (!emit->has_so) in draw_pt_so_emit_prepare()
185 void draw_pt_so_emit( struct pt_so_emit *emit, in draw_pt_so_emit() argument
189 struct draw_context *draw = emit->draw; in draw_pt_so_emit()
193 if (!emit->has_so) in draw_pt_so_emit()
196 emit->emitted_vertices = 0; in draw_pt_so_emit()
[all …]
Ddraw_vs_variant.c57 struct translate *emit; member
175 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts()
181 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_elts()
187 vsvg->emit->run( vsvg->emit, in vsvg_run_elts()
238 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_linear()
244 vsvg->emit->set_buffer( vsvg->emit, in vsvg_run_linear()
250 vsvg->emit->run( vsvg->emit, in vsvg_run_linear()
273 struct translate_key fetch, emit; in draw_vs_create_variant_generic() local
307 emit.nr_elements = key->nr_outputs; in draw_vs_create_variant_generic()
308 emit.output_stride = key->output_stride; in draw_vs_create_variant_generic()
[all …]
Ddraw_vertex.h89 unsigned emit:4; /**< EMIT_x */ member
126 enum attrib_emit emit, in draw_emit_vertex_attr() argument
132 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr()
146 static INLINE enum pipe_format draw_translate_vinfo_format(enum attrib_emit emit) in draw_translate_vinfo_format() argument
148 switch (emit) { in draw_translate_vinfo_format()
170 static INLINE unsigned draw_translate_vinfo_size(enum attrib_emit emit) in draw_translate_vinfo_size() argument
172 switch (emit) { in draw_translate_vinfo_size()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_visitor.cpp205 fs_inst *inst = emit(BRW_OPCODE_MOV, this->result, src); in try_emit_saturate()
248 emit(BRW_OPCODE_MAD, this->result, src0, src1, src2); in try_emit_mad()
297 emit(BRW_OPCODE_XOR, this->result, op[0], fs_reg(1)); in visit()
311 emit(BRW_OPCODE_MOV, this->result, fs_reg(0.0f)); in visit()
313 inst = emit(BRW_OPCODE_CMP, reg_null_f, op[0], fs_reg(0.0f)); in visit()
315 inst = emit(BRW_OPCODE_MOV, this->result, fs_reg(1.0f)); in visit()
318 inst = emit(BRW_OPCODE_CMP, reg_null_f, op[0], fs_reg(0.0f)); in visit()
320 inst = emit(BRW_OPCODE_MOV, this->result, fs_reg(-1.0f)); in visit()
348 emit(FS_OPCODE_DDX, this->result, op[0]); in visit()
351 emit(FS_OPCODE_DDY, this->result, op[0]); in visit()
[all …]
Dbrw_vec4_visitor.cpp47 vec4_visitor::emit(vec4_instruction *inst) in emit() function in brw::vec4_visitor
66 vec4_visitor::emit(enum opcode opcode, dst_reg dst, in emit() function in brw::vec4_visitor
69 return emit(new(mem_ctx) vec4_instruction(this, opcode, dst, in emit()
75 vec4_visitor::emit(enum opcode opcode, dst_reg dst, src_reg src0, src_reg src1) in emit() function in brw::vec4_visitor
77 return emit(new(mem_ctx) vec4_instruction(this, opcode, dst, src0, src1)); in emit()
81 vec4_visitor::emit(enum opcode opcode, dst_reg dst, src_reg src0) in emit() function in brw::vec4_visitor
83 return emit(new(mem_ctx) vec4_instruction(this, opcode, dst, src0)); in emit()
87 vec4_visitor::emit(enum opcode opcode) in emit() function in brw::vec4_visitor
89 return emit(new(mem_ctx) vec4_instruction(this, opcode, dst_reg())); in emit()
215 emit(dot_opcodes[elements - 2], dst, src0, src1); in emit_dp()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_emit.c57 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/clang/test/Driver/
Dr600-mcpu.cl3 // 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/valgrind/exp-sgcheck/
Dpc_common.c279 static void emit ( const HChar* format, ... ) PRINTF_CHECK(1, 2);
280 static void emit ( const HChar* format, ... ) in emit() function
313 emit( " <kind>%s</kind>\n", pc_get_error_name(err)); in pc_pp_Error()
322 emit( " <what>Invalid %s of size %ld</what>\n", in pc_pp_Error()
327 emit( " <auxwhat>Address %#lx expected vs actual:</auxwhat>\n", in pc_pp_Error()
336 emit( "Invalid %s of size %ld\n", in pc_pp_Error()
341 emit( " Address %#lx expected vs actual:\n", xe->XE.SorG.addr ); in pc_pp_Error()
342 emit( " Expected: %s\n", &xe->XE.SorG.expect[0] ); in pc_pp_Error()
343 emit( " Actual: %s\n", &xe->XE.SorG.actual[0] ); in pc_pp_Error()
345 emit(" Actual: is %s Expected\n", &xe->XE.SorG.delta[0]); in pc_pp_Error()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c614 if (bld_base->rsq_action.emit) { in rsq_emit()
615 bld_base->rsq_action.emit(&bld_base->rsq_action, bld_base, emit_data); in rsq_emit()
805 bld_base->op_actions[TGSI_OPCODE_ADD].emit = add_emit; in lp_set_default_actions()
806 bld_base->op_actions[TGSI_OPCODE_ARR].emit = arr_emit; in lp_set_default_actions()
807 bld_base->op_actions[TGSI_OPCODE_CLAMP].emit = clamp_emit; in lp_set_default_actions()
808 bld_base->op_actions[TGSI_OPCODE_END].emit = end_emit; in lp_set_default_actions()
809 bld_base->op_actions[TGSI_OPCODE_FRC].emit = frc_emit; in lp_set_default_actions()
810 bld_base->op_actions[TGSI_OPCODE_LRP].emit = lrp_emit; in lp_set_default_actions()
811 bld_base->op_actions[TGSI_OPCODE_MAD].emit = mad_emit; in lp_set_default_actions()
812 bld_base->op_actions[TGSI_OPCODE_MOV].emit = mov_emit; in lp_set_default_actions()
[all …]
/external/valgrind/helgrind/
Dhg_errors.c720 static void emit ( const HChar* format, ... ) PRINTF_CHECK(1, 2);
721 static void emit ( const HChar* format, ... ) in emit() function
790 emit( " <auxwhat>Lock at %p was first observed</auxwhat>\n", in announce_LockP()
928 emit( " <kind>%s</kind>\n", HG_(get_error_name)(err)); in HG_()
937 emit( " <xwhat>\n" ); in HG_()
938 emit( " <text>Thread #%d: %s</text>\n", in HG_()
941 emit( " <hthreadid>%d</hthreadid>\n", in HG_()
943 emit( " </xwhat>\n" ); in HG_()
946 emit(" <auxwhat>%s</auxwhat>\n", xe->XE.Misc.auxstr); in HG_()
953 emit( "Thread #%d: %s\n", in HG_()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c1055 bld_base->op_actions[TGSI_OPCODE_IABS].emit = build_tgsi_intrinsic_nomem; in radeon_llvm_context_init()
1057 bld_base->op_actions[TGSI_OPCODE_NOT].emit = emit_not; in radeon_llvm_context_init()
1058 bld_base->op_actions[TGSI_OPCODE_AND].emit = emit_and; in radeon_llvm_context_init()
1059 bld_base->op_actions[TGSI_OPCODE_XOR].emit = emit_xor; in radeon_llvm_context_init()
1060 bld_base->op_actions[TGSI_OPCODE_OR].emit = emit_or; in radeon_llvm_context_init()
1061 bld_base->op_actions[TGSI_OPCODE_UADD].emit = emit_uadd; in radeon_llvm_context_init()
1062 bld_base->op_actions[TGSI_OPCODE_UDIV].emit = emit_udiv; in radeon_llvm_context_init()
1063 bld_base->op_actions[TGSI_OPCODE_IDIV].emit = emit_idiv; in radeon_llvm_context_init()
1064 bld_base->op_actions[TGSI_OPCODE_MOD].emit = emit_mod; in radeon_llvm_context_init()
1065 bld_base->op_actions[TGSI_OPCODE_UMOD].emit = emit_umod; in radeon_llvm_context_init()
[all …]
/external/v8/src/ppc/
Dassembler-ppc.cc581 emit(instr | frt.code() * B21 | fra.code() * B16 | frb.code() * B11 | r); in a_form()
600 emit(instr | rt.code() * B21 | ra.code() * B16 | (kImm16Mask & val)); in d_form()
606 emit(instr | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | r); in x_form()
612 emit(instr | rt.code() * B21 | ra.code() * B16 | rb.code() * B11 | o | r); in xo_form()
623 emit(instr | rs.code() * B21 | ra.code() * B16 | sh0_4 * B11 | m0_4 * B6 | in md_form()
633 emit(instr | rs.code() * B21 | ra.code() * B16 | rb.code() * B11 | m0_4 * B6 | in mds_form()
679 emit(EXT1 | bo | condition_bit * B16 | BCLRX | lk); in bclr()
685 emit(EXT1 | bo | condition_bit * B16 | BCCTRX | lk); in bcctr()
706 emit(BCX | bo | condition_bit * B16 | (imm16 & kImm16Mask) | lk); in bc()
716 emit(BX | (imm26 & kImm26Mask) | lk); in b()
[all …]
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java407 emit ('('); parameterTypes (_parameterTypes); emit (')'); returnType (_returnType); in signatureDescriptor()
435 emit ('V'); in returnType()
447 if (byte.class == _parameterType) emit ('B'); in parameterType()
448 else if (char.class == _parameterType) emit ('C'); in parameterType()
449 else if (double.class == _parameterType) emit ('D'); in parameterType()
450 else if (float.class == _parameterType) emit ('F'); in parameterType()
451 else if (int.class == _parameterType) emit ('I'); in parameterType()
452 else if (long.class == _parameterType) emit ('J'); in parameterType()
453 else if (short.class == _parameterType) emit ('S'); in parameterType()
454 else if (boolean.class == _parameterType) emit ('Z'); in parameterType()
[all …]
/external/valgrind/memcheck/
Dmc_errors.c218 static void emit ( const HChar* format, ... ) PRINTF_CHECK(1, 2);
219 static void emit ( const HChar* format, ... ) in emit() function
296 emit( " <auxwhat>Uninitialised value was created%s</auxwhat>\n", in mc_pp_origin()
300 emit( " Uninitialised value was created%s\n", src); in mc_pp_origin()
353 emit(" <kind>%s</kind>\n", xml_leak_kind(lr->key.state)); in pp_LossRecord()
355 emit( " <xwhat>\n" ); in pp_LossRecord()
356 emit( " <text>%'lu%s (%'lu%s direct, %'lu%s indirect) bytes " in pp_LossRecord()
366 emit( " <leakedbytes>%lu</leakedbytes>\n", in pp_LossRecord()
368 emit( " <leakedblocks>%u</leakedblocks>\n", lr->num_blocks ); in pp_LossRecord()
369 emit( " </xwhat>\n" ); in pp_LossRecord()
[all …]

12345678910>>...49