Home
last modified time | relevance | path

Searched refs:qinst (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_emit.c166 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 else if (qinst->sf) in handle_r4_qpu_write()
242 qir_for_each_inst(qinst, block) { in vc4_generate_code_block()
245 qir_dump_inst(qinst); in vc4_generate_code_block()
293 struct qpu_reg src[ARRAY_SIZE(qinst->src)]; in vc4_generate_code_block()
294 for (int i = 0; i < qir_get_nsrc(qinst); i++) { in vc4_generate_code_block()
295 int index = qinst->src[i].index; in vc4_generate_code_block()
296 switch (qinst->src[i].file) { in vc4_generate_code_block()
[all …]
Dvc4_qir.c103 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 …]
Dvc4_qir.h196 struct qinst { struct
426 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 …]
Dvc4_opt_copy_propagation.c38 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()
Dvc4_opt_peephole_sf.c36 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()
Dvc4_opt_algebraic.c41 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()
Dvc4_opt_constant_folding.c37 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()
Dvc4_qir_emit_uniform_stream_resets.c65 struct qinst *load_imm = in qir_emit_uniform_stream_resets()
71 struct qinst *add = in qir_emit_uniform_stream_resets()
Dvc4_qir_lower_uniforms.c75 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()
Dvc4_qir_schedule.c45 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()
447 locks_scoreboard(struct qinst *inst) in locks_scoreboard()
642 struct qinst *inst = chosen->inst; in schedule_instructions()
Dvc4_qir_validate.c28 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()
Dvc4_opt_dead_code.c43 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()
Dvc4_qir_live_variables.c33 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()
Dvc4_opt_coalesce_ff_writes.c67 struct qinst *inst = c->defs[temp]; in qir_opt_coalesce_ff_writes()
Dvc4_opt_vpm.c87 struct qinst *mov = c->defs[temp]; in qir_opt_vpm()
Dvc4_program.c182 struct qinst *last_inst = NULL; in ntq_store_dest()
184 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
486 struct qinst *tmu; in ntq_emit_tex()
892 struct qinst *rewrite = c->defs[src.index]; in ntq_emit_pack_unorm_4x8()
2069 struct qinst *cont_check = in ntq_emit_loop()
/external/clang/test/SemaTemplate/
Dinstantiate-non-dependent-types.cpp46 Q qinst; in main() local
48 dummy.f(qinst); in main()
50 dummyColors.f(qinst); in main()