Lines Matching refs:physReg
214 if (regs_intersect(reg, mask_size, def.physReg(), def.size())) { in handle_raw_hazard_instr()
215 unsigned start = def.physReg() > reg ? def.physReg() - reg : 0; in handle_raw_hazard_instr()
276 state, state.block, min_states, op.physReg(), u_bit_consecutive(0, op.size()), false); in handle_raw_hazard()
337 test_bitset_range(ctx.smem_clause_write, op.physReg(), op.size())) { in handle_smem_clause_hazards()
344 if (!*NOPs && test_bitset_range(ctx.smem_clause_read_write, def.physReg(), def.size())) in handle_smem_clause_hazards()
400 if (op.physReg() == vccz) in handle_instruction_gfx6()
402 if (op.physReg() == execz) in handle_instruction_gfx6()
414 NOPs = MAX2(NOPs, ctx.vmem_store_then_wr_data[(def.physReg() & 0xff) + i]); in handle_instruction_gfx6()
493 set_bitset_range(ctx.smem_clause_read_write, op.physReg(), op.size()); in handle_instruction_gfx6()
498 set_bitset_range(ctx.smem_clause_read_write, def.physReg(), def.size()); in handle_instruction_gfx6()
499 set_bitset_range(ctx.smem_clause_write, def.physReg(), def.size()); in handle_instruction_gfx6()
505 if (def.physReg() == vcc || def.physReg() == vcc_hi) { in handle_instruction_gfx6()
509 if (def.physReg() == exec || def.physReg() == exec_hi) { in handle_instruction_gfx6()
519 if (def.physReg() == m0) { in handle_instruction_gfx6()
538 instr->operands[3].size() > 2 && instr->operands[2].physReg() >= 128; in handle_instruction_gfx6()
548 PhysReg wrdata = instr->operands[consider_flat ? 2 : 3].physReg(); in handle_instruction_gfx6()
565 unsigned def_reg = def.physReg() + i; in check_written_regs()
578 unsigned reg = op.physReg() + i; in mark_read_regs()
604 { return def.physReg() == exec_lo || def.physReg() == exec_hi; }); in instr_writes_exec()
691 v_mov->definitions[0] = Definition(instr->operands[0].physReg(), v1); in handle_instruction_gfx10()
692 v_mov->operands[0] = Operand(instr->operands[0].physReg(), v1); in handle_instruction_gfx10()
749 if (sopp.imm == 0 && sopp.definitions[0].physReg() == sgpr_null) in handle_instruction_gfx10()
778 if (sopk.definitions[0].physReg() == sgpr_null && sopk.imm == 0) in handle_instruction_gfx10()