Lines Matching refs:qinst
49 struct qinst *inst;
250 struct qinst *qinst = n->inst; in calculate_deps() local
251 struct v3d_qpu_instr *inst = &qinst->qpu; in calculate_deps()
398 if (vir_has_uniform(qinst)) in calculate_deps()
474 struct qinst *qinst) in reads_too_soon_after_write() argument
476 const struct v3d_qpu_instr *inst = &qinst->qpu; in reads_too_soon_after_write()
514 struct qinst *qinst) in writes_too_soon_after_write() argument
516 const struct v3d_qpu_instr *inst = &qinst->qpu; in writes_too_soon_after_write()
1088 struct qinst *inst) in insert_scheduled_instruction()
1097 static struct qinst *
1101 struct qinst *qinst = vir_add_inst(V3D_QPU_A_NOP, undef, undef, undef); in vir_nop() local
1103 return qinst; in vir_nop()
1115 const struct qinst *qinst, int slot) in qpu_instruction_valid_in_thrend_slot() argument
1117 const struct v3d_qpu_instr *inst = &qinst->qpu; in qpu_instruction_valid_in_thrend_slot()
1125 if (slot > 0 && qinst->uniform != ~0) in qpu_instruction_valid_in_thrend_slot()
1174 struct qinst *qinst, int instructions_in_sequence, in valid_thrsw_sequence() argument
1189 qinst->qpu.type == V3D_QPU_INSTR_TYPE_ALU && in valid_thrsw_sequence()
1190 (v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.add.waddr) || in valid_thrsw_sequence()
1191 v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.mul.waddr))) { in valid_thrsw_sequence()
1195 if (slot > 0 && qinst->qpu.sig.ldvary) in valid_thrsw_sequence()
1199 !qpu_instruction_valid_in_thrend_slot(c, qinst, slot)) { in valid_thrsw_sequence()
1206 qinst = (struct qinst *)qinst->link.next; in valid_thrsw_sequence()
1220 struct qinst *inst, in emit_thrsw()
1234 struct qinst *merge_inst = NULL; in emit_thrsw()
1277 struct qinst *second_inst = in emit_thrsw()
1278 (struct qinst *)merge_inst->link.next; in emit_thrsw()
1312 struct qinst *qinst = chosen ? chosen->inst : vir_nop(); in schedule_instructions() local
1313 struct v3d_qpu_instr *inst = &qinst->qpu; in schedule_instructions()
1370 if (qinst->uniform != -1) { in schedule_instructions()
1375 orig_uniform_data[qinst->uniform]; in schedule_instructions()
1377 orig_uniform_contents[qinst->uniform]; in schedule_instructions()
1378 qinst->uniform = *next_uniform; in schedule_instructions()
1403 time += emit_thrsw(c, block, scoreboard, qinst, false); in schedule_instructions()
1406 scoreboard, qinst); in schedule_instructions()
1443 struct qinst *qinst = (struct qinst *)block->instructions.next; in qpu_schedule_instructions_block() local
1448 n->inst = qinst; in qpu_schedule_instructions_block()
1450 list_del(&qinst->link); in qpu_schedule_instructions_block()
1493 struct qinst *branch = container_of(entry, branch, link); in qpu_set_branch_targets()
1553 list_for_each_entry(struct qinst, qinst, in v3d_qpu_schedule_instructions()
1555 v3d_qpu_dump(devinfo, &qinst->qpu); in v3d_qpu_schedule_instructions()
1579 struct qinst *thrsw = vir_nop(); in v3d_qpu_schedule_instructions()