Lines Matching refs:opc

260    opc_t opc;
713 struct ir3_instruction *ir3_instr_create(struct ir3_block *block, opc_t opc,
823 return (opc_cat(instr->opc) == 0);
829 return instr->opc == OPC_KILL || instr->opc == OPC_DEMOTE;
835 return instr->opc == OPC_NOP;
863 switch (instr->opc) {
909 if (instr->opc != OPC_MOV)
926 switch (instr->opc) {
944 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3);
950 return (opc_cat(instr->opc) == 4) || instr->opc == OPC_GETFIBERID;
956 return (opc_cat(instr->opc) == 5);
962 return is_tex(instr) || (instr->opc == OPC_META_TEX_PREFETCH);
968 return (opc_cat(instr->opc) == 6) && instr->opc != OPC_GETFIBERID;
974 return (opc_cat(instr->opc) == 7);
995 switch (instr->opc) {
1014 switch (instr->opc) {
1039 switch (instr->opc) {
1052 switch (instr->opc) {
1063 cat3_half_opc(opc_t opc)
1065 switch (opc) {
1077 return opc;
1082 cat3_full_opc(opc_t opc)
1084 switch (opc) {
1096 return opc;
1101 cat4_half_opc(opc_t opc)
1103 switch (opc) {
1111 return opc;
1116 cat4_full_opc(opc_t opc)
1118 switch (opc) {
1126 return opc;
1133 return (opc_cat(instr->opc) == -1);
1315 ir3_cat2_int(opc_t opc)
1317 switch (opc) {
1358 ir3_cat2_absneg(opc_t opc)
1360 switch (opc) {
1419 ir3_cat3_absneg(opc_t opc)
1421 switch (opc) {
1467 switch (instr->opc) {
1532 switch (instr->opc) {
1577 ir3_try_swap_signedness(opc_t opc, bool *can_swap)
1579 switch (opc) {
1594 return opc;
1735 return instr->opc == OPC_LDL || instr->opc == OPC_LDLV ||
1736 instr->opc == OPC_LDLW;
1778 is_atomic(instr->opc);
1803 if (instr->opc == OPC_LDC) {
1888 switch (instr->opc) {
2059 #define __INSTR0(flag, name, opc) \
2062 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 0); \
2071 #define __INSTR1(flag, dst_count, name, opc) \
2076 ir3_instr_create(block, opc, dst_count, 1); \
2089 #define __INSTR2(flag, dst_count, name, opc) \
2094 struct ir3_instruction *instr = ir3_instr_create(block, opc, dst_count, 2); \
2108 #define __INSTR3(flag, dst_count, name, opc) \
2115 ir3_instr_create(block, opc, dst_count, 3); \
2130 #define __INSTR4(flag, dst_count, name, opc) \
2137 ir3_instr_create(block, opc, dst_count, 4); \
2153 #define __INSTR5(flag, name, opc) \
2160 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 5); \
2175 #define __INSTR6(flag, dst_count, name, opc) \
2183 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 6); \
2331 ir3_SAM(struct ir3_block *block, opc_t opc, type_t type, unsigned wrmask,
2348 sam = ir3_instr_create(block, opc, 1, nreg);