Lines Matching refs:opc
161 opc_t opc;
535 struct ir3_instruction * ir3_instr_create(struct ir3_block *block, opc_t opc);
537 opc_t opc, int nreg);
599 return (opc_cat(instr->opc) == 0);
604 return instr->opc == OPC_KILL;
609 return instr->opc == OPC_NOP;
620 switch (instr->opc) {
650 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3);
655 return (opc_cat(instr->opc) == 4);
660 return (opc_cat(instr->opc) == 5);
665 return (opc_cat(instr->opc) == 6);
670 return (opc_cat(instr->opc) == 7);
679 switch (instr->opc) {
696 switch (instr->opc) {
719 switch (instr->opc) {
730 switch (instr->opc) {
746 return (opc_cat(instr->opc) == -1);
819 static inline bool ir3_cat2_int(opc_t opc)
821 switch (opc) {
861 static inline unsigned ir3_cat2_absneg(opc_t opc)
863 switch (opc) {
921 static inline unsigned ir3_cat3_absneg(opc_t opc)
923 switch (opc) {
1146 #define __INSTR0(flag, name, opc) \
1151 ir3_instr_create(block, opc); \
1158 #define __INSTR1(flag, name, opc) \
1164 ir3_instr_create(block, opc); \
1173 #define __INSTR2(flag, name, opc) \
1180 ir3_instr_create(block, opc); \
1190 #define __INSTR3(flag, name, opc) \
1198 ir3_instr_create2(block, opc, 4); \
1209 #define __INSTR4(flag, name, opc) \
1218 ir3_instr_create2(block, opc, 5); \
1319 ir3_SAM(struct ir3_block *block, opc_t opc, type_t type,
1326 sam = ir3_instr_create(block, opc);