Lines Matching defs:extins
2615 Instruction* extins = follow_operand(ctx, instr->operands[i]);
2616 if (!extins)
2622 if (extins->opcode == aco_opcode::p_insert &&
2623 (extins->operands[1].constantValue() + 1) * extins->operands[2].constantValue() == 32) {
2626 Operand::c32(extins->operands[1].constantValue() * extins->operands[2].constantValue());
2628 (extins->opcode == aco_opcode::p_insert ||
2629 (extins->opcode == aco_opcode::p_extract &&
2630 extins->operands[3].constantEquals(0))) &&
2631 extins->operands[1].constantEquals(0)) {
2633 operands[1] = Operand::c32(extins->operands[2].constantEquals(8) ? 0xffu : 0xffffu);
2638 operands[0] = extins->operands[0];