Lines Matching refs:verbose

845 SLJIT_API_FUNC_ATTRIBUTE void sljit_compiler_verbose(struct sljit_compiler *compiler, FILE* verbose)  in sljit_compiler_verbose()  argument
847 compiler->verbose = verbose; in sljit_compiler_verbose()
863 fprintf(compiler->verbose, "r%d", r - SLJIT_R0); in sljit_verbose_reg()
865 fprintf(compiler->verbose, "s%d", SLJIT_NUMBER_OF_REGISTERS - r); in sljit_verbose_reg()
867 fprintf(compiler->verbose, "sp"); in sljit_verbose_reg()
873 fprintf(compiler->verbose, "fr%d", r - SLJIT_FR0); in sljit_verbose_freg()
875 fprintf(compiler->verbose, "fs%d", SLJIT_NUMBER_OF_FLOAT_REGISTERS - r); in sljit_verbose_freg()
881 fprintf(compiler->verbose, "#%" SLJIT_PRINT_D "d", (i)); in sljit_verbose_param()
884 fputc('[', compiler->verbose); in sljit_verbose_param()
887 fprintf(compiler->verbose, " + "); in sljit_verbose_param()
890 fprintf(compiler->verbose, " * %d", 1 << (i)); in sljit_verbose_param()
893 fprintf(compiler->verbose, " + %" SLJIT_PRINT_D "d", (i)); in sljit_verbose_param()
894 fputc(']', compiler->verbose); in sljit_verbose_param()
897 fprintf(compiler->verbose, "[#%" SLJIT_PRINT_D "d]", (i)); in sljit_verbose_param()
901 fprintf(compiler->verbose, "unused"); in sljit_verbose_param()
908 fputc('[', compiler->verbose); in sljit_verbose_fparam()
911 fprintf(compiler->verbose, " + "); in sljit_verbose_fparam()
914 fprintf(compiler->verbose, "%d", 1 << (i)); in sljit_verbose_fparam()
917 fprintf(compiler->verbose, " + %" SLJIT_PRINT_D "d", (i)); in sljit_verbose_fparam()
918 fputc(']', compiler->verbose); in sljit_verbose_fparam()
921 fprintf(compiler->verbose, "[#%" SLJIT_PRINT_D "d]", (i)); in sljit_verbose_fparam()
1051 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_enter()
1052 …fprintf(compiler->verbose, " enter options:%s args[", (options & SLJIT_F64_ALIGNMENT) ? "f64_alig… in check_sljit_emit_enter()
1056 fprintf(compiler->verbose, "%s", call_arg_names[arg_types & SLJIT_DEF_MASK]); in check_sljit_emit_enter()
1059 fprintf(compiler->verbose, ","); in check_sljit_emit_enter()
1062 fprintf(compiler->verbose, "] scratches:%d saveds:%d fscratches:%d fsaveds:%d local_size:%d\n", in check_sljit_emit_enter()
1102 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_set_context()
1103 …fprintf(compiler->verbose, " set_context options:%s args[", (options & SLJIT_F64_ALIGNMENT) ? "f6… in check_sljit_set_context()
1107 fprintf(compiler->verbose, "%s", call_arg_names[arg_types & SLJIT_DEF_MASK]); in check_sljit_set_context()
1110 fprintf(compiler->verbose, ","); in check_sljit_set_context()
1113 fprintf(compiler->verbose, "] scratches:%d saveds:%d fscratches:%d fsaveds:%d local_size:%d\n", in check_sljit_set_context()
1133 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_return()
1135 fprintf(compiler->verbose, " return\n"); in check_sljit_emit_return()
1137 fprintf(compiler->verbose, " return%s ", op1_names[op - SLJIT_OP1_BASE]); in check_sljit_emit_return()
1139 fprintf(compiler->verbose, "\n"); in check_sljit_emit_return()
1153 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fast_enter()
1154 fprintf(compiler->verbose, " fast_enter "); in check_sljit_emit_fast_enter()
1156 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fast_enter()
1173 if (SLJIT_UNLIKELY(!!compiler->verbose)) in check_sljit_emit_op0()
1175 fprintf(compiler->verbose, " %s", op0_names[GET_OPCODE(op) - SLJIT_OP0_BASE]); in check_sljit_emit_op0()
1177 fprintf(compiler->verbose, (op & SLJIT_I32_OP) ? "32" : "w"); in check_sljit_emit_op0()
1179 fprintf(compiler->verbose, "\n"); in check_sljit_emit_op0()
1227 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_op1()
1230 fprintf(compiler->verbose, " mov%s%s ", !(op & SLJIT_I32_OP) ? "" : "32", in check_sljit_emit_op1()
1235 …fprintf(compiler->verbose, " %s%s%s%s%s ", op1_names[GET_OPCODE(op) - SLJIT_OP1_BASE], !(op & SLJ… in check_sljit_emit_op1()
1241 fprintf(compiler->verbose, ", "); in check_sljit_emit_op1()
1243 fprintf(compiler->verbose, "\n"); in check_sljit_emit_op1()
1304 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_op2()
1305 …fprintf(compiler->verbose, " %s%s%s%s%s ", op2_names[GET_OPCODE(op) - SLJIT_OP2_BASE], !(op & SLJ… in check_sljit_emit_op2()
1309 fprintf(compiler->verbose, ", "); in check_sljit_emit_op2()
1311 fprintf(compiler->verbose, ", "); in check_sljit_emit_op2()
1313 fprintf(compiler->verbose, "\n"); in check_sljit_emit_op2()
1337 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_op_src()
1338 fprintf(compiler->verbose, " %s ", op_src_names[op - SLJIT_OP_SRC_BASE]); in check_sljit_emit_op_src()
1340 fprintf(compiler->verbose, "\n"); in check_sljit_emit_op_src()
1388 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_op_custom()
1389 fprintf(compiler->verbose, " op_custom"); in check_sljit_emit_op_custom()
1391 fprintf(compiler->verbose, " 0x%x", ((sljit_u8*)instruction)[i]); in check_sljit_emit_op_custom()
1392 fprintf(compiler->verbose, "\n"); in check_sljit_emit_op_custom()
1415 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fop1()
1417 fprintf(compiler->verbose, " %s%s ", fop1_names[SLJIT_CONV_F64_FROM_F32 - SLJIT_FOP1_BASE], in check_sljit_emit_fop1()
1420 fprintf(compiler->verbose, " %s%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1()
1424 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop1()
1426 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fop1()
1455 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fop1_cmp()
1456 …fprintf(compiler->verbose, " %s%s", fop1_names[SLJIT_CMP_F64 - SLJIT_FOP1_BASE], (op & SLJIT_F32_… in check_sljit_emit_fop1_cmp()
1458 fprintf(compiler->verbose, ".%s_f", jump_names[GET_FLAG_TYPE(op)]); in check_sljit_emit_fop1_cmp()
1460 fprintf(compiler->verbose, " "); in check_sljit_emit_fop1_cmp()
1462 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop1_cmp()
1464 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fop1_cmp()
1487 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fop1_conv_sw_from_f64()
1488 fprintf(compiler->verbose, " %s%s.from%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1_conv_sw_from_f64()
1492 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop1_conv_sw_from_f64()
1494 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fop1_conv_sw_from_f64()
1517 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fop1_conv_f64_from_sw()
1518 fprintf(compiler->verbose, " %s%s.from%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1_conv_f64_from_sw()
1522 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop1_conv_f64_from_sw()
1524 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fop1_conv_f64_from_sw()
1544 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fop2()
1545 …fprintf(compiler->verbose, " %s%s ", fop2_names[GET_OPCODE(op) - SLJIT_FOP2_BASE], (op & SLJIT_F3… in check_sljit_emit_fop2()
1547 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop2()
1549 fprintf(compiler->verbose, ", "); in check_sljit_emit_fop2()
1551 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fop2()
1571 if (SLJIT_UNLIKELY(!!compiler->verbose)) in check_sljit_emit_label()
1572 fprintf(compiler->verbose, "label:\n"); in check_sljit_emit_label()
1601 if (SLJIT_UNLIKELY(!!compiler->verbose)) in check_sljit_emit_jump()
1602 fprintf(compiler->verbose, " jump%s %s%s\n", !(type & SLJIT_REWRITABLE_JUMP) ? "" : ".r", in check_sljit_emit_jump()
1645 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_call()
1646 fprintf(compiler->verbose, " %s%s ret[%s", jump_names[type & 0xff], in check_sljit_emit_call()
1651 fprintf(compiler->verbose, "], args["); in check_sljit_emit_call()
1653 fprintf(compiler->verbose, "%s", call_arg_names[arg_types & SLJIT_DEF_MASK]); in check_sljit_emit_call()
1656 fprintf(compiler->verbose, ","); in check_sljit_emit_call()
1659 fprintf(compiler->verbose, "]\n"); in check_sljit_emit_call()
1677 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_cmp()
1678 fprintf(compiler->verbose, " cmp%s %s%s, ", !(type & SLJIT_REWRITABLE_JUMP) ? "" : ".r", in check_sljit_emit_cmp()
1681 fprintf(compiler->verbose, ", "); in check_sljit_emit_cmp()
1683 fprintf(compiler->verbose, "\n"); in check_sljit_emit_cmp()
1702 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fcmp()
1703 fprintf(compiler->verbose, " fcmp%s %s%s, ", !(type & SLJIT_REWRITABLE_JUMP) ? "" : ".r", in check_sljit_emit_fcmp()
1706 fprintf(compiler->verbose, ", "); in check_sljit_emit_fcmp()
1708 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fcmp()
1727 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_ijump()
1728 fprintf(compiler->verbose, " ijump.%s ", jump_names[type]); in check_sljit_emit_ijump()
1730 fprintf(compiler->verbose, "\n"); in check_sljit_emit_ijump()
1774 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_icall()
1775 fprintf(compiler->verbose, " i%s%s ret[%s", jump_names[type & 0xff], in check_sljit_emit_icall()
1780 fprintf(compiler->verbose, "], args["); in check_sljit_emit_icall()
1782 fprintf(compiler->verbose, "%s", call_arg_names[arg_types & SLJIT_DEF_MASK]); in check_sljit_emit_icall()
1785 fprintf(compiler->verbose, ","); in check_sljit_emit_icall()
1788 fprintf(compiler->verbose, "], "); in check_sljit_emit_icall()
1790 fprintf(compiler->verbose, "\n"); in check_sljit_emit_icall()
1821 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_op_flags()
1822 fprintf(compiler->verbose, " flags%s %s%s, ", in check_sljit_emit_op_flags()
1827 fprintf(compiler->verbose, ", %s%s\n", jump_names[type & 0xff], JUMP_POSTFIX(type)); in check_sljit_emit_op_flags()
1856 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_cmov()
1857 fprintf(compiler->verbose, " cmov%s %s%s, ", in check_sljit_emit_cmov()
1861 fprintf(compiler->verbose, ", "); in check_sljit_emit_cmov()
1863 fprintf(compiler->verbose, "\n"); in check_sljit_emit_cmov()
1886 if (!(type & SLJIT_MEM_SUPP) && SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_mem()
1888 fprintf(compiler->verbose, " //"); in check_sljit_emit_mem()
1890 fprintf(compiler->verbose, " mem%s.%s%s%s ", in check_sljit_emit_mem()
1896 fprintf(compiler->verbose, ", "); in check_sljit_emit_mem()
1898 fprintf(compiler->verbose, "\n"); in check_sljit_emit_mem()
1918 if (!(type & SLJIT_MEM_SUPP) && SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_fmem()
1920 fprintf(compiler->verbose, " //"); in check_sljit_emit_fmem()
1922 fprintf(compiler->verbose, " fmem.%s%s%s ", in check_sljit_emit_fmem()
1927 fprintf(compiler->verbose, ", "); in check_sljit_emit_fmem()
1929 fprintf(compiler->verbose, "\n"); in check_sljit_emit_fmem()
1944 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_get_local_base()
1945 fprintf(compiler->verbose, " local_base "); in check_sljit_get_local_base()
1947 fprintf(compiler->verbose, ", #%" SLJIT_PRINT_D "d\n", offset); in check_sljit_get_local_base()
1961 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_const()
1962 fprintf(compiler->verbose, " const "); in check_sljit_emit_const()
1964 fprintf(compiler->verbose, ", #%" SLJIT_PRINT_D "d\n", init_value); in check_sljit_emit_const()
1976 if (SLJIT_UNLIKELY(!!compiler->verbose)) { in check_sljit_emit_put_label()
1977 fprintf(compiler->verbose, " put_label "); in check_sljit_emit_put_label()
1979 fprintf(compiler->verbose, "\n"); in check_sljit_emit_put_label()
2323 SLJIT_API_FUNC_ATTRIBUTE void sljit_compiler_verbose(struct sljit_compiler *compiler, FILE* verbose) in sljit_compiler_verbose() argument
2326 SLJIT_UNUSED_ARG(verbose); in sljit_compiler_verbose()