Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/
Daco_optimizer_postRA.cpp299 Instruction* wr_instr = ctx.get(wr_idx); in try_optimize_scc_nocompare() local
300 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() local
368 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 …]