Lines Matching defs:opc

312          if ((instr->opc == OPC_STP || instr->opc == OPC_LDP)) {
318 if (instr->opc == OPC_STP)
324 if ((instr->opc == OPC_BARY_F || instr->opc == OPC_FLAT_B) &&
328 if (instr->opc == OPC_SHPS)
340 if (instr->opc == OPC_NOP) {
344 info->instrs_per_cat[opc_cat(instr->opc)] += 1 + instr->repeat;
348 if (instr->opc == OPC_MOV) {
386 if (instr->opc == OPC_SHPE)
501 instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc)
504 if (1 <= opc_cat(opc))
525 ir3_instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc)
527 struct ir3_instruction *instr = instr_create(block, opc, ndst, nsrc);
529 instr->opc = opc;
538 instr->block, instr->opc, instr->dsts_count, instr->srcs_count);
752 switch (opc_cat(instr->opc)) {
762 instr->opc = cat4_half_opc(instr->opc);
764 instr->opc = cat4_full_opc(instr->opc);
787 switch (opc_cat(instr->opc)) {
797 instr->opc = cat3_half_opc(instr->opc);
799 instr->opc = cat3_full_opc(instr->opc);
866 if ((flags & IR3_REG_SHARED) && opc_cat(instr->opc) > 3)
911 switch (opc_cat(instr->opc)) {
915 switch (instr->opc) {
933 valid_flags = ir3_cat2_absneg(instr->opc) | IR3_REG_CONST |
940 if (instr->opc == OPC_FLAT_B &&
961 ir3_cat3_absneg(instr->opc) | IR3_REG_RELATIV | IR3_REG_SHARED;
963 switch (instr->opc) {
1025 if (is_store(instr) && (instr->opc != OPC_STG) && (n == 1))
1028 if ((instr->opc == OPC_LDL) && (n == 0))
1031 if ((instr->opc == OPC_STL) && (n != 2))
1034 if ((instr->opc == OPC_LDP) && (n == 0))
1037 if ((instr->opc == OPC_STP) && (n != 2))
1040 if (instr->opc == OPC_STLW && n == 0)
1043 if (instr->opc == OPC_LDLW && n == 0)
1049 if (is_global_a3xx_atomic(instr->opc) && (n != 0))
1052 if (is_local_atomic(instr->opc) || is_global_a6xx_atomic(instr->opc) ||
1053 is_bindless_atomic(instr->opc))
1056 if (instr->opc == OPC_STG && (n == 2))
1059 if (instr->opc == OPC_STG_A && (n == 4))
1062 if (instr->opc == OPC_LDG && (n == 0))
1065 if (instr->opc == OPC_LDG_A && (n < 2))
1071 switch (instr->opc) {
1092 if (instr->opc == OPC_MOV || is_meta(instr))
1096 switch (instr->opc) {