Lines Matching refs:j
45 ir_ref n, j, *p; in ir_check_use_list() local
49 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < n; j++, p++) { in ir_check_use_list()
60 ir_ref n, j, *p; in ir_check_input_list() local
63 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check_input_list()
91 ir_ref i, j, n, *p, use; in ir_check() local
105 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check()
110 fprintf(stderr, "ir_base[%d].ops[%d] constant reference (%d) is out of range\n", i, j, use); in ir_check()
115 fprintf(stderr, "ir_base[%d].ops[%d] insn reference (%d) is out of range\n", i, j, use); in ir_check()
119 switch (IR_OPND_KIND(flags, j)) { in ir_check()
124 fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must be DATA\n", i, j, use); in ir_check()
131 fprintf(stderr, "ir_base[%d].ops[%d] invalid forward reference (%d)\n", i, j, use); in ir_check()
137 if (j == 1) { in ir_check()
167 if (j == 2 in ir_check()
187 i, j, use, use_insn->type, insn->type); in ir_check()
197 fprintf(stderr, "ir_base[%d].ops[%d] -> %d, %d doesn't dominate %d\n", i, j, use, use, i); in ir_check()
204 fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must be BB_END\n", i, j, use); in ir_check()
209 fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must not be BB_END\n", i, j, use); in ir_check()
218 fprintf(stderr, "ir_base[%d].ops[%d] invalid forward reference (%d)\n", i, j, use); in ir_check()
223 … fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must be MERGE or LOOP_BEGIN\n", i, j, use); in ir_check()
230 fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) must be CONTROL\n", i, j, use); in ir_check()
235 fprintf(stderr, "ir_base[%d].ops[%d] reference (%d) of unsupported kind\n", i, j, use); in ir_check()
239 } else if ((insn->op == IR_RETURN || insn->op == IR_UNREACHABLE) && j == 2) { in ir_check()
241 } else if (insn->op == IR_BEGIN && j == 1) { in ir_check()
243 } else if (IR_OPND_KIND(flags, j) != IR_OPND_CONTROL_REF in ir_check()
244 && (insn->op != IR_SNAPSHOT || j == 1)) { in ir_check()
245 fprintf(stderr, "ir_base[%d].ops[%d] missing reference (%d)\n", i, j, use); in ir_check()
251 fprintf(stderr, "ir_base[%d].ops[%d] is not in use list (%d)\n", i, j, use); in ir_check()
300 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < use_list->count; j++, p++) { in ir_check()
342 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < use_list->count; j++, p++) { in ir_check()