/external/mesa3d/src/broadcom/compiler/ |
D | vir_to_qpu.c | 76 static struct qinst * 80 struct qinst *qinst = vir_add_inst(V3D_QPU_A_NOP, undef, undef, undef); in vir_nop() local 82 return qinst; in vir_nop() 85 static struct qinst * 86 new_qpu_nop_before(struct qinst *inst) in new_qpu_nop_before() 88 struct qinst *q = vir_nop(); in new_qpu_nop_before() 96 new_ldunif_instr(struct qinst *inst, int i) in new_ldunif_instr() 98 struct qinst *ldunif = new_qpu_nop_before(inst); in new_ldunif_instr() 148 vir_for_each_inst(qinst, block) { in v3d_generate_code_block() 151 vir_dump_inst(c, qinst); in v3d_generate_code_block() [all …]
|
D | v3d_compiler.h | 121 struct qinst { struct 412 struct qinst **defs; 542 struct qinst *last_thrsw; 637 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst, 639 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst, 641 struct qinst *vir_branch_inst(enum v3d_qpu_branch_cond cond, struct qreg src0); 642 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst); 649 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst); 650 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst); 651 void vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond); [all …]
|
D | vir.c | 28 vir_get_non_sideband_nsrc(struct qinst *inst) in vir_get_non_sideband_nsrc() 44 vir_get_nsrc(struct qinst *inst) in vir_get_nsrc() 55 vir_has_implicit_uniform(struct qinst *inst) in vir_has_implicit_uniform() 75 vir_get_implicit_uniform_src(struct qinst *inst) in vir_get_implicit_uniform_src() 85 vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) in vir_has_side_effects() 123 vir_is_float_input(struct qinst *inst) in vir_is_float_input() 155 vir_is_raw_mov(struct qinst *inst) in vir_is_raw_mov() 176 vir_is_add(struct qinst *inst) in vir_is_add() 183 vir_is_mul(struct qinst *inst) in vir_is_mul() 190 vir_is_tex(struct qinst *inst) in vir_is_tex() [all …]
|
D | qpu_schedule.c | 47 struct qinst *inst; 281 struct qinst *qinst = n->inst; in calculate_deps() local 282 struct v3d_qpu_instr *inst = &qinst->qpu; in calculate_deps() 421 if (qinst->uniform != ~0) in calculate_deps() 506 struct qinst *qinst) in reads_too_soon_after_write() argument 508 const struct v3d_qpu_instr *inst = &qinst->qpu; in reads_too_soon_after_write() 546 struct qinst *qinst) in writes_too_soon_after_write() argument 548 const struct v3d_qpu_instr *inst = &qinst->qpu; in writes_too_soon_after_write() 1034 struct qinst *inst) in insert_scheduled_instruction() 1043 static struct qinst * [all …]
|
D | vir_opt_copy_propagate.c | 38 is_copy_mov(struct qinst *inst) in is_copy_mov() 103 vir_has_unpack(struct qinst *inst, int chan) in vir_has_unpack() 121 try_copy_prop(struct v3d_compile *c, struct qinst *inst, struct qinst **movs) in try_copy_prop() 138 struct qinst *mov = movs[inst->src[i].index]; in try_copy_prop() 189 apply_kills(struct v3d_compile *c, struct qinst **movs, struct qinst *inst) in apply_kills() 208 struct qinst **movs; in vir_opt_copy_propagate() 210 movs = ralloc_array(c, struct qinst *, c->num_temps); in vir_opt_copy_propagate() 218 memset(movs, 0, sizeof(struct qinst *) * c->num_temps); in vir_opt_copy_propagate()
|
D | qpu_validate.c | 102 qpu_validate_inst(struct v3d_qpu_validate_state *state, struct qinst *qinst) in qpu_validate_inst() argument 105 const struct v3d_qpu_instr *inst = &qinst->qpu; in qpu_validate_inst() 236 vir_for_each_inst(qinst, block) { in qpu_validate_block() 237 qpu_validate_inst(state, qinst); in qpu_validate_block() 239 state->last = &qinst->qpu; in qpu_validate_block()
|
D | vir_lower_uniforms.c | 75 is_lowerable_uniform(struct qinst *inst, int i) in is_lowerable_uniform() 88 vir_get_instruction_uniform_count(struct qinst *inst) in vir_get_instruction_uniform_count() 155 struct qinst *mov = NULL; in vir_lower_uniforms()
|
D | vir_live_variables.c | 32 struct qinst *insts[4]; 78 struct qinst *inst) in get_partial_update_state() 96 struct hash_table *partial_update_ht, struct qinst *inst) in vir_setup_def()
|
D | vir_opt_dead_code.c | 43 dce(struct v3d_compile *c, struct qinst *inst) in dce() 58 has_nonremovable_reads(struct v3d_compile *c, struct qinst *inst) in has_nonremovable_reads()
|
D | vir_dump.c | 167 vir_dump_sig(struct v3d_compile *c, struct qinst *inst) in vir_dump_sig() 208 vir_dump_alu(struct v3d_compile *c, struct qinst *inst) in vir_dump_alu() 252 vir_dump_inst(struct v3d_compile *c, struct qinst *inst) in vir_dump_inst()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qpu_emit.c | 166 struct qinst *inst, uint64_t *unpack) in fixup_raddr_conflict() 205 set_last_dst_pack(struct qblock *block, struct qinst *inst) in set_last_dst_pack() 226 handle_r4_qpu_write(struct qblock *block, struct qinst *qinst, in handle_r4_qpu_write() argument 231 set_last_cond_add(block, qinst->cond); in handle_r4_qpu_write() 233 assert(qinst->cond == QPU_COND_ALWAYS); in handle_r4_qpu_write() 234 if (qinst->sf) in handle_r4_qpu_write() 246 qir_for_each_inst(qinst, block) { in vc4_generate_code_block() 249 qir_dump_inst(qinst); in vc4_generate_code_block() 297 struct qpu_reg src[ARRAY_SIZE(qinst->src)]; in vc4_generate_code_block() 298 for (int i = 0; i < qir_get_nsrc(qinst); i++) { in vc4_generate_code_block() [all …]
|
D | vc4_qir.c | 103 qir_get_non_sideband_nsrc(struct qinst *inst) in qir_get_non_sideband_nsrc() 110 qir_get_nsrc(struct qinst *inst) in qir_get_nsrc() 129 qir_get_tex_uniform_src(struct qinst *inst) in qir_get_tex_uniform_src() 139 qir_has_side_effects(struct vc4_compile *c, struct qinst *inst) in qir_has_side_effects() 160 qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst) in qir_has_side_effect_reads() 184 qir_has_uniform_read(struct qinst *inst) in qir_has_uniform_read() 195 qir_is_mul(struct qinst *inst) in qir_is_mul() 214 qir_is_float_input(struct qinst *inst) in qir_is_float_input() 233 qir_is_raw_mov(struct qinst *inst) in qir_is_raw_mov() 244 qir_is_tex(struct qinst *inst) in qir_is_tex() [all …]
|
D | vc4_qir.h | 196 struct qinst { struct 425 struct qinst **defs; 560 struct qinst *qir_inst(enum qop op, struct qreg dst, 562 void qir_remove_instruction(struct vc4_compile *c, struct qinst *qinst); 570 struct qreg qir_emit_def(struct vc4_compile *c, struct qinst *inst); 571 struct qinst *qir_emit_nondef(struct vc4_compile *c, struct qinst *inst); 575 int qir_get_nsrc(struct qinst *inst); 576 int qir_get_non_sideband_nsrc(struct qinst *inst); 577 int qir_get_tex_uniform_src(struct qinst *inst); 579 bool qir_has_side_effects(struct vc4_compile *c, struct qinst *inst); [all …]
|
D | vc4_opt_copy_propagation.c | 38 is_copy_mov(struct qinst *inst) in is_copy_mov() 65 try_copy_prop(struct vc4_compile *c, struct qinst *inst, struct qinst **movs) in try_copy_prop() 82 struct qinst *mov = movs[inst->src[i].index]; in try_copy_prop() 157 apply_kills(struct vc4_compile *c, struct qinst **movs, struct qinst *inst) in apply_kills() 176 struct qinst **movs; in qir_opt_copy_propagation() 178 movs = ralloc_array(c, struct qinst *, c->num_temps); in qir_opt_copy_propagation() 186 memset(movs, 0, sizeof(struct qinst *) * c->num_temps); in qir_opt_copy_propagation()
|
D | vc4_opt_peephole_sf.c | 36 dump_from(struct vc4_compile *c, struct qinst *inst, const char *type) in dump_from() 47 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to() 58 inst_srcs_updated(struct qinst *inst, struct qinst *writer) in inst_srcs_updated() 90 inst_result_equals(struct qinst *a, struct qinst *b) in inst_result_equals() 118 struct qinst *last_sf = NULL; in qir_opt_peephole_sf_block()
|
D | vc4_opt_algebraic.c | 41 dump_from(struct vc4_compile *c, struct qinst *inst) in dump_from() 52 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to() 94 replace_with_mov(struct vc4_compile *c, struct qinst *inst, struct qreg arg) in replace_with_mov() 113 struct qinst *inst, in replace_x_0_with_x() 124 struct qinst *inst, in replace_x_0_with_0() 135 struct qinst *inst, in fmul_replace_one() 200 struct qinst *fsub = c->defs[inst->src[1].index]; in qir_opt_algebraic() 215 struct qinst *fsub = c->defs[inst->src[0].index]; in qir_opt_algebraic()
|
D | vc4_opt_constant_folding.c | 37 dump_from(struct vc4_compile *c, struct qinst *inst) in dump_from() 48 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to() 59 constant_fold(struct vc4_compile *c, struct qinst *inst) in constant_fold()
|
D | vc4_qir_emit_uniform_stream_resets.c | 65 struct qinst *load_imm = in qir_emit_uniform_stream_resets() 71 struct qinst *add = in qir_emit_uniform_stream_resets()
|
D | vc4_qir_lower_uniforms.c | 75 is_lowerable_uniform(struct qinst *inst, int i) in is_lowerable_uniform() 88 qir_get_instruction_uniform_count(struct qinst *inst) in qir_get_instruction_uniform_count() 155 struct qinst *mov = NULL; in qir_lower_uniforms()
|
D | vc4_qir_schedule.c | 45 struct qinst *inst; 182 struct qinst *inst = n->inst; in calculate_deps() 304 struct qinst *inst = n->inst; in calculate_forward_deps() 428 get_register_pressure_cost(struct schedule_state *state, struct qinst *inst) in get_register_pressure_cost() 457 locks_scoreboard(struct qinst *inst) in locks_scoreboard() 652 struct qinst *inst = chosen->inst; in schedule_instructions()
|
D | vc4_qir_validate.c | 28 fail_instr(struct vc4_compile *c, struct qinst *inst, const char *msg) in fail_instr() 50 struct qinst *def = c->defs[i]; in qir_validate()
|
D | vc4_opt_dead_code.c | 43 dce(struct vc4_compile *c, struct qinst *inst) in dce() 55 has_nonremovable_reads(struct vc4_compile *c, struct qinst *inst) in has_nonremovable_reads()
|
D | vc4_qir_live_variables.c | 33 struct qinst *insts[4]; 79 struct qinst *inst) in get_partial_update_state() 97 struct hash_table *partial_update_ht, struct qinst *inst) in qir_setup_def()
|
D | vc4_opt_vpm.c | 87 struct qinst *mov = c->defs[temp]; in qir_opt_vpm()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-non-dependent-types.cpp | 46 Q qinst; in main() local 48 dummy.f(qinst); in main() 50 dummyColors.f(qinst); in main()
|