Searched refs:constantEquals (Results 1 – 5 of 5) sorted by relevance
831 if (bitwise_instr->operands[0].constantEquals(-4) && in skip_smem_offset_align()834 else if (bitwise_instr->operands[1].constantEquals(-4) && in skip_smem_offset_align()1030 bool sext = instr->operands[3].constantEquals(1); in parse_extract()1032 } else if (instr->opcode == aco_opcode::p_insert && instr->operands[1].constantEquals(0)) { in parse_extract()1033 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_extract()1050 if (instr->opcode == aco_opcode::p_extract && instr->operands[3].constantEquals(0) && in parse_insert()1051 instr->operands[1].constantEquals(0)) { in parse_insert()1052 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_insert()1775 (instr->operands[!i].constantEquals(fp16 ? 0x3c00 : 0x3f800000) || /* 1.0 */ in label_instruction()1776 instr->operands[!i].constantEquals(fp16 ? 0xbc00 : 0xbf800000u))) { /* -1.0 */ in label_instruction()[all …]
284 (instr->operands[0].constantEquals(0) || instr->operands[1].constantEquals(0)) && in try_optimize_scc_nocompare()373 if (!wr_instr->operands[1].constantEquals(0)) in try_optimize_scc_nocompare()
1067 if (op.bytes() == 4 && op.constantEquals(0x3e22f983) && ctx->program->gfx_level >= GFX8) in copy_constant()1091 (op.constantEquals(0) || op.constantEquals(0xff) || in copy_constant()1092 op.constantEquals(0xffff) || op.constantEquals(0xff00)); in copy_constant()2213 bool signext = !instr->operands[3].constantEquals(0); in lower_to_hw_instr()
680 bool all_lanes_enabled = ctx.info[block->index].exec.back().first.constantEquals(-1u); in process_instructions()803 if (ctx.info[idx].exec.back().first.constantEquals(-1u)) { in add_branch_code()
780 constexpr bool constantEquals(uint32_t cmp) const noexcept in constantEquals() function