Searched refs:constantEquals (Results 1 – 5 of 5) sorted by relevance
794 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 …]
261 (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()
818 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()
1048 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()
766 constexpr bool constantEquals(uint32_t cmp) const noexcept in constantEquals() function