Lines Matching refs:qinst
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 *
1047 struct qinst *qinst = vir_add_inst(V3D_QPU_A_NOP, undef, undef, undef); in vir_nop() local
1049 return qinst; in vir_nop()
1061 const struct qinst *qinst, int slot) in qpu_instruction_valid_in_thrend_slot() argument
1063 const struct v3d_qpu_instr *inst = &qinst->qpu; in qpu_instruction_valid_in_thrend_slot()
1071 if (slot > 0 && qinst->uniform != ~0) in qpu_instruction_valid_in_thrend_slot()
1116 struct qinst *qinst, int instructions_in_sequence, in valid_thrsw_sequence() argument
1125 qinst->qpu.type == V3D_QPU_INSTR_TYPE_ALU && in valid_thrsw_sequence()
1126 (v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.add.waddr) || in valid_thrsw_sequence()
1127 v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.mul.waddr))) { in valid_thrsw_sequence()
1131 if (slot > 0 && qinst->qpu.sig.ldvary) in valid_thrsw_sequence()
1135 !qpu_instruction_valid_in_thrend_slot(c, qinst, slot)) { in valid_thrsw_sequence()
1142 qinst = (struct qinst *)qinst->link.next; in valid_thrsw_sequence()
1156 struct qinst *inst, in emit_thrsw()
1170 struct qinst *merge_inst = NULL; in emit_thrsw()
1210 struct qinst *second_inst = in emit_thrsw()
1211 (struct qinst *)merge_inst->link.next; in emit_thrsw()
1259 struct qinst *qinst = chosen ? chosen->inst : vir_nop(); in schedule_instructions() local
1260 struct v3d_qpu_instr *inst = &qinst->qpu; in schedule_instructions()
1310 if (qinst->uniform != -1) { in schedule_instructions()
1315 orig_uniform_data[qinst->uniform]; in schedule_instructions()
1317 orig_uniform_contents[qinst->uniform]; in schedule_instructions()
1318 qinst->uniform = *next_uniform; in schedule_instructions()
1344 time += emit_thrsw(c, block, scoreboard, qinst, false); in schedule_instructions()
1347 scoreboard, qinst); in schedule_instructions()
1383 struct qinst *qinst = (struct qinst *)block->instructions.next; in qpu_schedule_instructions_block() local
1387 n->inst = qinst; in qpu_schedule_instructions_block()
1389 list_del(&qinst->link); in qpu_schedule_instructions_block()
1434 struct qinst *branch = container_of(entry, branch, link); in qpu_set_branch_targets()
1494 list_for_each_entry(struct qinst, qinst, in v3d_qpu_schedule_instructions()
1496 v3d_qpu_dump(devinfo, &qinst->qpu); in v3d_qpu_schedule_instructions()
1520 struct qinst *thrsw = vir_nop(); in v3d_qpu_schedule_instructions()