Lines Matching refs:j

234 	int j, blocks_count = ssa->cfg.blocks_count;  in place_essa_pis()  local
235 for (j = 0; j < blocks_count; j++) { in place_essa_pis()
237 zend_op *opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in place_essa_pis()
241 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0 || blocks[j].len == 0) { in place_essa_pis()
250 bf = blocks[j].successors[0]; in place_essa_pis()
251 bt = blocks[j].successors[1]; in place_essa_pis()
254 bt = blocks[j].successors[0]; in place_essa_pis()
255 bf = blocks[j].successors[1]; in place_essa_pis()
342 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var1))) { in place_essa_pis()
345 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var1))) { in place_essa_pis()
349 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var1))) { in place_essa_pis()
352 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var1))) { in place_essa_pis()
357 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var1))) { in place_essa_pis()
361 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var1))) { in place_essa_pis()
365 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var1))) { in place_essa_pis()
369 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var1))) { in place_essa_pis()
377 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var2))) { in place_essa_pis()
380 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var2))) { in place_essa_pis()
384 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var2))) { in place_essa_pis()
387 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var2))) { in place_essa_pis()
392 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var2))) { in place_essa_pis()
396 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var2))) { in place_essa_pis()
400 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var2))) { in place_essa_pis()
404 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var2))) { in place_essa_pis()
418 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
421 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
425 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
428 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
439 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
443 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
450 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
456 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
485 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
488 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
492 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { in place_essa_pis()
495 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
512 if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { in place_essa_pis()
527 int i, j; in zend_ssa_rename() local
794 for (j = 0; j < blocks[succ].predecessors_count; j++) { in zend_ssa_rename()
795 p->sources[j] = var[p->var]; in zend_ssa_rename()
803 for (j = 0; j < blocks[succ].predecessors_count; j++) in zend_ssa_rename()
804 if (ssa->cfg.predecessors[blocks[succ].predecessor_offset + j] == n) { in zend_ssa_rename()
807 ZEND_ASSERT(j < blocks[succ].predecessors_count); in zend_ssa_rename()
808 p->sources[j] = var[p->var]; in zend_ssa_rename()
816 for (j = 0; j < blocks[succ].predecessors_count; j++) { in zend_ssa_rename()
817 if (ssa->cfg.predecessors[blocks[succ].predecessor_offset + j] == n) { in zend_ssa_rename()
821 ZEND_ASSERT(j < blocks[succ].predecessors_count); in zend_ssa_rename()
822 q->sources[j] = p->ssa_var; in zend_ssa_rename()
833 j = blocks[n].children; in zend_ssa_rename()
834 while (j >= 0) { in zend_ssa_rename()
836 if (zend_ssa_rename(op_array, build_flags, ssa, var, j) != SUCCESS) in zend_ssa_rename()
838 j = blocks[j].next_child; in zend_ssa_rename()
857 int i, j, k, changed; in zend_build_ssa() local
907 for (j = 0; j < blocks_count; j++) { in zend_build_ssa()
908 zend_bitset def_j = def + j * set_size, phi_j = phi + j * set_size; in zend_build_ssa()
909 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_ssa()
912 if (blocks[j].predecessors_count > 1) { in zend_build_ssa()
913 if (blocks[j].flags & ZEND_BB_IRREDUCIBLE_LOOP) { in zend_build_ssa()
917 zend_bitset_union(phi_j, in + (j * set_size), set_size); in zend_build_ssa()
919 for (k = 0; k < blocks[j].predecessors_count; k++) { in zend_build_ssa()
920 i = ssa->cfg.predecessors[blocks[j].predecessor_offset + k]; in zend_build_ssa()
921 while (i != -1 && i != blocks[j].idom) { in zend_build_ssa()
923 phi_j, phi_j, def + (i * set_size), in + (j * set_size), set_size); in zend_build_ssa()
943 for (j = 0; j < blocks_count; j++) { in zend_build_ssa()
944 if ((blocks[j].flags & ZEND_BB_REACHABLE) == 0) { in zend_build_ssa()
947 if (!zend_bitset_empty(phi + j * set_size, set_size)) { in zend_build_ssa()
948 ZEND_BITSET_REVERSE_FOREACH(phi + j * set_size, set_size, i) { in zend_build_ssa()
951 ZEND_MM_ALIGNED_SIZE(sizeof(int) * blocks[j].predecessors_count) + in zend_build_ssa()
952 sizeof(void*) * blocks[j].predecessors_count); in zend_build_ssa()
955 memset(phi->sources, 0xff, sizeof(int) * blocks[j].predecessors_count); in zend_build_ssa()
956 …(((char*)phi->sources) + ZEND_MM_ALIGNED_SIZE(sizeof(int) * ssa->cfg.blocks[j].predecessors_count)… in zend_build_ssa()
964 zend_ssa_phi **pp = &ssa_blocks[j].phis; in zend_build_ssa()
987 for (j = 0; j < op_array->last_var; j++) { in zend_build_ssa()
988 var[j] = j; in zend_build_ssa()
1085 int j; in zend_ssa_compute_use_def_chains() local
1087 for (j = 0; j < ssa->cfg.blocks[i].predecessors_count; j++) { in zend_ssa_compute_use_def_chains()
1088 if (phi->sources[j] >= 0) { in zend_ssa_compute_use_def_chains()
1089 zend_ssa_phi *p = ssa_vars[phi->sources[j]].phi_use_chain; in zend_ssa_compute_use_def_chains()
1091 p = zend_ssa_next_use_phi(ssa, phi->sources[j], p); in zend_ssa_compute_use_def_chains()
1094 phi->use_chains[j] = ssa_vars[phi->sources[j]].phi_use_chain; in zend_ssa_compute_use_def_chains()
1095 ssa_vars[phi->sources[j]].phi_use_chain = phi; in zend_ssa_compute_use_def_chains()