Searched refs:body (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dbuiltin_int64.h6 ir_factory body(&sig->body, mem_ctx); local in function:umul64
16 body.emit(r0003);
17 body.emit(assign(r0003, imul_high(swizzle_x(r0001), swizzle_x(r0002)), 0x02));
19 body.emit(assign(r0003, mul(swizzle_x(r0001), swizzle_x(r0002)), 0x01));
24 body.emit(assign(r0003, add(swizzle_y(r0003), r0006), 0x02));
26 body.emit(ret(r0003));
36 ir_factory body(&sig->body, mem_ctx); local in function:sign64
44 body
62 ir_factory body(&sig->body, mem_ctx); local in function:udivmod64
273 ir_factory body(&sig->body, mem_ctx); local in function:udiv64
482 ir_factory body(&sig->body, mem_ctx); local in function:idiv64
731 ir_factory body(&sig->body, mem_ctx); local in function:umod64
946 ir_factory body(&sig->body, mem_ctx); local in function:imod64
[all...]
H A Dir_function_can_inline.cpp65 v.run((exec_list *) &callee->body);
70 ir_instruction *last = (ir_instruction *)callee->body.get_tail();
H A Dlower_variable_index_to_cond_assign.cpp77 compare_index_block(ir_factory &body, ir_variable *index, argument
99 new(body.mem_ctx) ir_constant(broadcast_index->type, &test_indices_data);
103 ir_variable *const condition = body.make_temp(condition_val->type,
106 body.emit(assign(condition, condition_val));
196 void generate(unsigned i, ir_rvalue* condition, ir_factory &body) const
201 ir_dereference *element = this->rvalue->clone(body.mem_ctx, NULL);
202 ir_constant *const index = body.constant(i);
214 body.emit(assignment);
240 void linear_sequence(unsigned begin, unsigned end, ir_factory &body) argument
255 this->generator.generate(begin, 0, body);
279 bisect(unsigned begin,unsigned end,ir_factory & body) argument
299 generate(unsigned begin,unsigned end,ir_factory & body) argument
435 ir_factory body(&list, mem_ctx); local in function:__anon8ba960860110::variable_index_to_cond_assign_visitor::convert_dereference_array
[all...]
H A Dlower_vec_index_to_cond_assign.cpp87 ir_factory body(&list, base_ir); local in function:ir_vec_index_to_cond_assign_visitor::convert_vec_index_to_cond_assign
93 body.make_temp(orig_index->type, "vec_index_tmp_i");
95 body.emit(assign(index, orig_index));
99 body.make_temp(orig_vector->type, "vec_value_tmp");
101 body.emit(assign(value, orig_vector));
105 ir_variable *const var = body.make_temp(type, "vec_index_tmp_v");
111 compare_index_block(body, index, 0, orig_vector->type->vector_elements);
115 body.emit(assign(var, swizzle(value, i, 1), swizzle(cond, i, 1)));
H A Dlower_int64.cpp199 lower_64bit::expand_source(ir_factory &body, argument
205 ir_variable *const temp = body.make_temp(val->type, "tmp");
207 body.emit(assign(temp, val));
219 expanded_src[i] = body.make_temp(type, "expanded_64bit_source");
221 body.emit(assign(expanded_src[i],
233 lower_64bit::compact_destination(ir_factory &body, argument
242 body.make_temp(type, "compacted_64bit_result");
245 body.emit(assign(compacted_result,
269 ir_factory body(&instructions, mem_ctx); local in function:lower_64bit::lower_op_to_function_call
272 expand_source(body, i
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dbuiltin_int64.h6 ir_factory body(&sig->body, mem_ctx); local in function:umul64
16 body.emit(r0003);
17 body.emit(assign(r0003, imul_high(swizzle_x(r0001), swizzle_x(r0002)), 0x02));
19 body.emit(assign(r0003, mul(swizzle_x(r0001), swizzle_x(r0002)), 0x01));
24 body.emit(assign(r0003, add(swizzle_y(r0003), r0006), 0x02));
26 body.emit(ret(r0003));
36 ir_factory body(&sig->body, mem_ctx); local in function:sign64
44 body
62 ir_factory body(&sig->body, mem_ctx); local in function:udivmod64
273 ir_factory body(&sig->body, mem_ctx); local in function:udiv64
482 ir_factory body(&sig->body, mem_ctx); local in function:idiv64
731 ir_factory body(&sig->body, mem_ctx); local in function:umod64
946 ir_factory body(&sig->body, mem_ctx); local in function:imod64
[all...]
H A Dir_function_can_inline.cpp65 v.run((exec_list *) &callee->body);
70 ir_instruction *last = (ir_instruction *)callee->body.get_tail();
H A Dlower_variable_index_to_cond_assign.cpp77 compare_index_block(ir_factory &body, ir_variable *index, argument
99 new(body.mem_ctx) ir_constant(broadcast_index->type, &test_indices_data);
103 ir_variable *const condition = body.make_temp(condition_val->type,
106 body.emit(assign(condition, condition_val));
196 void generate(unsigned i, ir_rvalue* condition, ir_factory &body) const
201 ir_dereference *element = this->rvalue->clone(body.mem_ctx, NULL);
202 ir_constant *const index = body.constant(i);
214 body.emit(assignment);
240 void linear_sequence(unsigned begin, unsigned end, ir_factory &body) argument
255 this->generator.generate(begin, 0, body);
279 bisect(unsigned begin,unsigned end,ir_factory & body) argument
299 generate(unsigned begin,unsigned end,ir_factory & body) argument
435 ir_factory body(&list, mem_ctx); local in function:__anonacc470530110::variable_index_to_cond_assign_visitor::convert_dereference_array
[all...]
H A Dlower_vec_index_to_cond_assign.cpp87 ir_factory body(&list, base_ir); local in function:ir_vec_index_to_cond_assign_visitor::convert_vec_index_to_cond_assign
93 body.make_temp(orig_index->type, "vec_index_tmp_i");
95 body.emit(assign(index, orig_index));
99 body.make_temp(orig_vector->type, "vec_value_tmp");
101 body.emit(assign(value, orig_vector));
105 ir_variable *const var = body.make_temp(type, "vec_index_tmp_v");
111 compare_index_block(body, index, 0, orig_vector->type->vector_elements);
115 body.emit(assign(var, swizzle(value, i, 1), swizzle(cond, i, 1)));
H A Dlower_int64.cpp199 lower_64bit::expand_source(ir_factory &body, argument
205 ir_variable *const temp = body.make_temp(val->type, "tmp");
207 body.emit(assign(temp, val));
219 expanded_src[i] = body.make_temp(type, "expanded_64bit_source");
221 body.emit(assign(expanded_src[i],
233 lower_64bit::compact_destination(ir_factory &body, argument
242 body.make_temp(type, "compacted_64bit_result");
245 body.emit(assign(compacted_result,
269 ir_factory body(&instructions, mem_ctx); local in function:lower_64bit::lower_op_to_function_call
272 expand_source(body, i
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Dlower_int64_test.cpp33 void expand_source(ir_factory &body,
37 ir_dereference_variable *compact_destination(ir_factory &body,
52 ir_factory *body; member in class:expand_source
66 body = new ir_factory(&instructions, mem_ctx);
72 delete body;
73 body = NULL;
198 lower_64bit::expand_source(*body, deref, expanded_src);
209 lower_64bit::expand_source(*body, deref, expanded_src);
227 lower_64bit::expand_source(*body, deref, expanded_src);
238 lower_64bit::expand_source(*body, dere
382 ir_factory *body; member in class:compact_destination
[all...]
H A Darray_refcount_test.cpp37 ir_factory *body; member in class:array_refcount_test
101 body = new ir_factory(&instructions, mem_ctx);
117 delete body;
118 body = NULL;
425 body->emit(assign(var_a, deref_array(var_c, var_b)));
460 body->emit(assign(var_a, deref_array(var_c, var_b)));
500 body->emit(assign(var_a,
503 body->constant(int(2)))));
531 body->emit(assign(var_a,
534 deref_array(var_b, body
[all...]
H A Dopt_add_neg_to_sub_test.cpp36 ir_factory *body; member in class:add_neg_to_sub
52 body = new ir_factory(&instructions, mem_ctx);
70 delete body;
71 body = NULL;
81 body->emit(assign(var_c, add(var_a, var_b)));
114 body->emit(assign(var_c, add(var_a, neg(var_b))));
147 body->emit(assign(var_c, add(neg(var_a), var_b)));
180 body->emit(assign(var_c, add(neg(var_a), neg(var_b))));
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Dlower_int64_test.cpp33 void expand_source(ir_factory &body,
37 ir_dereference_variable *compact_destination(ir_factory &body,
52 ir_factory *body; member in class:expand_source
64 body = new ir_factory(&instructions, mem_ctx);
70 delete body;
71 body = NULL;
194 lower_64bit::expand_source(*body, deref, expanded_src);
205 lower_64bit::expand_source(*body, deref, expanded_src);
223 lower_64bit::expand_source(*body, deref, expanded_src);
234 lower_64bit::expand_source(*body, dere
378 ir_factory *body; member in class:compact_destination
[all...]
H A Darray_refcount_test.cpp37 ir_factory *body; member in class:array_refcount_test
99 body = new ir_factory(&instructions, mem_ctx);
115 delete body;
116 body = NULL;
416 body->emit(assign(var_a, deref_array(var_c, var_b)));
451 body->emit(assign(var_a, deref_array(var_c, var_b)));
491 body->emit(assign(var_a,
494 body->constant(int(2)))));
522 body->emit(assign(var_a,
525 deref_array(var_b, body
[all...]
H A Dopt_add_neg_to_sub_test.cpp36 ir_factory *body; member in class:add_neg_to_sub
50 body = new ir_factory(&instructions, mem_ctx);
68 delete body;
69 body = NULL;
77 body->emit(assign(var_c, add(var_a, var_b)));
110 body->emit(assign(var_c, add(var_a, neg(var_b))));
143 body->emit(assign(var_c, add(neg(var_a), var_b)));
176 body->emit(assign(var_c, add(neg(var_a), neg(var_b))));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.c2063 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2065 body = (const uint8_t *)&cmd[1]; \
2073 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2075 body = (const uint8_t *)&cmd[1]; \
2076 while (body + sizeof(ElementType) <= next) \
2078 dump_##ElementType((const ElementType *)body); \
2079 body += sizeof(ElementType); \
2087 const uint8_t *body = (const uint8_t *)data; local in function:svga_dump_command
2088 const uint8_t *next = body + size;
2159 (const SVGA3dCmdDXSetRenderTargets *) body;
2606 const uint8_t *body = (const uint8_t *)&header[1]; local in function:svga_dump_commands
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.c2063 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2065 body = (const uint8_t *)&cmd[1]; \
2073 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2075 body = (const uint8_t *)&cmd[1]; \
2076 while (body + sizeof(ElementType) <= next) \
2078 dump_##ElementType((const ElementType *)body); \
2079 body += sizeof(ElementType); \
2087 const uint8_t *body = (const uint8_t *)data; local in function:svga_dump_command
2088 const uint8_t *next = body + size;
2159 (const SVGA3dCmdDXSetRenderTargets *) body;
2606 const uint8_t *body = (const uint8_t *)&header[1]; local in function:svga_dump_commands
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dgen_disasm.py98 ${body.strip()}
301 body = ""
304 body += build_lut(mnemonic, desc, test)
308 body += lut_template.render(field = mod, table = pretty_mods(opts, default), pos = pos, width = width) + "\n"
311 body += ' fputs("{}", fp);\n'.format(mnemonic)
320 body += disasm_mod(mod, skip_mods)
322 body += ' fputs(" ", fp);\n'
323 body += ' bi_disasm_dest_{}(fp, next_regs, last);\n'.format('fma' if is_fma else 'add')
328 body += ' fputs(", ", fp);\n'
329 body
[all...]
H A Dbi_packer.c.py34 def pack_sources(sources, body, pack_exprs, offset, is_fma):
43 body.append('assert((1 << src{}) & {});'.format(i, hex(src[1])))
50 def map_modifier(body, prefix, mod, domain, target):
67 body.append("static uint8_t {}_table[] = {{ {} }};".format(prefix, table))
71 body.append("assert({} < {});".format(mod, len(domain)))
80 def pack_modifier(mod, width, default, opts, body, pack_exprs):
121 mapped = map_modifier(body, mod, ir_value, lists, opts)
122 body.append('unsigned {} = {};'.format(mod, mapped))
123 body.append('assert({} < {});'.format(mod, 1 << width))
161 def pack_derived(pos, exprs, imm_map, body, pack_expr
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_inline_functions.c71 /* Pluck the body out of the function and place it here */
72 nir_cf_list body; local in function:nir_inline_function_impl
73 nir_cf_list_extract(&body, &copy->body);
74 nir_cf_reinsert(&body, nir_before_instr(&nop->instr));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dr3xx_vertprog_dump.c182 fprintf(stderr, "%d: op: 0x%08x", i, vs->body.d[offset]);
183 r300_vs_op_dump(vs->body.d[offset]);
186 fprintf(stderr, " src%i: 0x%08x", src, vs->body.d[offset+1+src]);
187 r300_vs_src_dump(vs->body.d[offset+1+src]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dr3xx_vertprog_dump.c182 fprintf(stderr, "%d: op: 0x%08x", i, vs->body.d[offset]);
183 r300_vs_op_dump(vs->body.d[offset]);
186 fprintf(stderr, " src%i: 0x%08x", src, vs->body.d[offset+1+src]);
187 r300_vs_src_dump(vs->body.d[offset+1+src]);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeon/
H A Dradeon_uvd.c1109 dec->msg->body.decode.stream_type = dec->stream_type;
1110 dec->msg->body.decode.decode_flags = 0x1;
1111 dec->msg->body.decode.width_in_samples = dec->base.width;
1112 dec->msg->body.decode.height_in_samples = dec->base.height;
1116 dec->msg->body.decode.width_in_samples = align(dec->msg->body.decode.width_in_samples, 16) / 16;
1117 dec->msg->body.decode.height_in_samples = align(dec->msg->body.decode.height_in_samples, 16) / 16;
1121 dec->msg->body.decode.dpb_size = dec->dpb.res->buf->size;
1122 dec->msg->body
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon/
H A Dradeon_uvd.c1103 dec->msg->body.decode.stream_type = dec->stream_type;
1104 dec->msg->body.decode.decode_flags = 0x1;
1105 dec->msg->body.decode.width_in_samples = dec->base.width;
1106 dec->msg->body.decode.height_in_samples = dec->base.height;
1110 dec->msg->body.decode.width_in_samples =
1111 align(dec->msg->body.decode.width_in_samples, 16) / 16;
1112 dec->msg->body.decode.height_in_samples =
1113 align(dec->msg->body.decode.height_in_samples, 16) / 16;
1117 dec->msg->body.decode.dpb_size = dec->dpb.res->buf->size;
1118 dec->msg->body
[all...]

Completed in 24 milliseconds

1234567891011>>