Lines Matching defs:opcode

193       if (instr->opcode == aco_opcode::p_linear_phi || instr->opcode == aco_opcode::p_phi)
217 assert(instr->opcode == aco_opcode::p_linear_phi || instr->opcode == aco_opcode::p_phi);
230 instr->opcode == aco_opcode::p_phi ? block->logical_preds[i] : block->linear_preds[i];
295 if (instr->isPseudo() && instr->opcode != aco_opcode::p_create_vector &&
296 instr->opcode != aco_opcode::p_parallelcopy)
298 if (instr->isSOPK() && instr->opcode != aco_opcode::s_movk_i32)
322 assert((instr->format != Format::PSEUDO || instr->opcode == aco_opcode::p_create_vector ||
323 instr->opcode == aco_opcode::p_parallelcopy) &&
330 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
333 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
336 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
339 instr->opcode, instr->format, instr->operands.size(), instr->definitions.size()));
368 if (instr->opcode == aco_opcode::p_logical_start)
370 else if (instr->opcode == aco_opcode::p_logical_end)
405 if (instr->opcode == aco_opcode::p_phi || instr->opcode == aco_opcode::p_linear_phi)
704 phi->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds;
805 } while (instructions.back()->opcode != aco_opcode::p_logical_start);
869 phi->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds;
919 } while (phi->opcode == aco_opcode::p_phi &&
920 pred.instructions[idx]->opcode != aco_opcode::p_logical_end);
978 pred.instructions[idx]->opcode != aco_opcode::p_logical_end);
987 assert(phi->opcode == aco_opcode::p_phi || phi->opcode == aco_opcode::p_linear_phi);
992 phi->opcode == aco_opcode::p_phi ? block->logical_preds : block->linear_preds;
1023 } while (phi->opcode == aco_opcode::p_phi &&
1024 pred.instructions[idx]->opcode != aco_opcode::p_logical_end);
1075 pred.instructions[idx]->opcode != aco_opcode::p_logical_end);
1108 aco_opcode opcode = pair.first.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi;
1110 create_instruction<Pseudo_instruction>(opcode, Format::PSEUDO, preds.size(), 1)};
1166 while (block->instructions[idx]->opcode == aco_opcode::p_phi ||
1167 block->instructions[idx]->opcode == aco_opcode::p_linear_phi) {
1343 if (phi->opcode != aco_opcode::p_phi && phi->opcode != aco_opcode::p_linear_phi)
1379 if (instr->opcode == aco_opcode::p_spill)
1407 while (prev_instructions[idx]->opcode != aco_opcode::p_logical_end)
1734 while ((*it)->opcode == aco_opcode::p_linear_phi || (*it)->opcode == aco_opcode::p_phi)
1768 if ((*it)->opcode == aco_opcode::p_spill) {
1811 } else if ((*it)->opcode == aco_opcode::p_reload) {
1875 if (instr->opcode == aco_opcode::p_phi) {
1878 } else if (instr->opcode != aco_opcode::p_linear_phi) {
1890 if (pred_instr->opcode == aco_opcode::p_logical_end) {
1892 } else if (pred_instr->opcode == aco_opcode::p_spill ||
1893 pred_instr->opcode == aco_opcode::p_reload) {
1909 while ((*it)->opcode == aco_opcode::p_linear_phi || (*it)->opcode == aco_opcode::p_phi)