Home
last modified time | relevance | path

Searched refs:reladdr (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_private.cpp74 this->reladdr = NULL; in st_src_reg()
92 this->reladdr = NULL; in st_src_reg()
110 this->reladdr = NULL; in st_src_reg()
127 this->reladdr = NULL; in st_src_reg()
149 this->reladdr = dup_reladdr(reg.reladdr); in operator =()
165 this->reladdr = dup_reladdr(reg.reladdr); in st_src_reg()
188 this->reladdr = dup_reladdr(reg.reladdr); in st_dst_reg()
202 this->reladdr = NULL; in st_dst_reg()
216 this->reladdr = NULL; in st_dst_reg()
230 this->reladdr = NULL; in st_dst_reg()
[all …]
Dst_glsl_to_tgsi.cpp311 st_src_reg *reladdr,
400 num_reladdr += dst.reladdr != NULL || dst.reladdr2; in emit_asm()
401 assert(!dst1.reladdr); /* should be lowered in earlier passes */ in emit_asm()
402 num_reladdr += src0.reladdr != NULL || src0.reladdr2 != NULL; in emit_asm()
403 num_reladdr += src1.reladdr != NULL || src1.reladdr2 != NULL; in emit_asm()
404 num_reladdr += src2.reladdr != NULL || src2.reladdr2 != NULL; in emit_asm()
405 num_reladdr += src3.reladdr != NULL || src3.reladdr2 != NULL; in emit_asm()
412 if (dst.reladdr || dst.reladdr2) { in emit_asm()
413 if (dst.reladdr) in emit_asm()
414 emit_arl(ir, address_reg, *dst.reladdr); in emit_asm()
[all …]
Dst_glsl_to_tgsi_private.h74 st_src_reg *reladdr; variable
83 !has_index2 && !reladdr && !reladdr2; in is_legal_tgsi_address_operand()
108 st_src_reg *reladdr; variable
/external/mesa3d/src/intel/compiler/
Dgen6_gs_visitor.cpp149 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
150 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
167 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
168 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
179 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_emit_vertex()
180 memcpy(dst.reladdr, &this->vertex_output_offset, sizeof(src_reg)); in gs_emit_vertex()
239 dst.reladdr = ralloc(mem_ctx, src_reg); in gs_end_primitive()
240 memcpy(dst.reladdr, &offset, sizeof(src_reg)); in gs_end_primitive()
271 flags_data.reladdr = ralloc(mem_ctx, src_reg); in emit_urb_write_header()
272 memcpy(flags_data.reladdr, &flags_offset, sizeof(src_reg)); in emit_urb_write_header()
[all …]
Dbrw_vec4_visitor.cpp1428 src_reg *reladdr, int reg_offset) in get_scratch_offset() argument
1441 if (reladdr) { in get_scratch_offset()
1449 emit_before(block, inst, ADD(dst_reg(index), *reladdr, in get_scratch_offset()
1454 emit_before(block, inst, MUL(dst_reg(index), *reladdr, in get_scratch_offset()
1478 src_reg index = get_scratch_offset(block, inst, orig_src.reladdr, in emit_scratch_read()
1487 index = get_scratch_offset(block, inst, orig_src.reladdr, reg_offset + 1); in emit_scratch_read()
1507 src_reg index = get_scratch_offset(block, inst, inst->dst.reladdr, in emit_scratch_write()
1563 src_reg index = get_scratch_offset(block, inst, inst->dst.reladdr, in emit_scratch_write()
1578 inst->dst.reladdr = NULL; in emit_scratch_write()
1598 if (src.reladdr) in emit_resolve_reladdr()
[all …]
Dbrw_ir_vec4.h52 src_reg *reladdr; variable
146 (!reg.reladdr || is_uniform(*reg.reladdr)); in is_uniform()
169 src_reg *reladdr; variable
Dbrw_vec4.cpp73 this->reladdr = NULL; in src_reg()
79 this->reladdr = reg.reladdr; in src_reg()
131 this->reladdr = NULL; in dst_reg()
138 this->reladdr = reg.reladdr; in dst_reg()
145 (reladdr == r.reladdr || in equals()
146 (reladdr && r.reladdr && reladdr->equals(*r.reladdr)))); in equals()
375 !reladdr && !r.reladdr); in equals()
579 assert(!inst->src[i].reladdr); in split_uniform_registers()
964 inst->src[i].reladdr = NULL; in move_push_constants_to_pull_constants()
1210 inst->src[0].abs || inst->src[0].negate || inst->src[0].reladdr) in opt_register_coalesce()
[all …]
Dbrw_vec4_copy_propagation.cpp50 !inst->dst.reladdr && in is_direct_copy()
51 !inst->src[0].reladdr && in is_direct_copy()
506 inst->src[i].reladdr) in opt_copy_propagation()
546 if (inst->dst.reladdr) in opt_copy_propagation()
Dbrw_vec4_reg_allocate.cpp409 if (inst->src[i].reladdr || in evaluate_spill_costs()
438 if (inst->dst.reladdr || inst->dst.offset >= REG_SIZE) in evaluate_spill_costs()
Dbrw_vec4.h292 src_reg *reladdr, int reg_offset);
Dbrw_vec4_nir.cpp188 reg.reladdr = in dst_reg_for_nir_reg()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp79 this->reladdr = NULL; in src_reg()
88 this->reladdr = NULL; in src_reg()
98 src_reg *reladdr; member in __anon8fb3a92c0111::src_reg
108 this->reladdr = NULL; in dst_reg()
116 this->reladdr = NULL; in dst_reg()
125 src_reg *reladdr; member in __anon8fb3a92c0111::dst_reg
136 this->reladdr = reg.reladdr; in src_reg()
144 this->reladdr = reg.reladdr; in dst_reg()
364 num_reladdr += dst.reladdr != NULL; in emit()
365 num_reladdr += src0.reladdr != NULL; in emit()
[all …]
Dprog_to_nir.c188 nir_ssa_def *reladdr = nir_imov_alu(b, addr_src, 1); in ptn_get_src() local
194 reladdr = nir_iadd(b, reladdr, nir_imm_int(b, prog_src->Index)); in ptn_get_src()
200 deref_arr->indirect = nir_src_for_ssa(reladdr); in ptn_get_src()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_print.c128 static void rc_print_register(FILE * f, rc_register_file file, int index, unsigned int reladdr) in rc_print_register() argument
149 fprintf(f, "%s[%i%s]", filename, index, reladdr ? " + addr[0]" : ""); in rc_print_register()