Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/
Daco_optimizer.cpp794 bool sext = instr->operands[3].constantEquals(1); in parse_extract()
796 } else if (instr->opcode == aco_opcode::p_insert && instr->operands[1].constantEquals(0)) { in parse_extract()
797 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_extract()
806 if (instr->opcode == aco_opcode::p_extract && instr->operands[3].constantEquals(0) && in parse_insert()
807 instr->operands[1].constantEquals(0)) { in parse_insert()
808 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_insert()
1450 (instr->operands[!i].constantEquals(fp16 ? 0x3c00 : 0x3f800000) || /* 1.0 */ in label_instruction()
1451 instr->operands[!i].constantEquals(fp16 ? 0xbc00 : 0xbf800000u))) { /* -1.0 */ in label_instruction()
1452 bool neg1 = instr->operands[!i].constantEquals(fp16 ? 0xbc00 : 0xbf800000u); in label_instruction()
1509 if (instr->operands[i].constantEquals(0)) in label_instruction()
[all …]
Daco_optimizer_postRA.cpp261 (instr->operands[0].constantEquals(0) || instr->operands[1].constantEquals(0)) && in try_optimize_scc_nocompare()
350 if (!wr_instr->operands[1].constantEquals(0)) in try_optimize_scc_nocompare()
Daco_insert_exec_mask.cpp818 bool all_lanes_enabled = ctx.info[block->index].exec.back().first.constantEquals(-1u); in process_instructions()
1012 if (ctx.info[idx].exec.back().first.constantEquals(-1u)) { in add_branch_code()
Daco_lower_to_hw_instr.cpp1048 if (op.bytes() == 4 && op.constantEquals(0x3e22f983) && ctx->program->chip_class >= GFX8) in copy_constant()
2119 bool signext = !instr->operands[3].constantEquals(0); in lower_to_hw_instr()
Daco_ir.h766 constexpr bool constantEquals(uint32_t cmp) const noexcept in constantEquals() function