Lines Matching refs:opc

264          if ((instr->opc == OPC_STP || instr->opc == OPC_LDP)) {
270 if (instr->opc == OPC_STP)
276 if ((instr->opc == OPC_BARY_F) && (instr->dsts[0]->flags & IR3_REG_EI))
282 if (instr->opc == OPC_NOP) {
286 info->instrs_per_cat[opc_cat(instr->opc)] += 1 + instr->repeat;
290 if (instr->opc == OPC_MOV) {
429 instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc)
432 if (1 <= opc_cat(opc))
453 ir3_instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc)
455 struct ir3_instruction *instr = instr_create(block, opc, ndst, nsrc);
457 instr->opc = opc;
466 instr->block, instr->opc, instr->dsts_count, instr->srcs_count);
680 switch (opc_cat(instr->opc)) {
690 instr->opc = cat4_half_opc(instr->opc);
692 instr->opc = cat4_full_opc(instr->opc);
712 switch (opc_cat(instr->opc)) {
722 instr->opc = cat3_half_opc(instr->opc);
724 instr->opc = cat3_full_opc(instr->opc);
791 if ((flags & IR3_REG_SHARED) && opc_cat(instr->opc) > 3)
836 switch (opc_cat(instr->opc)) {
840 switch (instr->opc) {
855 valid_flags = ir3_cat2_absneg(instr->opc) | IR3_REG_CONST |
878 ir3_cat3_absneg(instr->opc) | IR3_REG_RELATIV | IR3_REG_SHARED;
880 if (instr->opc == OPC_SHLG_B16) {
925 if (is_store(instr) && (instr->opc != OPC_STG) && (n == 1))
928 if ((instr->opc == OPC_LDL) && (n == 0))
931 if ((instr->opc == OPC_STL) && (n != 2))
934 if ((instr->opc == OPC_LDP) && (n == 0))
937 if ((instr->opc == OPC_STP) && (n != 2))
940 if (instr->opc == OPC_STLW && n == 0)
943 if (instr->opc == OPC_LDLW && n == 0)
949 if (is_atomic(instr->opc) && (n != 0))
952 if (is_atomic(instr->opc) && !(instr->flags & IR3_INSTR_G))
955 if (instr->opc == OPC_STG && (n == 2))
958 if (instr->opc == OPC_STG_A && (n == 4))
964 switch (instr->opc) {
985 if (instr->opc == OPC_MOV || is_meta(instr))
989 switch (instr->opc) {