• Home
  • Raw
  • Download

Lines Matching refs:opc

234    opc_t opc;  member
653 struct ir3_instruction *ir3_instr_create(struct ir3_block *block, opc_t opc,
763 return (opc_cat(instr->opc) == 0); in is_flow()
769 return instr->opc == OPC_KILL || instr->opc == OPC_DEMOTE; in is_kill_or_demote()
775 return instr->opc == OPC_NOP; in is_nop()
803 switch (instr->opc) { in is_same_type_mov()
849 if (instr->opc != OPC_MOV) in is_const_mov()
866 return (1 <= opc_cat(instr->opc)) && (opc_cat(instr->opc) <= 3); in is_alu()
872 return (opc_cat(instr->opc) == 4); in is_sfu()
878 return (opc_cat(instr->opc) == 5); in is_tex()
884 return is_tex(instr) || (instr->opc == OPC_META_TEX_PREFETCH); in is_tex_or_prefetch()
890 return (opc_cat(instr->opc) == 6); in is_mem()
896 return (opc_cat(instr->opc) == 7); in is_barrier()
917 switch (instr->opc) { in is_store()
936 switch (instr->opc) { in is_load()
961 switch (instr->opc) { in is_input()
973 switch (instr->opc) { in is_bool()
984 cat3_half_opc(opc_t opc) in cat3_half_opc() argument
986 switch (opc) { in cat3_half_opc()
998 return opc; in cat3_half_opc()
1003 cat3_full_opc(opc_t opc) in cat3_full_opc() argument
1005 switch (opc) { in cat3_full_opc()
1017 return opc; in cat3_full_opc()
1022 cat4_half_opc(opc_t opc) in cat4_half_opc() argument
1024 switch (opc) { in cat4_half_opc()
1032 return opc; in cat4_half_opc()
1037 cat4_full_opc(opc_t opc) in cat4_full_opc() argument
1039 switch (opc) { in cat4_full_opc()
1047 return opc; in cat4_full_opc()
1054 return (opc_cat(instr->opc) == -1); in is_meta()
1231 ir3_cat2_int(opc_t opc) in ir3_cat2_int() argument
1233 switch (opc) { in ir3_cat2_int()
1273 ir3_cat2_absneg(opc_t opc) in ir3_cat2_absneg() argument
1275 switch (opc) { in ir3_cat2_absneg()
1334 ir3_cat3_absneg(opc_t opc) in ir3_cat3_absneg() argument
1336 switch (opc) { in ir3_cat3_absneg()
1376 switch (instr->opc) { in ir3_output_conv_type()
1434 switch (instr->opc) { in ir3_output_conv_src_type()
1475 ir3_try_swap_signedness(opc_t opc, bool *can_swap) in ir3_try_swap_signedness() argument
1477 switch (opc) { in ir3_try_swap_signedness()
1492 return opc; in ir3_try_swap_signedness()
1683 switch (instr->opc) { in ir3_has_latency_to_hide()
1856 #define __INSTR0(flag, name, opc) \ argument
1859 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 0); \
1868 #define __INSTR1(flag, dst_count, name, opc) \ argument
1873 ir3_instr_create(block, opc, dst_count, 1); \
1886 #define __INSTR2(flag, name, opc) \ argument
1891 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 2); \
1903 #define __INSTR3(flag, dst_count, name, opc) \ argument
1910 ir3_instr_create(block, opc, dst_count, 3); \
1925 #define __INSTR4(flag, dst_count, name, opc) \ argument
1932 ir3_instr_create(block, opc, dst_count, 4); \
1948 #define __INSTR5(flag, name, opc) \ argument
1955 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 5); \
1970 #define __INSTR6(flag, dst_count, name, opc) \ argument
1978 struct ir3_instruction *instr = ir3_instr_create(block, opc, 1, 6); \
2112 ir3_SAM(struct ir3_block *block, opc_t opc, type_t type, unsigned wrmask, in INSTR2()
2129 sam = ir3_instr_create(block, opc, 1, nreg); in INSTR2()