Searched refs:wr_instr (Results 1 – 1 of 1) sorted by relevance
299 Instruction* wr_instr = ctx.get(wr_idx); in try_optimize_scc_nocompare() local300 if (!wr_instr->isSALU() || wr_instr->definitions.size() < 2 || in try_optimize_scc_nocompare()301 wr_instr->definitions[1].physReg() != scc) in try_optimize_scc_nocompare()305 switch (wr_instr->opcode) { in try_optimize_scc_nocompare()341 instr->operands[0] = Operand(wr_instr->definitions[1].getTemp(), scc); in try_optimize_scc_nocompare()365 Instruction* wr_instr = ctx.get(wr_idx); in try_optimize_scc_nocompare() local368 if (wr_instr->opcode != aco_opcode::s_cmp_eq_u32 && in try_optimize_scc_nocompare()369 wr_instr->opcode != aco_opcode::s_cmp_lg_u32) in try_optimize_scc_nocompare()371 if (wr_instr->operands[0].physReg() != scc) in try_optimize_scc_nocompare()373 if (!wr_instr->operands[1].constantEquals(0)) in try_optimize_scc_nocompare()[all …]