• Home
  • Raw
  • Download

Lines Matching refs:constantEquals

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()
1511 else if (instr->operands[i].constantEquals(is_fp16 ? 0x3c00 : 0x3f800000)) /* 1.0 */ in label_instruction()
1521 if (instr->operands[0].constantEquals(0) && instr->operands[1].constantEquals(0xFFFFFFFF)) in label_instruction()
1523 else if (instr->operands[0].constantEquals(0) && in label_instruction()
1524 instr->operands[1].constantEquals(0x3f800000u)) in label_instruction()
1526 else if (instr->operands[0].constantEquals(0) && instr->operands[1].constantEquals(1)) in label_instruction()
1533 instr->operands[0].constantEquals(0) && instr->operands[1].isTemp() && in label_instruction()
1659 if (instr->operands[0].constantEquals((unsigned)-1) && instr->operands[1].constantEquals(0)) { in label_instruction()
1677 if (instr->operands[0].constantEquals(0x3f800000u)) in label_instruction()
2286 extins->operands[3].constantEquals(0))) && in combine_add_or_then_and_lshl()
2287 extins->operands[1].constantEquals(0)) { in combine_add_or_then_and_lshl()
2289 operands[1] = Operand::c32(extins->operands[2].constantEquals(8) ? 0xffu : 0xffffu); in combine_add_or_then_and_lshl()
2524 op_instr->operands[1].constantEquals(0)) { in combine_add_bcnt()
2970 op_instr->operands[0].constantEquals(0) && op_instr->operands[1].constantEquals(0) && in combine_and_subbrev()
3098 if (instr->opcode == aco_opcode::v_pk_mul_f16 && instr->operands[1].constantEquals(0x3C00) && in combine_vop3p()
3124 info.instr->operands[1].constantEquals(0xBC00)) { in combine_vop3p()